|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.dream.protocol.bus.logicalClock.LogicalClockExportIdentifier
public class LogicalClockExportIdentifier
Export identifier handled by logical clock protocol.
Field Summary | |
---|---|
static int |
FIFO_CLOCK_TYPE
The type value corresponding to a FIFO clock. |
static String |
FIFO_CLOCK_TYPE_NAME
The name of the type corresponding to a FIFO clock. |
static int |
MATRIX_CAUSAL_CLOCK_TYPE
The type value corresponding to a matrix causal clock. |
static String |
MATRIX_CAUSAL_CLOCK_TYPE_NAME
the name of the type corresponding to a matrix causal clock. |
Fields inherited from interface org.objectweb.dream.protocol.ExportIdentifier |
---|
EMPTY_EXPORT_IDENTIFIER_ARRAY |
Constructor Summary | |
---|---|
LogicalClockExportIdentifier(int type,
String chunkName,
ExportIdentifier next)
|
Method Summary | |
---|---|
String |
getChunkName()
|
int |
getClockType()
|
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 |
---|
public static final int FIFO_CLOCK_TYPE
public static final String FIFO_CLOCK_TYPE_NAME
public static final int MATRIX_CAUSAL_CLOCK_TYPE
public static final String MATRIX_CAUSAL_CLOCK_TYPE_NAME
Constructor Detail |
---|
public LogicalClockExportIdentifier(int type, String chunkName, ExportIdentifier next)
type
- the logical clock type either FIFO_CLOCK_TYPE
or
MATRIX_CAUSAL_CLOCK_TYPE
.chunkName
- the name of the LogicalClockChunk
.next
- the export identifier of the lower level protocol.Method Detail |
---|
public int getClockType()
public String getChunkName()
public ExportIdentifier[] getNextExportIds()
ExportIdentifier
getNextExportIds
in interface ExportIdentifier
ExportIdentifier.getNextExportIds()
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
Externalizable.readExternal(ObjectInput)
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
Externalizable.writeExternal(ObjectOutput)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |