Interface Configuration

    • Method Detail

      • getIdleTimeout

        java.time.Duration getIdleTimeout()
        Get the Idle Timeout
        Returns:
        the idle timeout
      • getWriteTimeout

        java.time.Duration getWriteTimeout()
        Get the Write Timeout
        Returns:
        the write timeout
      • setIdleTimeout

        void setIdleTimeout​(java.time.Duration timeout)
        Set the Idle Timeout.
        Parameters:
        timeout - the timeout duration (timeout <= 0 implies an infinite timeout)
      • setWriteTimeout

        void setWriteTimeout​(java.time.Duration timeout)
        Set the Write Timeout.
        Parameters:
        timeout - the timeout duration (timeout <= 0 implies an infinite timeout)
      • isAutoFragment

        boolean isAutoFragment()
      • setAutoFragment

        void setAutoFragment​(boolean autoFragment)
      • getMaxFrameSize

        long getMaxFrameSize()
      • setMaxFrameSize

        void setMaxFrameSize​(long maxFrameSize)
      • getOutputBufferSize

        int getOutputBufferSize()
      • setOutputBufferSize

        void setOutputBufferSize​(int outputBufferSize)
      • getInputBufferSize

        int getInputBufferSize()
      • setInputBufferSize

        void setInputBufferSize​(int inputBufferSize)
      • getMaxBinaryMessageSize

        long getMaxBinaryMessageSize()
      • setMaxBinaryMessageSize

        void setMaxBinaryMessageSize​(long maxSize)
      • getMaxTextMessageSize

        long getMaxTextMessageSize()
      • setMaxTextMessageSize

        void setMaxTextMessageSize​(long maxSize)
      • getMaxOutgoingFrames

        int getMaxOutgoingFrames()
        Get the maximum number of data frames allowed to be waiting to be sent at any one time. The default value is -1, this indicates there is no limit on how many frames can be queued to be sent by the implementation. If the limit is exceeded, subsequent frames sent are failed with a WritePendingException but the connection is not failed and will remain open.
        Returns:
        the max number of frames.
      • setMaxOutgoingFrames

        void setMaxOutgoingFrames​(int maxOutgoingFrames)
        Set the maximum number of data frames allowed to be waiting to be sent at any one time. The default value is -1, this indicates there is no limit on how many frames can be queued to be sent by the implementation. If the limit is exceeded, subsequent frames sent are failed with a WritePendingException but the connection is not failed and will remain open.
        Parameters:
        maxOutgoingFrames - the max number of frames.