org.objectweb.dream.protocol.bus
Class BusExportIdentifier

java.lang.Object
  extended by org.objectweb.dream.protocol.bus.BusExportIdentifier
All Implemented Interfaces:
Externalizable, Serializable, ExportIdentifier

public class BusExportIdentifier
extends Object
implements ExportIdentifier, Externalizable

Export identifier for bus protocol. Contains only an array of lower export identifier.

See Also:
Serialized Form

Field Summary
protected  ExportIdentifier[] ids
           
 
Fields inherited from interface org.objectweb.dream.protocol.ExportIdentifier
EMPTY_EXPORT_IDENTIFIER_ARRAY
 
Constructor Summary
BusExportIdentifier(ExportIdentifier[] lowerIds)
          Constructor
 
Method Summary
 ExportIdentifier[] getNextExportIds()
          Returns an array of identifiers corresponding to lower level protocol layers, if any.
 void readExternal(ObjectInput in)
           
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ids

protected ExportIdentifier[] ids
Constructor Detail

BusExportIdentifier

public BusExportIdentifier(ExportIdentifier[] lowerIds)
Constructor

Parameters:
lowerIds - the array of identifier use to access every protocol instance in the bus.
Method Detail

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)


Copyright © 2003, 2005 - INRIA Rhone-Alpes - All Rights Reserved.