org.objectweb.dream.protocol.channel
Class MultiplexExportIdentifier
java.lang.Object
org.objectweb.dream.protocol.channel.MultiplexExportIdentifier
- All Implemented Interfaces:
- Externalizable, Serializable, ExportIdentifier
public final class MultiplexExportIdentifier
- extends Object
- implements ExportIdentifier, Externalizable
Export identifier created by multiplex protocol.
- See Also:
- Serialized Form
MultiplexExportIdentifier
public MultiplexExportIdentifier(short id,
ExportIdentifier next)
- Parameters:
id
- the routeIdnext
- identifier corresponding to lower level protocol layer.
getRouteId
public short getRouteId()
- Returns:
- Returns the routeId.
getNextExportIds
public ExportIdentifier[] getNextExportIds()
- Description copied from interface:
ExportIdentifier
- Returns an array of identifiers corresponding to lower level protocol
layers, if any.
- Specified by:
getNextExportIds
in interface ExportIdentifier
- Returns:
- an array of identifiers corresponding to lower level protocol
layers. If their is no lower level protocol layer, returns an empty
array.
- See Also:
ExportIdentifier.getNextExportIds()
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)
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
- See Also:
Object.equals(Object)
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
- See Also:
Object.hashCode()
toString
public String toString()
- Overrides:
toString
in class Object
- See Also:
Object.toString()
Copyright © 2003, 2005 - INRIA Rhone-Alpes - All Rights Reserved.