soaprmi.soaprpc
Class PlainServerSocketFactory

java.lang.Object
  extended bysoaprmi.soaprpc.PlainServerSocketFactory
All Implemented Interfaces:
SoaprmiServerSocketFactory

public class PlainServerSocketFactory
extends java.lang.Object
implements SoaprmiServerSocketFactory

Socket factory that can be used by soaprmi embedded server.

Version:
$Revision: 1.11 $
Author:
Aleksander Slominski

Field Summary
static java.lang.String XSOAP_HOST_IP_PROPERTY
           
 
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)
           
static java.net.InetAddress getMyIp()
           
 java.lang.String getServerLocation()
           
 int getServerPort()
           
static SoaprmiServerSocketFactory newInstance(int serverPort)
           
 void shutdown()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

XSOAP_HOST_IP_PROPERTY

public static final java.lang.String XSOAP_HOST_IP_PROPERTY
See Also:
Constant Field Values
Method Detail

newInstance

public static SoaprmiServerSocketFactory newInstance(int serverPort)
                                              throws java.io.IOException
Throws:
java.io.IOException

getServerPort

public int getServerPort()
Specified by:
getServerPort in interface SoaprmiServerSocketFactory

getMyIp

public static java.net.InetAddress getMyIp()
                                    throws java.net.UnknownHostException
Throws:
java.net.UnknownHostException

getServerLocation

public java.lang.String getServerLocation()
                                   throws ServerException
Specified by:
getServerLocation in interface SoaprmiServerSocketFactory
Throws:
ServerException

accept

public java.net.Socket accept()
                       throws java.io.IOException
Description copied from interface: SoaprmiServerSocketFactory
Accept new socket that can be used to read SOAP/HTTP request.

Specified by:
accept in interface SoaprmiServerSocketFactory
Throws:
java.io.IOException

accept

public java.net.Socket accept(java.util.Map connectionProps)
                       throws java.io.IOException
Specified by:
accept in interface SoaprmiServerSocketFactory
Throws:
java.io.IOException

shutdown

public void shutdown()
              throws java.io.IOException
Specified by:
shutdown in interface SoaprmiServerSocketFactory
Throws:
java.io.IOException


Copyright (c) 2004 IU Extreme! Lab http://www.extreme.indiana.edu/ All Rights Reserved.