org.jsmpp.session.connection.socket
Class ServerSocketConnection

java.lang.Object
  extended by org.jsmpp.session.connection.socket.ServerSocketConnection
All Implemented Interfaces:
ServerConnection

public class ServerSocketConnection
extends java.lang.Object
implements ServerConnection

Author:
uudashr

Constructor Summary
ServerSocketConnection(java.net.ServerSocket serverSocket)
           
 
Method Summary
 Connection accept()
           
 void close()
           
 int getSoTimeout()
           
 void setSoTimeout(int timeout)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServerSocketConnection

public ServerSocketConnection(java.net.ServerSocket serverSocket)
Method Detail

setSoTimeout

public void setSoTimeout(int timeout)
                  throws java.io.IOException
Specified by:
setSoTimeout in interface ServerConnection
Throws:
java.io.IOException

getSoTimeout

public int getSoTimeout()
                 throws java.io.IOException
Specified by:
getSoTimeout in interface ServerConnection
Throws:
java.io.IOException

accept

public Connection accept()
                  throws java.io.IOException
Specified by:
accept in interface ServerConnection
Throws:
java.io.IOException

close

public void close()
           throws java.io.IOException
Specified by:
close in interface ServerConnection
Throws:
java.io.IOException