electric.net.socket.tcp
Class TCPSocketFactory

java.lang.Object
  extended byelectric.net.socket.tcp.TCPSocketFactory
All Implemented Interfaces:
ISocketFactory

public class TCPSocketFactory
extends java.lang.Object
implements ISocketFactory

TCPSocketFactory.

Author:
webMethods

Constructor Summary
TCPSocketFactory()
           
 
Method Summary
 java.net.ServerSocket createServerSocket(int port, int backlog, java.net.InetAddress address, Context context)
           
 java.net.Socket createSocket(java.net.InetAddress hostAddress, int port, Context context)
           
 java.net.Socket createSocket(java.net.InetAddress localAddress, int localPort, java.net.InetAddress remoteAddress, int remotePort, Context context)
           
 java.net.Socket createSocket(java.net.Socket socket, java.lang.String host, int port, boolean autoclose, Context context)
           
 java.lang.String getProtocol()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TCPSocketFactory

public TCPSocketFactory()
Method Detail

createSocket

public java.net.Socket createSocket(java.net.Socket socket,
                                    java.lang.String host,
                                    int port,
                                    boolean autoclose,
                                    Context context)
                             throws java.io.IOException
Specified by:
createSocket in interface ISocketFactory
Parameters:
socket -
host -
port -
autoclose -
Throws:
java.io.IOException

createSocket

public java.net.Socket createSocket(java.net.InetAddress hostAddress,
                                    int port,
                                    Context context)
                             throws java.io.IOException
Specified by:
createSocket in interface ISocketFactory
Parameters:
hostAddress -
port -
Throws:
java.io.IOException

createSocket

public java.net.Socket createSocket(java.net.InetAddress localAddress,
                                    int localPort,
                                    java.net.InetAddress remoteAddress,
                                    int remotePort,
                                    Context context)
                             throws java.io.IOException
Specified by:
createSocket in interface ISocketFactory
Parameters:
localAddress -
localPort -
remoteAddress -
remotePort -
Throws:
java.io.IOException

createServerSocket

public java.net.ServerSocket createServerSocket(int port,
                                                int backlog,
                                                java.net.InetAddress address,
                                                Context context)
                                         throws java.io.IOException
Specified by:
createServerSocket in interface ISocketFactory
Parameters:
port -
backlog -
address -
Throws:
java.io.IOException

getProtocol

public java.lang.String getProtocol()
Specified by:
getProtocol in interface ISocketFactory


copyright© 2001-2004 by webMethods All Rights Reserved.