public class CloudhopperSMPPServer extends Object implements SmppServerSimulator<com.cloudhopper.smpp.pdu.PduRequest>
Modifier | Constructor and Description |
---|---|
|
CloudhopperSMPPServer(int port) |
|
CloudhopperSMPPServer(int port,
String systemId,
String password) |
protected |
CloudhopperSMPPServer(int port,
TestSmppServerHandler serverHandler) |
Modifier and Type | Method and Description |
---|---|
int |
getPort() |
List<com.cloudhopper.smpp.pdu.PduRequest> |
getReceivedMessages() |
void |
start() |
void |
stop() |
protected CloudhopperSMPPServer(int port, TestSmppServerHandler serverHandler)
public CloudhopperSMPPServer(int port)
public void start() throws SmppServerException
start
in interface SmppServerSimulator<com.cloudhopper.smpp.pdu.PduRequest>
SmppServerException
public void stop()
stop
in interface SmppServerSimulator<com.cloudhopper.smpp.pdu.PduRequest>
public int getPort()
getPort
in interface SmppServerSimulator<com.cloudhopper.smpp.pdu.PduRequest>
public List<com.cloudhopper.smpp.pdu.PduRequest> getReceivedMessages()
getReceivedMessages
in interface SmppServerSimulator<com.cloudhopper.smpp.pdu.PduRequest>
Copyright © 2017. All rights reserved.