Class TestProtocolHandler2

    • Field Detail

      • logger

        private static java.util.logging.Logger logger
    • Constructor Detail

      • TestProtocolHandler2

        public TestProtocolHandler2()
    • Method Detail

      • getSubmitSMResponse

        void getSubmitSMResponse​(byte[] message,
                                 int len)
                          throws java.lang.Exception
        Custom variation of submitSM handler. This implementation will not respond to SUBMIT_SM PDUs where the destination MSISDN starts with 44
        Overrides:
        getSubmitSMResponse in class StandardProtocolHandler
        Throws:
        java.lang.Exception
      • getSubmitMultiResponse

        void getSubmitMultiResponse​(byte[] message,
                                    int len)
                             throws java.lang.Exception
        Custom variation of submit_multi handler. This implementation will treat any non-numeric destinatation address as invalid
        Overrides:
        getSubmitMultiResponse in class StandardProtocolHandler
        Throws:
        java.lang.Exception