org.objectweb.dream.protocol
Class ArrowChunkImpl
java.lang.Object
org.objectweb.dream.message.AbstractChunk
org.objectweb.dream.protocol.ArrowChunkImpl
- All Implemented Interfaces:
- ArrowChunk, Chunk, Cloneable, Externalizable, Recyclable, Serializable
- public class ArrowChunkImpl
- extends AbstractChunk
- implements ArrowChunk, Chunk, Externalizable
A basic Chunk interface that defines an arrow from a source process to a
destination process.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ArrowChunkImpl
public ArrowChunkImpl()
getProcessIdFrom
public short getProcessIdFrom()
- Description copied from interface:
ArrowChunk
- Returns the identifier of the sender process.
- Specified by:
getProcessIdFrom
in interface ArrowChunk
- Returns:
- the identifier of the sender process.
- See Also:
ArrowChunk.getProcessIdFrom()
setProcessIdFrom
public void setProcessIdFrom(short from)
- Description copied from interface:
ArrowChunk
- Sets the identifier of the sender process.
- Specified by:
setProcessIdFrom
in interface ArrowChunk
- Parameters:
from
- the identifier of the sender process.- See Also:
ArrowChunk.setProcessIdFrom(short)
getProcessIdTo
public short getProcessIdTo()
- Description copied from interface:
ArrowChunk
- Returns the identifier of the receiver process.
- Specified by:
getProcessIdTo
in interface ArrowChunk
- Returns:
- the identifier of the receiver process.
- See Also:
ArrowChunk.getProcessIdTo()
setProcessIdTo
public void setProcessIdTo(short to)
- Description copied from interface:
ArrowChunk
- Sets the identifier of the receiver process.
- Specified by:
setProcessIdTo
in interface ArrowChunk
- Parameters:
to
- the identifier of the receiver process.- See Also:
ArrowChunk.setProcessIdTo(short)
getType
public ChunkType getType()
- Specified by:
getType
in interface Chunk
- See Also:
Chunk.getType()
recycle
public void recycle()
- Specified by:
recycle
in interface Recyclable
- See Also:
Recyclable.recycle()
transfertState
public void transfertState(Chunk newInstance)
- Specified by:
transfertState
in interface Chunk
- See Also:
Chunk.transfertState(Chunk)
readExternal
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
- Specified by:
readExternal
in interface Externalizable
- Throws:
IOException
ClassNotFoundException
- See Also:
Externalizable.readExternal(ObjectInput)
writeExternal
public void writeExternal(ObjectOutput out)
throws IOException
- Specified by:
writeExternal
in interface Externalizable
- Throws:
IOException
- See Also:
Externalizable.writeExternal(ObjectOutput)
Copyright © 2003, 2004 - INRIA Rhone-Alpes - All Rights Reserved.