Package org.onosproject.net
Class OduSignalId
- java.lang.Object
- 
- org.onosproject.net.OduSignalId
 
- 
 public class OduSignalId extends java.lang.ObjectImplementation of ODU Signal ID.See ITU G.709 "Interfaces for the Optical Transport Network (OTN)". 
- 
- 
Field SummaryFields Modifier and Type Field Description static intTRIBUTARY_SLOT_BITMAP_SIZE
 - 
Constructor SummaryConstructors Constructor Description OduSignalId(int tributaryPortNumber, int tributarySlotLen, byte[] tributarySlotBitmap)Creates an instance with the specified arguments.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)inthashCode()static OduSignalIdoduSignalId(int tributaryPortNumber, int tributarySlotLen, byte[] tributarySlotBitmap)Returns the OduSignalId representing the specified parameters.java.lang.StringtoString()inttributaryPortNumber()Returns tributary port number.byte[]tributarySlotBitmap()Returns tributary slot bitmap.inttributarySlotLength()Returns tributary slot length.
 
- 
- 
- 
Field Detail- 
TRIBUTARY_SLOT_BITMAP_SIZEpublic static final int TRIBUTARY_SLOT_BITMAP_SIZE - See Also:
- Constant Field Values
 
 
- 
 - 
Constructor Detail- 
OduSignalIdpublic OduSignalId(int tributaryPortNumber, int tributarySlotLen, byte[] tributarySlotBitmap)Creates an instance with the specified arguments.- Parameters:
- tributaryPortNumber- tributary port number
- tributarySlotLen- tributary slot len
- tributarySlotBitmap- tributary slot bitmap
 
 
- 
 - 
Method Detail- 
oduSignalIdpublic static OduSignalId oduSignalId(int tributaryPortNumber, int tributarySlotLen, byte[] tributarySlotBitmap) Returns the OduSignalId representing the specified parameters.- Parameters:
- tributaryPortNumber- tributary port number
- tributarySlotLen- tributary slot len
- tributarySlotBitmap- tributary slot bitmap
- Returns:
- OduSignalId
 
 - 
tributaryPortNumberpublic int tributaryPortNumber() Returns tributary port number.- Returns:
- the tributaryPortNumber
 
 - 
tributarySlotLengthpublic int tributarySlotLength() Returns tributary slot length.- Returns:
- the tributarySlotLen
 
 - 
tributarySlotBitmappublic byte[] tributarySlotBitmap() Returns tributary slot bitmap.- Returns:
- the tributarySlotBitmap
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- java.lang.Object
 
 - 
equalspublic boolean equals(java.lang.Object obj) - Overrides:
- equalsin class- java.lang.Object
 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- java.lang.Object
 
 
- 
 
-