Package com.seleniumsoftware.SMPPSim
Class TestProtocolHandler1
- java.lang.Object
-
- com.seleniumsoftware.SMPPSim.StandardProtocolHandler
-
- com.seleniumsoftware.SMPPSim.TestProtocolHandler1
-
public class TestProtocolHandler1 extends StandardProtocolHandler
-
-
Field Summary
Fields Modifier and Type Field Description private static java.util.logging.Loggerlogger-
Fields inherited from class com.seleniumsoftware.SMPPSim.StandardProtocolHandler
address_range_regexp, connection, failedAuthentication, iqueue, message, packetLen, response, session, smsc, wasBindReceiverRequest, wasInvalidBindState, wasUnbindRequest
-
-
Constructor Summary
Constructors Constructor Description TestProtocolHandler1()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetName()(package private) voidgetSubmitMultiResponse(byte[] message, int len)Custom variation of submit_multi handler.(package private) voidgetSubmitSMResponse(byte[] message, int len)Custom variation of submitSM handler.-
Methods inherited from class com.seleniumsoftware.SMPPSim.StandardProtocolHandler
addressIsServicedByReceiver, failedAuthentication, getBindRCVResponse, getBindTRNCVRResponse, getBindTRNResponse, getBytesAsInt, getCancelSMResponse, getDataSMResponse, getEnquireResponse, getGenericNakResponse, getQueryResponse, getReplaceSMResponse, getSession, getUnbindResponse, logPdu, processData_SM_Resp, processDeliver_SM_Resp, processMessage, setAddressRangeRegExp, setConnection, setFailedAuthentication, setSession, setWasBindReceiverRequest, setWasInvalidBindState, setWasUnbindRequest, wasBindReceiverRequest, wasInvalidBindState, wasUnbindRequest
-
-
-
-
Method Detail
-
getName
public java.lang.String getName()
- Overrides:
getNamein classStandardProtocolHandler
-
getSubmitSMResponse
void getSubmitSMResponse(byte[] message, int len) throws java.lang.ExceptionCustom 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:
getSubmitSMResponsein classStandardProtocolHandler- Throws:
java.lang.Exception
-
getSubmitMultiResponse
void getSubmitMultiResponse(byte[] message, int len) throws java.lang.ExceptionCustom variation of submit_multi handler. This implementation will treat any non-numeric destinatation address as invalid- Overrides:
getSubmitMultiResponsein classStandardProtocolHandler- Throws:
java.lang.Exception
-
-