@Deprecated public class OmsPort extends DefaultPort
DEFAULT_SPEED| Constructor and Description |
|---|
OmsPort(Element element,
PortNumber number,
boolean isEnabled,
org.onlab.util.Frequency minFrequency,
org.onlab.util.Frequency maxFrequency,
org.onlab.util.Frequency grid,
Annotations... annotations)
Deprecated.
Creates an OMS port in the specified network element.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
Deprecated.
|
org.onlab.util.Frequency |
grid()
Deprecated.
Returns the grid spacing frequency.
|
int |
hashCode()
Deprecated.
|
org.onlab.util.Frequency |
maxFrequency()
Deprecated.
Returns the maximum frequency.
|
org.onlab.util.Frequency |
minFrequency()
Deprecated.
Returns the minimum frequency.
|
String |
toString()
Deprecated.
|
short |
totalChannels()
Deprecated.
Returns the total number of channels on the port.
|
element, isEnabled, number, portSpeed, typeannotationsclone, finalize, getClass, notify, notifyAll, wait, wait, waitannotationspublic OmsPort(Element element, PortNumber number, boolean isEnabled, org.onlab.util.Frequency minFrequency, org.onlab.util.Frequency maxFrequency, org.onlab.util.Frequency grid, Annotations... annotations)
element - parent network elementnumber - port numberisEnabled - port enabled stateminFrequency - minimum frequencymaxFrequency - maximum frequencygrid - grid spacing frequencyannotations - optional key/value annotationspublic short totalChannels()
public org.onlab.util.Frequency minFrequency()
public org.onlab.util.Frequency maxFrequency()
public org.onlab.util.Frequency grid()
public int hashCode()
hashCode in class DefaultPortpublic boolean equals(Object obj)
equals in class DefaultPortpublic String toString()
toString in class DefaultPort