Class SmeHelloUtils


  • public final class SmeHelloUtils
    extends java.lang.Object
    Common procedures and constants for SME states
    • Field Detail

      • ABORT_MSG

        public static final byte[] ABORT_MSG
      • T_hello_prolong_thr_inc

        public static final int T_hello_prolong_thr_inc
        See Also:
        Constant Field Values
      • T_hello_prolong_waiting_gap

        public static final int T_hello_prolong_waiting_gap
        See Also:
        Constant Field Values
    • Method Detail

      • deactivateAllTimers

        public static void deactivateAllTimers​(StateHandlerContext context)
      • decideProlongationRequest

        public static void decideProlongationRequest​(StateHandlerContext context)
        Common procedure to decide an incoming prolongation request
      • sendHelloUpdateMessage

        public static void sendHelloUpdateMessage​(StateHandlerContext context)
        Common procedure for sending an SME "hello" Update Message
        Parameters:
        context - the current handler context
      • helloUpdateMessage

        public static byte[] helloUpdateMessage​(State state,
                                                java.lang.Integer timeRemaining)