org.objectweb.dream.pushwithreturn
Class KeyChunkImpl
java.lang.Object
org.objectweb.dream.message.AbstractChunk
org.objectweb.dream.pushwithreturn.KeyChunkImpl
- All Implemented Interfaces:
- Chunk, Cloneable, Externalizable, KeyChunk, Recyclable, Serializable
- public class KeyChunkImpl
- extends AbstractChunk
- implements KeyChunk, Externalizable
Basic implementation of the KeyChunk
interface.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KeyChunkImpl
public KeyChunkImpl()
getKey
public Key getKey()
- Description copied from interface:
KeyChunk
- Returns the key of this chunk.
- Specified by:
getKey
in interface KeyChunk
- Returns:
- the key of this chunk.
- See Also:
KeyChunk.getKey()
setKey
public void setKey(Key key)
- Description copied from interface:
KeyChunk
- Sets the key of this chunk.
- Specified by:
setKey
in interface KeyChunk
- Parameters:
key
- the key to be set.- See Also:
KeyChunk.setKey(Key)
getType
public ChunkType getType()
- Specified by:
getType
in interface Chunk
- See Also:
Chunk.getType()
transfertState
public void transfertState(Chunk newInstance)
- Specified by:
transfertState
in interface Chunk
- See Also:
Chunk.transfertState(org.objectweb.dream.message.Chunk)
recycle
public void recycle()
- Specified by:
recycle
in interface Recyclable
- See Also:
Recyclable.recycle()
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.