xsul.http_server.plain_impl
Class PlainServerSocketFactory
java.lang.Object
xsul.http_server.plain_impl.PlainServerSocketFactory
- All Implemented Interfaces:
- ServerSocketFactory
- public class PlainServerSocketFactory
- extends java.lang.Object
- implements ServerSocketFactory
Factory that uses vanilla sockets provided by Java Net API.
- Version:
- $Revision: 1.7 $
- Author:
- Aleksander Slominski
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HTTP_TRANSPORT_SERVER_HOST_IP_PROPERTY
public static final java.lang.String HTTP_TRANSPORT_SERVER_HOST_IP_PROPERTY
- See Also:
- Constant Field Values
HTTP_TRANSPORT_SERVER_RANGE_PROPERTY
public static final java.lang.String HTTP_TRANSPORT_SERVER_RANGE_PROPERTY
- See Also:
- Constant Field Values
newInstance
public static ServerSocketFactory newInstance(int serverPort)
throws HttpServerException
- Throws:
HttpServerException
getServerPort
public int getServerPort()
- Specified by:
getServerPort in interface ServerSocketFactory
getMyIp
public static java.net.InetAddress getMyIp()
throws java.net.UnknownHostException
- Throws:
java.net.UnknownHostException
getServerLocation
public java.lang.String getServerLocation()
throws HttpServerException
- Specified by:
getServerLocation in interface ServerSocketFactory
- Throws:
HttpServerException
accept
public java.net.Socket accept()
throws java.io.IOException
- Description copied from interface:
ServerSocketFactory
- Accept new socket that can be used to read SOAP/HTTP request.
- Specified by:
accept in interface ServerSocketFactory
- Throws:
java.io.IOException
accept
public java.net.Socket accept(java.util.Map connectionProps)
throws java.io.IOException
- Specified by:
accept in interface ServerSocketFactory
- Throws:
java.io.IOException
shutdown
public void shutdown()
throws java.io.IOException,
HttpServerException
- Specified by:
shutdown in interface ServerSocketFactory
- Throws:
java.io.IOException
HttpServerException
setPortRange
public static void setPortRange(TcpPortRange portRange)
getPortRange
public static TcpPortRange getPortRange()
IU Extreme! Lab (http://www.extreme.indiana.edu)