org.activeio.oneport
Class OpenORBOpenPortSocketFactory

java.lang.Object
  extended by org.activeio.oneport.OpenORBOpenPortSocketFactory
All Implemented Interfaces:
org.openorb.orb.net.SocketFactory

public class OpenORBOpenPortSocketFactory
extends Object
implements org.openorb.orb.net.SocketFactory


Constructor Summary
OpenORBOpenPortSocketFactory(OnePortAsyncChannelServer channelServer)
           
 
Method Summary
 ServerSocket createServerSocket(InetAddress address, int port)
          Server sockets bind against the OnePortAsyncChannelServer.
 Socket createSocket(InetAddress address, int port)
          Outbound sockets are normal.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OpenORBOpenPortSocketFactory

public OpenORBOpenPortSocketFactory(OnePortAsyncChannelServer channelServer)
Method Detail

createSocket

public Socket createSocket(InetAddress address,
                           int port)
                    throws IOException
Outbound sockets are normal.

Specified by:
createSocket in interface org.openorb.orb.net.SocketFactory
Throws:
IOException

createServerSocket

public ServerSocket createServerSocket(InetAddress address,
                                       int port)
                                throws IOException
Server sockets bind against the OnePortAsyncChannelServer.

Specified by:
createServerSocket in interface org.openorb.orb.net.SocketFactory
Throws:
IOException


Copyright © -2009 The ActiveIO Project. All Rights Reserved.