Class OchSignalCriterion

  • All Implemented Interfaces:
    Criterion

    public final class OchSignalCriterion
    extends java.lang.Object
    implements Criterion
    Implementation of OCh (Optical Channel) signal criterion. This criterion is based on the specification of "OFPXMT_EXP_OCH_SIGID" in Open Networking Foundation "Optical Transport Protocol Extension Version 1.0", but defined in protocol agnostic way.
    • Method Detail

      • type

        public Criterion.Type type()
        Description copied from interface: Criterion
        Returns the type of criterion.
        Specified by:
        type in interface Criterion
        Returns:
        type of criterion
      • lambda

        public OchSignal lambda()
        Returns the OCh signal to match.
        Returns:
        the OCh signal to match
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object