Package com.seleniumsoftware.SMPPSim
Class TestProtocolHandler2
- java.lang.Object
-
- com.seleniumsoftware.SMPPSim.StandardProtocolHandler
-
- com.seleniumsoftware.SMPPSim.TestProtocolHandler2
-
public class TestProtocolHandler2 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 TestProtocolHandler2()
-
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.(package private) voidgetUnbindResponse(byte[] message, int len)-
Methods inherited from class com.seleniumsoftware.SMPPSim.StandardProtocolHandler
addressIsServicedByReceiver, failedAuthentication, getBindRCVResponse, getBindTRNCVRResponse, getBindTRNResponse, getBytesAsInt, getCancelSMResponse, getDataSMResponse, getEnquireResponse, getGenericNakResponse, getQueryResponse, getReplaceSMResponse, getSession, 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 not respond to SUBMIT_SM PDUs where the destination MSISDN starts with 44- 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
-
getUnbindResponse
void getUnbindResponse(byte[] message, int len) throws java.lang.Exception- Overrides:
getUnbindResponsein classStandardProtocolHandler- Throws:
java.lang.Exception
-
-