aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/gnunet/testbed/ControllerInitMessage.java
blob: 95114d7abea9233ce520936556eb9767959679ca (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
25
26
27
28
29
30
package org.gnunet.testbed;


import org.gnunet.construct.UInt32;
import org.gnunet.construct.UInt64;
import org.gnunet.construct.UnionCase;
import org.gnunet.construct.ZeroTerminatedString;
import org.gnunet.util.GnunetMessage;

@UnionCase(460)
public class ControllerInitMessage implements GnunetMessage.Body {
    /**
     * Host ID that the controller is either given (if this is the
     * dominating client) or assumed to have (for peer-connections
     * between controllers).  A controller must check that all
     * connections make consistent claims...
     */
    @UInt32
    public int host_id;

    /**
     * Event mask that specifies which events this client is interested in.
     */
    @UInt64
    public long event_mask;

    @ZeroTerminatedString
    public String controler_hostname;

}