FileDocCategorySizeDatePackage
SharedCDRContactInfoImpl.javaAPI DocJava SE 6 API4475Tue Jun 10 00:21:44 BST 2008com.sun.corba.se.impl.transport

SharedCDRContactInfoImpl

public class SharedCDRContactInfoImpl extends CorbaContactInfoBase

Fields Summary
private static int
requestId
protected com.sun.corba.se.impl.logging.ORBUtilSystemException
wrapper
Constructors Summary
public SharedCDRContactInfoImpl(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)


     
         
	 
	 
	 
    
	this.orb = orb;
	this.contactInfoList = contactInfoList;
	this.effectiveTargetIOR = effectiveTargetIOR;
        this.addressingDisposition = addressingDisposition;
    
Methods Summary
public com.sun.corba.se.pept.transport.ConnectioncreateConnection()

	throw getWrapper().methodShouldNotBeCalled();
    
public com.sun.corba.se.pept.protocol.MessageMediatorcreateMessageMediator(com.sun.corba.se.pept.broker.Broker broker, com.sun.corba.se.pept.transport.ContactInfo contactInfo, com.sun.corba.se.pept.transport.Connection connection, java.lang.String methodName, boolean isOneWay)

	if (connection != null) {
	    /// XXX LOGGING
	    throw new RuntimeException("connection is not null");
	}

	CorbaMessageMediator messageMediator =
 	    new CorbaMessageMediatorImpl(
	        (ORB) broker,
		contactInfo,
 		null, // Connection;
 		GIOPVersion.chooseRequestVersion( (ORB)broker,
		     effectiveTargetIOR),
 		effectiveTargetIOR,
		requestId++, // Fake RequestId
 		getAddressingDisposition(),
 		methodName,
 		isOneWay);

	return messageMediator;
    
public com.sun.corba.se.pept.encoding.OutputObjectcreateOutputObject(com.sun.corba.se.pept.protocol.MessageMediator messageMediator)

	CorbaMessageMediator corbaMessageMediator = (CorbaMessageMediator)
	    messageMediator;
	// NOTE: GROW.
	OutputObject outputObject = 
	    new CDROutputObject(orb, messageMediator, 
				corbaMessageMediator.getRequestHeader(),
				corbaMessageMediator.getStreamFormatVersion(),
				BufferManagerFactory.GROW);
	messageMediator.setOutputObject(outputObject);
	return outputObject;
    
public com.sun.corba.se.pept.protocol.ClientRequestDispatchergetClientRequestDispatcher()

	// REVISIT - use registry
	return new SharedCDRClientRequestDispatcherImpl();
    
public java.lang.StringgetConnectionCacheType()

	throw getWrapper().methodShouldNotBeCalled();
    
public java.lang.StringgetMonitoringName()

	throw getWrapper().methodShouldNotBeCalled();
    
protected com.sun.corba.se.impl.logging.ORBUtilSystemExceptiongetWrapper()

	if (wrapper == null) {
	    wrapper = ORBUtilSystemException.get( orb,
	                  CORBALogDomains.RPC_TRANSPORT ) ;
	}
	return wrapper;
    
public booleanisConnectionBased()

	return false;
    
public booleanshouldCacheConnection()

	return false;
    
public java.lang.StringtoString()

	return
	    "SharedCDRContactInfoImpl[" 
	    + "]";