org.objectweb.dream.protocol.rpc
Class InvocationChunk
java.lang.Object
org.objectweb.dream.message.AbstractChunk<InvocationChunk>
org.objectweb.dream.protocol.rpc.InvocationChunk
- All Implemented Interfaces:
- Externalizable, Serializable, Recyclable
public final class InvocationChunk
- extends AbstractChunk<InvocationChunk>
- See Also:
- Serialized Form
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
EMPTY_OBJECT_ARRAY
public static final Object[] EMPTY_OBJECT_ARRAY
- A constant empty object array.
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.