aboutsummaryrefslogtreecommitdiff
path: root/src/org/gnunet/mesh/ClientConnectMessage.java
blob: 3a09373e81003158d38127aee29771823a1634ea (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
package org.gnunet.mesh;

import org.gnunet.construct.FixedSizeArray;
import org.gnunet.construct.UInt16;
import org.gnunet.construct.UnionCase;
import org.gnunet.construct.VariableSizeArray;
import org.gnunet.util.GnunetMessage;

/**
 * ...
 *
 * @author Florian Dold
 */
@UnionCase(272)
public class ClientConnectMessage implements GnunetMessage.Body {
    @UInt16
    public int applications;
    @UInt16
    public int types;
    @VariableSizeArray(lengthField = "applications")
    public int[] apps_list;
    @VariableSizeArray(lengthField = "types")
    public int[] types_list;
}