public class ReceiveSMSExample extends Object implements InboundMessageGatewayListener
Constructor and Description |
---|
ReceiveSMSExample(String port)
Create and setup the gateway to accepted a inbound messages
|
Modifier and Type | Method and Description |
---|---|
void |
inboundMessageEvent(InboundMessageEvent inboundMessageEvent)
Called when a new inbound message is delivered
|
static void |
main(String[] args)
Parse parameters or asking user for information.
|
public ReceiveSMSExample(String port) throws GatewayException, IOException
port
- port nameGatewayException
IOException
public void inboundMessageEvent(InboundMessageEvent inboundMessageEvent)
inboundMessageEvent
in interface InboundMessageGatewayListener
public static void main(String[] args) throws GatewayException, IOException
args
- GatewayException
IOException
Copyright © 2015–2016 jSMS4Pi. All rights reserved.