newphone.sms.ucp
Class UcpTcpIpConnector
java.lang.Object
|
+--newphone.sms.ucp.UcpTcpIpConnector
- public class UcpTcpIpConnector
- extends java.lang.Object
This class manage the UCP communications Over TCP/IP
|
Method Summary |
static void |
main(java.lang.String[] args)
Command Line Interface
Send a SMS througth specified UCP(IP) SMSC
Usage: UcpTcpIpConnector UCP_host UCP_port Sender Destination Message |
java.lang.String |
send(java.lang.String parRemitente,
java.lang.String parDestinatario,
java.lang.String parMensaje)
Send a SMS text Message |
void |
setHost(java.lang.String parHost)
Sets the IP address of host running UCP server |
void |
setPort(int parPort)
Set the TCP port where listen the UCP server |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
UcpTcpIpConnector
public UcpTcpIpConnector()
main
public static void main(java.lang.String[] args)
- Command Line Interface
Send a SMS througth specified UCP(IP) SMSC
Usage: UcpTcpIpConnector UCP_host UCP_port Sender Destination Message
setHost
public void setHost(java.lang.String parHost)
- Sets the IP address of host running UCP server
setPort
public void setPort(int parPort)
- Set the TCP port where listen the UCP server
send
public java.lang.String send(java.lang.String parRemitente,
java.lang.String parDestinatario,
java.lang.String parMensaje)
- Send a SMS text Message