|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--SSF.OS.ProtocolMessage
|
+--gov.nist.antd.optical.OpticalFrameHeader
This Header contains the framing information for the ONIC to send the message to the correct lambda.
This class was developed at the National Institute of Standards and Technology by employees of the Federal Government in the course of their official duties. Pursuant to title 17 Section 105 of the United States Code this software is not subject to copyright protection and is in the public domain.
NIST assumes no responsibility whatsoever for its use by other parties, and makes no guarantees, expressed or implied, about its quality, reliability, or any other characteristic.
We would appreciate acknowledgement if the software is used.
NIST ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS" CONDITION AND DISCLAIM ANY LIABILITY OF ANY KIND FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
| Field Summary | |
double |
EteTimeStamp
Attribute for End-to-End computation delay |
int |
fiberID
Fiber ID |
static byte |
HEADERSIZE
The size of this header. |
int |
lambdaID
Lambda ID |
long |
SN
The Sequence Number |
| Fields inherited from class SSF.OS.ProtocolMessage |
|
| Constructor Summary | |
OpticalFrameHeader(int fiberID,
int lambdaID)
Default constructor |
|
| Method Summary | |
int |
bytecount()
Return the total size (in bytes) of this header plus the payload, if any. |
int |
getFiberID()
Determines the fiber id. |
int |
getLambdaID()
Determines the lambda id. |
int |
header_bytecount()
Return the size (in bytes) of this header only, don't include the payload, if any. |
protected void |
setFiberID(int newID)
Set the new fiber id |
protected void |
setLambdaID(int newID)
Set the new lambda id |
java.lang.String |
toString()
Returns the representation of this header. |
| Methods inherited from class SSF.OS.ProtocolMessage |
carryPayload, copy, dropHeader, dropPayload, frombytes, fromVersion, payload, previous, size, tobytes, version |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final byte HEADERSIZE
public long SN
public double EteTimeStamp
public int fiberID
public int lambdaID
| Constructor Detail |
public OpticalFrameHeader(int fiberID,
int lambdaID)
fiberID - The 16 Bit id of the fiber that has to be used.lambdaID - The 16 Bit id of the lambda that has to be used.| Method Detail |
public int getFiberID()
public int getLambdaID()
protected void setFiberID(int newID)
newID - the new Id.protected void setLambdaID(int newID)
newID - the new Id.public int bytecount()
bytecount in class ProtocolMessagepublic int header_bytecount()
header_bytecount in class ProtocolMessagepublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||