org.objectweb.dream.protocol.channel
Class CloseChunk

java.lang.Object
  extended by org.objectweb.dream.message.AbstractChunk<CloseChunk>
      extended by org.objectweb.dream.protocol.channel.CloseChunk
All Implemented Interfaces:
Externalizable, Serializable, Recyclable

public class CloseChunk
extends AbstractChunk<CloseChunk>

Chunk used by multiplex protocol.

See Also:
Serialized Form

Field Summary
static String DEFAULT_NAME
          Default name for chunks of this type.
 
Constructor Summary
CloseChunk()
           
 
Method Summary
 short getRouteId()
           
 CloseChunk newChunk()
           
 void readExternal(ObjectInput in)
           
 void recycle()
           
 void setRouteId(short routeId)
           
 void transfertStateTo(CloseChunk newInstance)
           
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class org.objectweb.dream.message.AbstractChunk
getReference, setReference
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_NAME

public static final String DEFAULT_NAME
Default name for chunks of this type.

See Also:
Constant Field Values
Constructor Detail

CloseChunk

public CloseChunk()
Method Detail

getRouteId

public final short getRouteId()
Returns:
Returns the routeId.

setRouteId

public final void setRouteId(short routeId)
Parameters:
routeId - The routeId to set.

newChunk

public CloseChunk newChunk()
Specified by:
newChunk in class AbstractChunk<CloseChunk>
See Also:
AbstractChunk.newChunk()

transfertStateTo

public void transfertStateTo(CloseChunk newInstance)
Specified by:
transfertStateTo in class AbstractChunk<CloseChunk>
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.