org.objectweb.dream.protocol.rpc
Class ReplyChunk
java.lang.Object
org.objectweb.dream.message.AbstractChunk<ReplyChunk>
org.objectweb.dream.protocol.rpc.ReplyChunk
- All Implemented Interfaces:
- Externalizable, Serializable, Recyclable
public class ReplyChunk
- extends AbstractChunk<ReplyChunk>
- See Also:
- Serialized Form
Constructor Summary |
ReplyChunk()
Default constructor. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_NAME
public static final String DEFAULT_NAME
- The default name of chunks of this type.
- See Also:
- Constant Field Values
ReplyChunk
public ReplyChunk()
- Default constructor.
getInvocationId
public long getInvocationId()
- Returns:
- Returns the invocationId.
setInvocationId
public void setInvocationId(long invocationId)
- Parameters:
invocationId
- The invocationId to set.
getReply
public Object getReply()
- Returns:
- Returns the reply.
setReply
public void setReply(Object reply)
- Parameters:
reply
- The reply to set.
getThrowable
public Throwable getThrowable()
- Returns:
- Returns the throwable.
setThrowable
public void setThrowable(Throwable throwable)
- Parameters:
throwable
- The throwable to set.
newChunk
public ReplyChunk newChunk()
- Specified by:
newChunk
in class AbstractChunk<ReplyChunk>
- See Also:
AbstractChunk.newChunk()
transfertStateTo
public void transfertStateTo(ReplyChunk chunk)
- Specified by:
transfertStateTo
in class AbstractChunk<ReplyChunk>
- See Also:
AbstractChunk.transfertStateTo(AbstractChunk)
recycle
public void recycle()
- See Also:
Recyclable.recycle()
readExternal
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
- Throws:
IOException
ClassNotFoundException
- See Also:
Externalizable.readExternal(ObjectInput)
writeExternal
public void writeExternal(ObjectOutput out)
throws IOException
- Throws:
IOException
- See Also:
Externalizable.writeExternal(java.io.ObjectOutput)
Copyright © 2003, 2005 - INRIA Rhone-Alpes - All Rights Reserved.