diff options
author | Florian Dold <florian.dold@gmail.com> | 2014-04-08 10:00:26 +0000 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2014-04-08 10:00:26 +0000 |
commit | f0b4e83a0673b23eaec877f35caf95758af9a96e (patch) | |
tree | d3b904986e4129a6d49729df9f8370b6da703428 /src/main/java/org/gnunet/core/messages/InitMessage.java | |
parent | 03ae3147a0ea8aa13ab38cf204235721db3987e0 (diff) | |
download | gnunet-java-f0b4e83a0673b23eaec877f35caf95758af9a96e.tar.gz gnunet-java-f0b4e83a0673b23eaec877f35caf95758af9a96e.zip |
fix rename chaos caused be IntelliJ
Diffstat (limited to 'src/main/java/org/gnunet/core/messages/InitMessage.java')
-rw-r--r-- | src/main/java/org/gnunet/core/messages/InitMessage.java | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/src/main/java/org/gnunet/core/messages/InitMessage.java b/src/main/java/org/gnunet/core/messages/InitMessage.java new file mode 100644 index 0000000..007d000 --- /dev/null +++ b/src/main/java/org/gnunet/core/messages/InitMessage.java | |||
@@ -0,0 +1,45 @@ | |||
1 | /* | ||
2 | This file is part of GNUnet. | ||
3 | (C) 2011, 2012 Christian Grothoff (and other contributing authors) | ||
4 | |||
5 | GNUnet is free software; you can redistribute it and/or modify | ||
6 | it under the terms of the GNU General Public License as published | ||
7 | by the Free Software Foundation; either version 3, or (at your | ||
8 | option) any later version. | ||
9 | |||
10 | GNUnet is distributed in the hope that it will be useful, but | ||
11 | WITHOUT ANY WARRANTY; without even the implied warranty of | ||
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
13 | General Public License for more details. | ||
14 | |||
15 | You should have received a copy of the GNU General Public License | ||
16 | along with GNUnet; see the file COPYING. If not, write to the | ||
17 | Free Software Foundation, Inc., 59 Temple Place - Suite 330, | ||
18 | Boston, MA 02111-1307, USA. | ||
19 | */ | ||
20 | |||
21 | package org.gnunet.core.messages; | ||
22 | |||
23 | import org.gnunet.construct.IntegerFill; | ||
24 | import org.gnunet.construct.UInt32; | ||
25 | import org.gnunet.construct.UnionCase; | ||
26 | import org.gnunet.util.GnunetMessage; | ||
27 | |||
28 | |||
29 | @UnionCase(64) | ||
30 | public class InitMessage implements GnunetMessage.Body { | ||
31 | /* | ||
32 | * Options used to tell core what kind of traffic notify messages we are interested in. | ||
33 | */ | ||
34 | private final static int | ||
35 | OPTION_FULL_INBOUND = 8, | ||
36 | OPTION_HDR_INBOUND = 16, | ||
37 | OPTION_FULL_OUTBOUND = 32, | ||
38 | OPTION_HDR_OUTBOUND = 64; | ||
39 | |||
40 | @UInt32 | ||
41 | public long options; | ||
42 | |||
43 | @IntegerFill(signed = false, bitSize = 16) | ||
44 | public int[] interested; | ||
45 | } | ||