public class IndexedSmppSessionDecorator extends Object implements com.cloudhopper.smpp.SmppSession
| Constructor and Description |
|---|
IndexedSmppSessionDecorator(com.cloudhopper.smpp.SmppSession delegate,
int sessionIdx) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
areOptionalParametersSupported() |
void |
close() |
void |
destroy() |
com.cloudhopper.smpp.pdu.EnquireLinkResp |
enquireLink(com.cloudhopper.smpp.pdu.EnquireLink request,
long timeoutMillis) |
com.cloudhopper.smpp.SmppBindType |
getBindType() |
long |
getBoundTime() |
com.cloudhopper.smpp.SmppSessionConfiguration |
getConfiguration() |
com.cloudhopper.smpp.SmppSessionCounters |
getCounters() |
byte |
getInterfaceVersion() |
com.cloudhopper.smpp.SmppSession.Type |
getLocalType() |
com.cloudhopper.smpp.SmppSession.Type |
getRemoteType() |
com.cloudhopper.commons.util.windowing.Window<Integer,com.cloudhopper.smpp.pdu.PduRequest,com.cloudhopper.smpp.pdu.PduResponse> |
getRequestWindow() |
com.cloudhopper.commons.util.windowing.Window<Integer,com.cloudhopper.smpp.pdu.PduRequest,com.cloudhopper.smpp.pdu.PduResponse> |
getSendWindow() |
int |
getSessionIdx() |
String |
getStateName() |
boolean |
hasCounters() |
boolean |
isBinding() |
boolean |
isBound() |
boolean |
isClosed() |
boolean |
isOpen() |
boolean |
isUnbinding() |
com.cloudhopper.commons.util.windowing.WindowFuture<Integer,com.cloudhopper.smpp.pdu.PduRequest,com.cloudhopper.smpp.pdu.PduResponse> |
sendRequestPdu(com.cloudhopper.smpp.pdu.PduRequest request,
long timeoutMillis,
boolean synchronous) |
void |
sendResponsePdu(com.cloudhopper.smpp.pdu.PduResponse response) |
com.cloudhopper.smpp.pdu.SubmitSmResp |
submit(com.cloudhopper.smpp.pdu.SubmitSm request,
long timeoutMillis) |
String |
toString() |
void |
unbind(long timeoutMillis) |
public IndexedSmppSessionDecorator(com.cloudhopper.smpp.SmppSession delegate,
int sessionIdx)
public com.cloudhopper.smpp.SmppBindType getBindType()
getBindType in interface com.cloudhopper.smpp.SmppSessionpublic com.cloudhopper.smpp.SmppSession.Type getLocalType()
getLocalType in interface com.cloudhopper.smpp.SmppSessionpublic com.cloudhopper.smpp.SmppSession.Type getRemoteType()
getRemoteType in interface com.cloudhopper.smpp.SmppSessionpublic com.cloudhopper.smpp.SmppSessionConfiguration getConfiguration()
getConfiguration in interface com.cloudhopper.smpp.SmppSessionpublic String getStateName()
getStateName in interface com.cloudhopper.smpp.SmppSessionpublic byte getInterfaceVersion()
getInterfaceVersion in interface com.cloudhopper.smpp.SmppSessionpublic boolean areOptionalParametersSupported()
areOptionalParametersSupported in interface com.cloudhopper.smpp.SmppSessionpublic boolean isOpen()
isOpen in interface com.cloudhopper.smpp.SmppSessionpublic boolean isBinding()
isBinding in interface com.cloudhopper.smpp.SmppSessionpublic boolean isBound()
isBound in interface com.cloudhopper.smpp.SmppSessionpublic boolean isUnbinding()
isUnbinding in interface com.cloudhopper.smpp.SmppSessionpublic boolean isClosed()
isClosed in interface com.cloudhopper.smpp.SmppSessionpublic long getBoundTime()
getBoundTime in interface com.cloudhopper.smpp.SmppSessionpublic com.cloudhopper.commons.util.windowing.Window<Integer,com.cloudhopper.smpp.pdu.PduRequest,com.cloudhopper.smpp.pdu.PduResponse> getRequestWindow()
getRequestWindow in interface com.cloudhopper.smpp.SmppSessionpublic com.cloudhopper.commons.util.windowing.Window<Integer,com.cloudhopper.smpp.pdu.PduRequest,com.cloudhopper.smpp.pdu.PduResponse> getSendWindow()
getSendWindow in interface com.cloudhopper.smpp.SmppSessionpublic boolean hasCounters()
hasCounters in interface com.cloudhopper.smpp.SmppSessionpublic com.cloudhopper.smpp.SmppSessionCounters getCounters()
getCounters in interface com.cloudhopper.smpp.SmppSessionpublic void close()
close in interface com.cloudhopper.smpp.SmppSessionpublic void unbind(long timeoutMillis)
unbind in interface com.cloudhopper.smpp.SmppSessionpublic void destroy()
destroy in interface com.cloudhopper.smpp.SmppSessionpublic com.cloudhopper.smpp.pdu.EnquireLinkResp enquireLink(com.cloudhopper.smpp.pdu.EnquireLink request,
long timeoutMillis)
throws com.cloudhopper.smpp.type.RecoverablePduException,
com.cloudhopper.smpp.type.UnrecoverablePduException,
com.cloudhopper.smpp.type.SmppTimeoutException,
com.cloudhopper.smpp.type.SmppChannelException,
InterruptedException
enquireLink in interface com.cloudhopper.smpp.SmppSessioncom.cloudhopper.smpp.type.RecoverablePduExceptioncom.cloudhopper.smpp.type.UnrecoverablePduExceptioncom.cloudhopper.smpp.type.SmppTimeoutExceptioncom.cloudhopper.smpp.type.SmppChannelExceptionInterruptedExceptionpublic com.cloudhopper.smpp.pdu.SubmitSmResp submit(com.cloudhopper.smpp.pdu.SubmitSm request,
long timeoutMillis)
throws com.cloudhopper.smpp.type.RecoverablePduException,
com.cloudhopper.smpp.type.UnrecoverablePduException,
com.cloudhopper.smpp.type.SmppTimeoutException,
com.cloudhopper.smpp.type.SmppChannelException,
InterruptedException
submit in interface com.cloudhopper.smpp.SmppSessioncom.cloudhopper.smpp.type.RecoverablePduExceptioncom.cloudhopper.smpp.type.UnrecoverablePduExceptioncom.cloudhopper.smpp.type.SmppTimeoutExceptioncom.cloudhopper.smpp.type.SmppChannelExceptionInterruptedExceptionpublic com.cloudhopper.commons.util.windowing.WindowFuture<Integer,com.cloudhopper.smpp.pdu.PduRequest,com.cloudhopper.smpp.pdu.PduResponse> sendRequestPdu(com.cloudhopper.smpp.pdu.PduRequest request, long timeoutMillis, boolean synchronous) throws com.cloudhopper.smpp.type.RecoverablePduException, com.cloudhopper.smpp.type.UnrecoverablePduException, com.cloudhopper.smpp.type.SmppTimeoutException, com.cloudhopper.smpp.type.SmppChannelException, InterruptedException
sendRequestPdu in interface com.cloudhopper.smpp.SmppSessioncom.cloudhopper.smpp.type.RecoverablePduExceptioncom.cloudhopper.smpp.type.UnrecoverablePduExceptioncom.cloudhopper.smpp.type.SmppTimeoutExceptioncom.cloudhopper.smpp.type.SmppChannelExceptionInterruptedExceptionpublic void sendResponsePdu(com.cloudhopper.smpp.pdu.PduResponse response)
throws com.cloudhopper.smpp.type.RecoverablePduException,
com.cloudhopper.smpp.type.UnrecoverablePduException,
com.cloudhopper.smpp.type.SmppChannelException,
InterruptedException
sendResponsePdu in interface com.cloudhopper.smpp.SmppSessioncom.cloudhopper.smpp.type.RecoverablePduExceptioncom.cloudhopper.smpp.type.UnrecoverablePduExceptioncom.cloudhopper.smpp.type.SmppChannelExceptionInterruptedExceptionpublic int getSessionIdx()
Copyright © 2021. All rights reserved.