aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/gnunet/transport/AddressIterateMessage.java
blob: 59ea6a89a2e1dd44a6bc33b392502e2b2a90ab33 (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
31
32
33
34
package org.gnunet.transport;


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


/**
 * Message from the client to the transport service
 * asking for binary addresses known for a peer.
 */
@UnionCase(380)
public class AddressIterateMessage {
    /**
     * One shot call or continous replies?
     */
    @UInt32
    public int one_shot;

    /**
     * FIXME: This field seems to be deprecated in the C API?
     */
    @NestedMessage
    public AbsoluteTime timeout;

    /**
     * The identity of the peer to look up.
     */
    @NestedMessage
    public PeerIdentity peer;
}