org.objectweb.dream.serializator
Class ByteArrayChunk
java.lang.Object
org.objectweb.dream.message.AbstractChunk<ByteArrayChunk>
org.objectweb.dream.serializator.ByteArrayChunk
- All Implemented Interfaces:
- Externalizable, Serializable, Recyclable
public class ByteArrayChunk
- extends AbstractChunk<ByteArrayChunk>
Chunk containing a byte array.
- 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 for chunks of this type.
- See Also:
- Constant Field Values
byteArray
protected byte[] byteArray
- The byte array.
ByteArrayChunk
public ByteArrayChunk()
getByteArray
public byte[] getByteArray()
- Returns the byte array contained in this chunk.
- Returns:
- the byte array contained in this chunk.
setByteArray
public void setByteArray(byte[] byteArray)
- Sets the byte array contained in this chunk.
- Parameters:
byteArray
- the array contained in this chunk.
transfertStateTo
public void transfertStateTo(ByteArrayChunk newInstance)
- Specified by:
transfertStateTo
in class AbstractChunk<ByteArrayChunk>
- See Also:
AbstractChunk.transfertStateTo(AbstractChunk)
newChunk
public ByteArrayChunk newChunk()
- Specified by:
newChunk
in class AbstractChunk<ByteArrayChunk>
- 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(java.io.ObjectInput)
writeExternal
public void writeExternal(ObjectOutput out)
throws IOException
- Throws:
IOException
- See Also:
Externalizable.writeExternal(java.io.ObjectOutput)
Copyright © 2003, 2005 - INRIA Rhone-Alpes - All Rights Reserved.