Class TestProtocolHandler1

    • Field Detail

      • logger

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

      • TestProtocolHandler1

        public TestProtocolHandler1()
    • Method Detail

      • getSubmitSMResponse

        void getSubmitSMResponse​(byte[] message,
                                 int len)
                          throws java.lang.Exception
        Custom variation of submitSM handler. This implementation will treat any destination MSISDN containing non-numeric characters as an invalid MSISDN and in such cases, return an error response of ESME_RINVDSTADR
        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