mam.internetworking.messages
Class RoutableMessage
- Direct Known Subclasses:
- RoutesQueryMessage, RoutesUpdateMessage, WrappedObjectMessage
- public class RoutableMessage
- implements Serializable
DEFAULT_TIME_TO_LIVE
public final static int DEFAULT_TIME_TO_LIVE
m_desKeyData
protected byte[] m_desKeyData
m_destination
protected RoutingTag m_destination
m_id
MamId m_id
m_message
protected byte[] m_message
m_signature
protected byte[] m_signature
m_sourceAddress
InetAddress m_sourceAddress
m_sourcePort
int m_sourcePort
m_sourceUrl
URL m_sourceUrl
m_timeToLive
int m_timeToLive
m_type
protected int m_type
TYPE_ROUTES_QUERY_MESSAGE
public final static int TYPE_ROUTES_QUERY_MESSAGE
TYPE_ROUTES_UPDATE_MESSAGE
public final static int TYPE_ROUTES_UPDATE_MESSAGE
TYPE_TEST_ROUTABLE_MESSAGE
public final static int TYPE_TEST_ROUTABLE_MESSAGE
TYPE_WRAPPED_OBJECT_MESSAGE
public final static int TYPE_WRAPPED_OBJECT_MESSAGE
getDestination
public RoutingTag getDestination()
getId
public MamId getId()
getMessage
public byte[] getMessage()
getSignature
public byte[] getSignature()
getSourceAddress
public InetAddress getSourceAddress()
getSourcePort
public int getSourcePort()
getSourceUrl
public URL getSourceUrl()
getType
public int getType()
setDestination
protected void setDestination(RoutingTag destination)
setMessage
public void setMessage(byte[] message)
setSource
public void setSource(URL sourceUrl, InetAddress sourceAddress, int sourcePort)
setType
protected void setType(int type)
toDebugString
public String toDebugString()