Class ConxClass.CxParams

  • Enclosing class:
    ConxClass

    public static class ConxClass.CxParams
    extends java.lang.Object
    • Field Detail

      • size

        public final int size
      • variable

        public final boolean variable
      • priority

        public final int priority
      • type

        public final int type
      • redundant

        public final boolean redundant
    • Constructor Detail

      • CxParams

        public CxParams​(short small)
        Construct a parameters object from a forward open's 16-bit connection parameters word.
        Parameters:
        small -
      • CxParams

        public CxParams​(int large)
        Construct a parameters object from a large forward open's 32-bit connection parameters word.
        Parameters:
        large -
      • CxParams

        public CxParams​(boolean redundant,
                        ConxClass.CxParams.CxType type,
                        ConxClass.CxParams.CxPriority prio,
                        boolean variable,
                        int size)
        Construct a parameters object from explicit connection parameters.
        Parameters:
        redundant - True if this direction is a redundant owner connection
        type - Null for pings or reconfiguration, multicast for UDP data transfer in class zero or one connections, Point-2-Point otherwise.
        prio - Low for messaging, scheduled for UDP I/O
        variable - True for messaging, either for I/O
        size - Maximum payload size (variable) or actual payload size (fixed)
    • Method Detail

      • shortValue

        public short shortValue()
      • intValue

        public int intValue()
      • toString

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