|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.i2p.router.ClientMessage
public class ClientMessage
Wrap a message either destined for a local client or received from one.
Constructor Summary | |
---|---|
ClientMessage()
|
Method Summary | |
---|---|
Destination |
getDestination()
Retrieve the destination to which this message is directed. |
Hash |
getDestinationHash()
Retrieve the destination to which this message is directed. |
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 |
setFromDestination(Destination dest)
|
void |
setMessageId(MessageId id)
|
void |
setPayload(Payload payload)
|
void |
setReceptionInfo(MessageReceptionInfo info)
|
void |
setSenderConfig(SessionConfig config)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ClientMessage()
Method Detail |
---|
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)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |