Class SctpPortCriterion

  • All Implemented Interfaces:
    Criterion

    public final class SctpPortCriterion
    extends Object
    implements Criterion
    Implementation of SCTP port criterion (16 bits unsigned integer).
    • 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
      • sctpPort

        public TpPort sctpPort()
        Gets the SCTP port to match.
        Returns:
        the SCTP port to match
      • mask

        public TpPort mask()
        Gets the mask for the SCTP port to match.
        Returns:
        the SCTP port mask, null if not specified
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object