Class StandardResponseClient
- java.lang.Object
-
- com.github.mikesafonov.smpp.core.reciever.StandardResponseClient
-
- All Implemented Interfaces:
ResponseClient
public class StandardResponseClient extends java.lang.Object implements ResponseClient
Default implementation ofResponseClient.
-
-
Constructor Summary
Constructors Constructor Description StandardResponseClient(@NotNull ConnectionManager connectionManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddestroyClient()Close smpp session connection and destroy client@NotNull java.lang.StringgetId()com.cloudhopper.smpp.SmppSessiongetSession()Access to SMPP sessionvoidreconnect()Perform reconnectionvoidsetup()Create smpp connection and bind to it
-
-
-
Constructor Detail
-
StandardResponseClient
public StandardResponseClient(@NotNull @NotNull ConnectionManager connectionManager)- Parameters:
connectionManager- smpp connection manager
-
-
Method Detail
-
getId
@NotNull public @NotNull java.lang.String getId()
- Specified by:
getIdin interfaceResponseClient- Returns:
- Identifier of response client
-
setup
public void setup()
Description copied from interface:ResponseClientCreate smpp connection and bind to it- Specified by:
setupin interfaceResponseClient
-
reconnect
public void reconnect()
Description copied from interface:ResponseClientPerform reconnection- Specified by:
reconnectin interfaceResponseClient
-
destroyClient
public void destroyClient()
Description copied from interface:ResponseClientClose smpp session connection and destroy client- Specified by:
destroyClientin interfaceResponseClient
-
getSession
public com.cloudhopper.smpp.SmppSession getSession()
Description copied from interface:ResponseClientAccess to SMPP session- Specified by:
getSessionin interfaceResponseClient- Returns:
- smpp session, may be null
-
-