org.objectweb.dream.pushwithreturn
Class KeyChunk
java.lang.Object
org.objectweb.dream.message.AbstractChunk<KeyChunk>
org.objectweb.dream.pushwithreturn.KeyChunk
- All Implemented Interfaces:
- Externalizable, Serializable, Recyclable
public class KeyChunk
- extends AbstractChunk<KeyChunk>
Chunk for messages containing a key.
- See Also:
Key
,
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 for chunks of this type
- See Also:
- Constant Field Values
KeyChunk
public KeyChunk()
getKey
public Key getKey()
- Returns the key of this chunk.
- Returns:
- the key of this chunk.
setKey
public void setKey(Key key)
- Sets the key of this chunk.
- Parameters:
key
- the key to be set.
transfertStateTo
public void transfertStateTo(KeyChunk newInstance)
- Specified by:
transfertStateTo
in class AbstractChunk<KeyChunk>
- See Also:
AbstractChunk.transfertStateTo(AbstractChunk)
newChunk
public KeyChunk newChunk()
- Specified by:
newChunk
in class AbstractChunk<KeyChunk>
- See Also:
AbstractChunk.newChunk()
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.