Package com.sun.corba.se.impl.transport
Class SharedCDRContactInfoImpl
java.lang.Object
com.sun.corba.se.impl.transport.CorbaContactInfoBase
com.sun.corba.se.impl.transport.SharedCDRContactInfoImpl
- All Implemented Interfaces:
ContactInfo,CorbaContactInfo
-
Field Summary
FieldsFields inherited from class com.sun.corba.se.impl.transport.CorbaContactInfoBase
addressingDisposition, connectionCache, contactInfoList, effectiveTargetIOR, orb -
Constructor Summary
ConstructorsConstructorDescriptionSharedCDRContactInfoImpl(ORB orb, CorbaContactInfoList contactInfoList, IOR effectiveTargetIOR, short addressingDisposition) -
Method Summary
Modifier and TypeMethodDescriptionUsed to get aConnectionto send and receive messages on the specific transport represented by thisContactInfo.createMessageMediator(Broker broker, ContactInfo contactInfo, Connection connection, String methodName, boolean isOneWay) Used to get aMessageMediatorto hold internal data for a message to be sent using the specific encoding, protocol, transport combination represented by thisContactInfo.createOutputObject(MessageMediator messageMediator) Used to get aOutputObjectfor the specific encoding represented by thisContactInfo.Used to get aClientRequestDispatcherused to handle the specific protocol represented by thisContactInfo.PEPt uses separate caches for each type ofContactInfoas given bygetConnectionCacheType.protected ORBUtilSystemExceptionbooleanUsed to determine if aConnectionwill be present in an invocation.booleanUsed to determine if theConnectionused for a request should be cached.toString()Methods inherited from class com.sun.corba.se.impl.transport.CorbaContactInfoBase
createInputObject, createMessageMediator, dprint, finishCreatingMessageMediator, getAddressingDisposition, getBroker, getConnectionCache, getContactInfoList, getEffectiveProfile, getEffectiveTargetIOR, getTargetIOR, setAddressingDisposition, setConnectionCacheMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.sun.corba.se.pept.transport.ContactInfo
hashCode
-
Field Details
-
wrapper
-
-
Constructor Details
-
SharedCDRContactInfoImpl
public SharedCDRContactInfoImpl(ORB orb, CorbaContactInfoList contactInfoList, IOR effectiveTargetIOR, short addressingDisposition)
-
-
Method Details
-
getClientRequestDispatcher
Description copied from interface:ContactInfoUsed to get aClientRequestDispatcherused to handle the specific protocol represented by thisContactInfo.- Specified by:
getClientRequestDispatcherin interfaceContactInfo- Overrides:
getClientRequestDispatcherin classCorbaContactInfoBase- Returns:
ClientRequestDispatcher
-
isConnectionBased
public boolean isConnectionBased()Description copied from interface:ContactInfoUsed to determine if aConnectionwill be present in an invocation. For example, it may befalsein the case of shared-memoryInput/OutputObjects.- Returns:
trueif aConnectionwill be used for an invocation.
-
shouldCacheConnection
public boolean shouldCacheConnection()Description copied from interface:ContactInfoUsed to determine if theConnectionused for a request should be cached. Iftruethen PEPt will attempt to reuse an existingConnection. If one is not found it will create a new one and cache it for future use.- Returns:
trueifConnections created by thisContactInfoshould be cached.
-
getConnectionCacheType
Description copied from interface:ContactInfoPEPt uses separate caches for each type ofContactInfoas given bygetConnectionCacheType.- Returns:
String
-
createConnection
Description copied from interface:ContactInfoUsed to get aConnectionto send and receive messages on the specific transport represented by thisContactInfo.- Returns:
Connection
-
createMessageMediator
public MessageMediator createMessageMediator(Broker broker, ContactInfo contactInfo, Connection connection, String methodName, boolean isOneWay) Description copied from interface:ContactInfoUsed to get aMessageMediatorto hold internal data for a message to be sent using the specific encoding, protocol, transport combination represented by thisContactInfo.- Specified by:
createMessageMediatorin interfaceContactInfo- Overrides:
createMessageMediatorin classCorbaContactInfoBase- Returns:
MessageMediator
-
createOutputObject
Description copied from interface:ContactInfoUsed to get aOutputObjectfor the specific encoding represented by thisContactInfo.- Specified by:
createOutputObjectin interfaceContactInfo- Overrides:
createOutputObjectin classCorbaContactInfoBase- Returns:
OutputObject
-
getMonitoringName
-
toString
- Overrides:
toStringin classCorbaContactInfoBase
-
getWrapper
-