org.objectweb.dream.protocol.rpc
Class ReplyChunk

java.lang.Object
  extended by org.objectweb.dream.message.AbstractChunk<ReplyChunk>
      extended by org.objectweb.dream.protocol.rpc.ReplyChunk
All Implemented Interfaces:
Externalizable, Serializable, Recyclable

public class ReplyChunk
extends AbstractChunk<ReplyChunk>

See Also:
Serialized Form

Field Summary
static String DEFAULT_NAME
          The default name of chunks of this type.
 
Constructor Summary
ReplyChunk()
          Default constructor.
 
Method Summary
 long getInvocationId()
           
 Object getReply()
           
 Throwable getThrowable()
           
 ReplyChunk newChunk()
           
 void readExternal(ObjectInput in)
           
 void recycle()
           
 void setInvocationId(long invocationId)
           
 void setReply(Object reply)
           
 void setThrowable(Throwable throwable)
           
 void transfertStateTo(ReplyChunk chunk)
           
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class org.objectweb.dream.message.AbstractChunk
getReference, setReference
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_NAME

public static final String DEFAULT_NAME
The default name of chunks of this type.

See Also:
Constant Field Values
Constructor Detail

ReplyChunk

public ReplyChunk()
Default constructor.

Method Detail

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.