org.iids.aos.agent.proxy
Class AgentProxyMessage
java.lang.Object
org.iids.aos.agent.proxy.AgentProxyMessage
- All Implemented Interfaces:
- java.io.Serializable
public class AgentProxyMessage
- extends java.lang.Object
- implements java.io.Serializable
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AgentProxyMessage
public AgentProxyMessage()
AgentProxyMessage
public AgentProxyMessage(int msgId,
java.lang.String meth,
AgentHandle replyTo,
java.io.Serializable... contents)
buildReply
public AgentProxyMessage buildReply(java.io.Serializable replyData)
buildExceptionReply
public AgentProxyMessage buildExceptionReply(java.lang.Exception e)
createStopMessage
public static AgentProxyMessage createStopMessage(AgentHandle replyTo)
getMsgType
public AgentProxyMessage.MsgType getMsgType()
getMsgId
public int getMsgId()
getMethodName
public java.lang.String getMethodName()
getContents
public java.io.Serializable[] getContents()
setReplyTo
public void setReplyTo(AgentHandle replyTo)
getReplyTo
public AgentHandle getReplyTo()
toString
public java.lang.String toString()
- The object implements the readExternal method to restore its
contents by calling the methods of DataInput for primitive
types and readObject for objects, strings and arrays. The
readExternal method must read the values in the same sequence
and with the same types as were written by writeExternal.
- Overrides:
toString in class java.lang.Object
- Parameters:
in - the stream to read data from in order to restore the object
- Throws:
java.io.IOException - if I/O errors occur
java.lang.ClassNotFoundException - If the class for an object being
restored cannot be found.
Copyright © 2003, 2004 IIDS Group. All Rights Reserved.