Interface ResponseClient
-
- All Known Implementing Classes:
StandardResponseClient
public interface ResponseClientThis abstraction represent connection via SMPP with RECEIVER type. Key purpose is listening delivery reports.
-
-
Method Summary
All Methods Instance Methods Abstract 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
-
-
-
Method Detail
-
getId
@NotNull @NotNull java.lang.String getId()
- Returns:
- Identifier of response client
-
setup
void setup()
Create smpp connection and bind to it- Throws:
ResponseClientBindException- if connection not successfully
-
getSession
@Nullable com.cloudhopper.smpp.SmppSession getSession()
Access to SMPP session- Returns:
- smpp session, may be null
-
reconnect
void reconnect()
Perform reconnection
-
destroyClient
void destroyClient()
Close smpp session connection and destroy client
-
-