xsul.http_server
Interface ServerSocketFactory

All Known Implementing Classes:
PlainServerSocketFactory, PuretlsServerSocketFactory

public interface ServerSocketFactory

Socket factory that can be used by HTTP embedded servers to accept HTTP client connections.

Version:
$Revision: 1.2 $
Author:
Aleksander Slominski

Method Summary
 java.net.Socket accept()
          Accept new socket that can be used to read SOAP/HTTP request.
 java.net.Socket accept(java.util.Map connectionProps)
           
 java.lang.String getServerLocation()
           
 int getServerPort()
           
 void shutdown()
           
 

Method Detail

accept

public java.net.Socket accept()
                       throws java.io.IOException,
                              HttpServerException
Accept new socket that can be used to read SOAP/HTTP request.

Throws:
java.io.IOException
HttpServerException

accept

public java.net.Socket accept(java.util.Map connectionProps)
                       throws java.io.IOException,
                              HttpServerException
Throws:
java.io.IOException
HttpServerException

shutdown

public void shutdown()
              throws java.io.IOException,
                     HttpServerException
Throws:
java.io.IOException
HttpServerException

getServerPort

public int getServerPort()
                  throws HttpServerException
Throws:
HttpServerException

getServerLocation

public java.lang.String getServerLocation()
                                   throws HttpServerException
Throws:
HttpServerException


IU Extreme! Lab (http://www.extreme.indiana.edu)