net.i2p.router
public class ClientMessage extends Object
Constructor and Description |
---|
ClientMessage() |
Modifier and Type | Method and Description |
---|---|
Destination |
getDestination()
Retrieve the destination to which this message is directed.
|
Hash |
getDestinationHash()
Retrieve the destination to which this message is directed.
|
long |
getExpiration()
Expiration requested by the client that sent the message.
|
int |
getFlags()
Flags requested by the client that sent the message.
|
Destination |
getFromDestination() |
MessageId |
getMessageId() |
Payload |
getPayload()
Retrieve the payload of the message.
|
MessageReceptionInfo |
getReceptionInfo()
Retrieve the information regarding how the router received this message.
|
SessionConfig |
getSenderConfig()
Retrieve the session config of the client that sent the message.
|
void |
setDestination(Destination dest) |
void |
setDestinationHash(Hash dest) |
void |
setExpiration(long e) |
void |
setFlags(int f) |
void |
setFromDestination(Destination dest) |
void |
setMessageId(MessageId id) |
void |
setPayload(Payload payload) |
void |
setReceptionInfo(MessageReceptionInfo info) |
void |
setSenderConfig(SessionConfig config) |
public Payload getPayload()
public void setPayload(Payload payload)
public Destination getDestination()
public void setDestination(Destination dest)
public Destination getFromDestination()
public void setFromDestination(Destination dest)
public Hash getDestinationHash()
public void setDestinationHash(Hash dest)
public MessageId getMessageId()
public void setMessageId(MessageId id)
public MessageReceptionInfo getReceptionInfo()
public void setReceptionInfo(MessageReceptionInfo info)
public SessionConfig getSenderConfig()
public void setSenderConfig(SessionConfig config)
public long getExpiration()
public void setExpiration(long e)
public int getFlags()
public void setFlags(int f)