kaos.cougaar.clik.comm
Class SAFEMessage
java.lang.Object
Message
kaos.cougaar.clik.comm.SAFEMessage
- All Implemented Interfaces:
- java.io.Serializable
public class SAFEMessage
- extends Message
- implements java.io.Serializable
A SAFEMessage extends Cougaar's base Message class to enable sending
a single serializable object inside the Message
Constructor Summary |
SAFEMessage()
|
SAFEMessage(MessageAddress s,
MessageAddress d,
java.io.Serializable contents)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SAFEMessage
public SAFEMessage()
SAFEMessage
public SAFEMessage(MessageAddress s,
MessageAddress d,
java.io.Serializable contents)
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Throws:
java.io.IOException
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
getContents
public java.lang.Object getContents()