public class OduSignalId
extends java.lang.Object
See ITU G.709 "Interfaces for the Optical Transport Network (OTN)".
| Modifier and Type | Field and Description |
|---|---|
static int |
TRIBUTARY_SLOT_BITMAP_SIZE |
| Constructor and Description |
|---|
OduSignalId(int tributaryPortNumber,
int tributarySlotLen,
byte[] tributarySlotBitmap)
Creates an instance with the specified arguments.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
static OduSignalId |
oduSignalId(int tributaryPortNumber,
int tributarySlotLen,
byte[] tributarySlotBitmap)
Returns the OduSignalId representing the specified parameters.
|
java.lang.String |
toString() |
int |
tributaryPortNumber()
Returns tributary port number.
|
byte[] |
tributarySlotBitmap()
Returns tributary slot bitmap.
|
int |
tributarySlotLength()
Returns tributary slot length.
|
public static final int TRIBUTARY_SLOT_BITMAP_SIZE
public OduSignalId(int tributaryPortNumber,
int tributarySlotLen,
byte[] tributarySlotBitmap)
tributaryPortNumber - tributary port numbertributarySlotLen - tributary slot lentributarySlotBitmap - tributary slot bitmappublic static OduSignalId oduSignalId(int tributaryPortNumber, int tributarySlotLen, byte[] tributarySlotBitmap)
tributaryPortNumber - tributary port numbertributarySlotLen - tributary slot lentributarySlotBitmap - tributary slot bitmappublic int tributaryPortNumber()
public int tributarySlotLength()
public byte[] tributarySlotBitmap()
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object