synergynetframework.appsystem.contentsystem.items.utils.vnc
Interface SocketFactory


public interface SocketFactory

A factory for creating Socket objects.


Method Summary
 java.net.Socket createSocket(java.lang.String host, int port, java.applet.Applet applet)
          Creates a new Socket object.
 java.net.Socket createSocket(java.lang.String host, int port, java.lang.String[] args)
          Creates a new Socket object.
 

Method Detail

createSocket

java.net.Socket createSocket(java.lang.String host,
                             int port,
                             java.applet.Applet applet)
                             throws java.io.IOException
Creates a new Socket object.

Parameters:
host - the host
port - the port
applet - the applet
Returns:
the socket
Throws:
java.io.IOException - Signals that an I/O exception has occurred.

createSocket

java.net.Socket createSocket(java.lang.String host,
                             int port,
                             java.lang.String[] args)
                             throws java.io.IOException
Creates a new Socket object.

Parameters:
host - the host
port - the port
args - the args
Returns:
the socket
Throws:
java.io.IOException - Signals that an I/O exception has occurred.