diff options
Diffstat (limited to 'src/main/java/org/gnunet/testbed/ControllerInitMessage.java')
-rw-r--r-- | src/main/java/org/gnunet/testbed/ControllerInitMessage.java | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/src/main/java/org/gnunet/testbed/ControllerInitMessage.java b/src/main/java/org/gnunet/testbed/ControllerInitMessage.java new file mode 100644 index 0000000..95114d7 --- /dev/null +++ b/src/main/java/org/gnunet/testbed/ControllerInitMessage.java | |||
@@ -0,0 +1,30 @@ | |||
1 | package org.gnunet.testbed; | ||
2 | |||
3 | |||
4 | import org.gnunet.construct.UInt32; | ||
5 | import org.gnunet.construct.UInt64; | ||
6 | import org.gnunet.construct.UnionCase; | ||
7 | import org.gnunet.construct.ZeroTerminatedString; | ||
8 | import org.gnunet.util.GnunetMessage; | ||
9 | |||
10 | @UnionCase(460) | ||
11 | public class ControllerInitMessage implements GnunetMessage.Body { | ||
12 | /** | ||
13 | * Host ID that the controller is either given (if this is the | ||
14 | * dominating client) or assumed to have (for peer-connections | ||
15 | * between controllers). A controller must check that all | ||
16 | * connections make consistent claims... | ||
17 | */ | ||
18 | @UInt32 | ||
19 | public int host_id; | ||
20 | |||
21 | /** | ||
22 | * Event mask that specifies which events this client is interested in. | ||
23 | */ | ||
24 | @UInt64 | ||
25 | public long event_mask; | ||
26 | |||
27 | @ZeroTerminatedString | ||
28 | public String controler_hostname; | ||
29 | |||
30 | } | ||