|
||||||||||
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. |
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. |
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 |
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 SessionConfig getSenderConfig()
public void setSenderConfig(SessionConfig config)
public long getExpiration()
public void setExpiration(long e)
public int getFlags()
public void setFlags(int f)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |