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 SocketOrChannelContactInfoImpl
author
Harold Carr

Fields Summary
protected ORBUtilSystemException
wrapper
protected SocketInfo
socketInfo
Constructors Summary
public SocketFactoryContactInfoImpl()

    
public SocketFactoryContactInfoImpl(ORB orb, CorbaContactInfoList contactInfoList, IOR effectiveTargetIOR, short addressingDisposition, 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
	    + "]";