org.objectweb.dream.protocol.rpc
Class InvocationChunk

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

public final class InvocationChunk
extends AbstractChunk<InvocationChunk>

See Also:
Serialized Form

Field Summary
static String DEFAULT_NAME
          The default name of chunks of this type.
static Object[] EMPTY_OBJECT_ARRAY
          A constant empty object array.
 
Method Summary
 long getInvocationId()
           
 int getMethodId()
           
 Object[] getParameters()
           
 InvocationChunk newChunk()
           
 void readExternal(ObjectInput in)
           
 void recycle()
           
 void setInvocationId(long invocationId)
           
 void setMethodId(int methodId)
           
 void setParameters(Object[] parameters)
           
 void transfertStateTo(InvocationChunk 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

EMPTY_OBJECT_ARRAY

public static final Object[] EMPTY_OBJECT_ARRAY
A constant empty object array.

Method Detail

getInvocationId

public long getInvocationId()
Returns:
Returns the invocationId.

setInvocationId

public void setInvocationId(long invocationId)
Parameters:
invocationId - The invocationId to set.

getMethodId

public int getMethodId()
Returns:
Returns the methodId.

setMethodId

public void setMethodId(int methodId)
Parameters:
methodId - The methodId to set.

getParameters

public Object[] getParameters()
Returns:
Returns the parameters.

setParameters

public void setParameters(Object[] parameters)
Parameters:
parameters - The parameters to set.

newChunk

public InvocationChunk newChunk()
Specified by:
newChunk in class AbstractChunk<InvocationChunk>
See Also:
AbstractChunk.newChunk()

transfertStateTo

public void transfertStateTo(InvocationChunk chunk)
Specified by:
transfertStateTo in class AbstractChunk<InvocationChunk>
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(ObjectOutput)


Copyright © 2003, 2005 - INRIA Rhone-Alpes - All Rights Reserved.