zyneo.sms.gateway.adaptor.xml.tcp.client
Class ReceiveServer
java.lang.Object
|
+--RequestServer
|
+--zyneo.sms.gateway.adaptor.xml.tcp.client.ReceiveServer
- public class ReceiveServer
- extends RequestServer
This simple server is used for retriving Notifications
and SMS-messages by using the XML/Tcp connector of
the gateway.
- Author:
- Niklas Andersson
- See Also:
- Serialized Form
Method Summary |
protected void |
exit()
Called when thread exits, simply notify our client |
protected Response |
service(Request req)
Service the deliver requests from server. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
m_client
protected iReceiveClient m_client
ReceiveServer
public ReceiveServer(iReceiveClient irc,
java.net.Socket s,
Category log)
- Constructor
- Parameters:
irc
- The iReceiveClient to use when delivering messagess
- The socket connected to the XML/tcp Receive Adaptorlog
- The log4j Category used for logging,
service
protected Response service(Request req)
throws java.lang.InterruptedException
- Service the deliver requests from server.
- Returns:
- The response.
- Throws:
java.lang.InterruptedException
exit
protected void exit()
- Called when thread exits, simply notify our client
Copyright © 2002 Zyneo. All Rights Reserved.