FileDocCategorySizeDatePackage
SocketFactoryContactInfoImpl.javaAPI DocJava SE 5 API2412Fri Aug 26 14:54:24 BST 2005com.sun.corba.se.impl.legacy.connection

SocketFactoryContactInfoImpl

public class SocketFactoryContactInfoImpl extends com.sun.corba.se.impl.transport.SocketOrChannelContactInfoImpl
author
Harold Carr

Fields Summary
protected com.sun.corba.se.impl.logging.ORBUtilSystemException
wrapper
protected com.sun.corba.se.spi.transport.SocketInfo
socketInfo
Constructors Summary
public SocketFactoryContactInfoImpl()

    
public SocketFactoryContactInfoImpl(com.sun.corba.se.spi.orb.ORB orb, com.sun.corba.se.spi.transport.CorbaContactInfoList contactInfoList, com.sun.corba.se.spi.ior.IOR effectiveTargetIOR, short addressingDisposition, com.sun.corba.se.spi.transport.SocketInfo cookie)

	super(orb, contactInfoList);
	this.effectiveTargetIOR = effectiveTargetIOR;
        this.addressingDisposition = addressingDisposition;

	wrapper = ORBUtilSystemException.get( orb,
	    CORBALogDomains.RPC_TRANSPORT ) ;

	socketInfo = 
	    orb.getORBData().getLegacySocketFactory()
	        .getEndPointInfo(orb, effectiveTargetIOR, cookie);

	socketType = socketInfo.getType();
	hostname = socketInfo.getHost();
	port = socketInfo.getPort();
    
Methods Summary
public com.sun.corba.se.pept.transport.ConnectioncreateConnection()

	Connection connection =
	    new SocketFactoryConnectionImpl(
                orb, this,
		orb.getORBData().connectionSocketUseSelectThreadToWait(),
		orb.getORBData().connectionSocketUseWorkerThreadForEvent());
	return connection;
    
public java.lang.StringtoString()

	return
	    "SocketFactoryContactInfoImpl[" 
	    + socketType + " "
	    + hostname + " "
	    + port
	    + "]";