org.ssonet.net.impl
Class SSONETClientSocketFactory

java.lang.Object
  |
  +--org.ssonet.net.impl.SSONETClientSocketFactory
All Implemented Interfaces:
java.rmi.server.RMIClientSocketFactory, java.io.Serializable

public class SSONETClientSocketFactory
extends java.lang.Object
implements java.rmi.server.RMIClientSocketFactory, java.io.Serializable

See Also:
Serialized Form

Constructor Summary
SSONETClientSocketFactory()
           
 
Method Summary
 java.net.Socket createSocket(java.net.InetAddress hostAddr, int port)
          Creates a Socket connected to a specified host and port.
 java.net.Socket createSocket(java.lang.String host, int port)
          Creates a Socket connected to a specified host and port.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SSONETClientSocketFactory

public SSONETClientSocketFactory()
Method Detail

createSocket

public java.net.Socket createSocket(java.lang.String host,
                                    int port)
                             throws java.io.IOException
Creates a Socket connected to a specified host and port.

Specified by:
createSocket in interface java.rmi.server.RMIClientSocketFactory
Parameters:
host - the server hostname
port - the server port
Returns:
the socket
java.io.IOException

createSocket

public java.net.Socket createSocket(java.net.InetAddress hostAddr,
                                    int port)
                             throws java.io.IOException
Creates a Socket connected to a specified host and port.

Parameters:
hostAddr - servers internet address
port - the server port
Returns:
the socket
java.io.IOException


Copyright © 2003 DRIM Team. All Rights Reserved.