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

Field Summary
protected  iReceiveClient m_client
           
 
Constructor Summary
ReceiveServer(iReceiveClient irc, java.net.Socket s, Category log)
          Constructor
 
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
 

Field Detail

m_client

protected iReceiveClient m_client
Constructor Detail

ReceiveServer

public ReceiveServer(iReceiveClient irc,
                     java.net.Socket s,
                     Category log)
Constructor

Parameters:
irc - The iReceiveClient to use when delivering messages
s - The socket connected to the XML/tcp Receive Adaptor
log - The log4j Category used for logging,
Method Detail

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.