org.jacorb.orb.factory

Class FixedAddressSocketFactory

public class FixedAddressSocketFactory extends AbstractSocketFactory

a SocketFactory implementation that allows to specify the local address the socket should be bound to. the factory will read the attribute OAIAddr from the configuration and use the specified value to configure the sockets it creates.

Version: $Id: FixedAddressSocketFactory.java,v 1.6 2006/11/24 14:15:37 alphonse.bendt Exp $

Author: Nicolas Noffke

Method Summary
voidconfigure(Configuration config)
SocketcreateSocket(String host, int port)
SocketdoCreateSocket(String host, int port, int timeout)
booleanisSSL(Socket socket)

Method Detail

configure

public void configure(Configuration config)

createSocket

public Socket createSocket(String host, int port)

doCreateSocket

public Socket doCreateSocket(String host, int port, int timeout)

isSSL

public boolean isSSL(Socket socket)