aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/gnunet/mesh/TunnelCreateMessage.java
blob: 84ea03570f86e6138f43f55ce5c0d4c9ba313762 (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
package org.gnunet.mesh;

import org.gnunet.construct.NestedMessage;
import org.gnunet.construct.UInt32;
import org.gnunet.construct.UnionCase;
import org.gnunet.util.GnunetMessage;
import org.gnunet.util.PeerIdentity;

/**
 * FIXME
 *
 * @author Florian Dold
 */
@UnionCase(273)
public class TunnelCreateMessage implements GnunetMessage.Body {
    @UInt32
    public long tunnel_id;

    @NestedMessage(optional = false)
    public PeerIdentity otherEnd;

    @UInt32
    public int port;

    @UInt32
    public int opt;
}