mam.internetworking.messages
Class WrappedObjectMessage

mam.internetworking.messages.RoutableMessage
  |
  +--mam.internetworking.messages.WrappedObjectMessage

public class WrappedObjectMessage
extends RoutableMessage


Field Summary
 (package private) Serializablem_cargo
           

Fields inherited from class mam.internetworking.messages.RoutableMessage
DEFAULT_TIME_TO_LIVE, m_desKeyData, m_destination, m_id, m_message, m_signature, m_sourceAddress, m_sourcePort, m_sourceUrl, m_timeToLive, m_type, TYPE_ROUTES_QUERY_MESSAGE, TYPE_ROUTES_UPDATE_MESSAGE, TYPE_TEST_ROUTABLE_MESSAGE, TYPE_WRAPPED_OBJECT_MESSAGE

Constructor Summary
WrappedObjectMessage(RoutingTag destination, Serializable cargo)
           

Method Summary
 SerializablegetCargo()
           
 voidsetCargo(Serializable cargo)
           
 StringtoDebugString()
           

Methods inherited from class mam.internetworking.messages.RoutableMessage
getDestination, getId, getMessage, getSignature, getSourceAddress, getSourcePort, getSourceUrl, getType, setDestination, setMessage, setSource, setType

Field Detail

m_cargo

Serializable m_cargo
Constructor Detail

WrappedObjectMessage

public WrappedObjectMessage(RoutingTag destination, Serializable cargo)
Method Detail

getCargo

public Serializable getCargo()

setCargo

public void setCargo(Serializable cargo)

toDebugString

public String toDebugString()