Package com.sun.corba.se.impl.transport
Class CorbaContactInfoBase
java.lang.Object
com.sun.corba.se.impl.transport.CorbaContactInfoBase
- All Implemented Interfaces:
ContactInfo,CorbaContactInfo
- Direct Known Subclasses:
SharedCDRContactInfoImpl,SocketOrChannelContactInfoImpl
- Author:
- Harold Carr
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected shortprotected OutboundConnectionCacheprotected CorbaContactInfoListprotected IORprotected ORB -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateInputObject(Broker broker, MessageMediator messageMediator) Used to get aInputObjectfor the specific encoding represented by thisContactInfo.createMessageMediator(Broker broker, Connection conn) Used to get aMessageMediatorto hold internal data for a message received using the specific encoding, protocol, transport combination 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.protected voidfinishCreatingMessageMediator(Broker broker, Connection conn, MessageMediator messageMediator) Used to finish creating aMessageMediatorwith internal data for a message received using the specific encoding, protocol, transport combination represented by thisContactInfo.shortTheBrokerassociated with an invocation.Used to get aClientRequestDispatcherused to handle the specific protocol represented by thisContactInfo.Get theOutboundConnectionCacheused by thisContactInfoPEPt uses separate caches for each type ofContactInfoas given byContactInfo.getConnectionCacheType().The parentContactInfoListfor thisContactInfo.voidsetAddressingDisposition(short addressingDisposition) voidsetConnectionCache(OutboundConnectionCache connectionCache) Set theOutboundConnectionCacheto be used by thisContactInfo.toString()Methods 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
createConnection, getConnectionCacheType, hashCode, isConnectionBased, shouldCacheConnectionMethods inherited from interface com.sun.corba.se.spi.transport.CorbaContactInfo
getMonitoringName
-
Field Details
-
orb
-
contactInfoList
-
effectiveTargetIOR
-
addressingDisposition
protected short addressingDisposition -
connectionCache
-
-
Constructor Details
-
CorbaContactInfoBase
public CorbaContactInfoBase()
-
-
Method Details
-
getBroker
Description copied from interface:ContactInfoTheBrokerassociated with an invocation.- Specified by:
getBrokerin interfaceContactInfo- Returns:
Broker
-
getContactInfoList
Description copied from interface:ContactInfoThe parentContactInfoListfor thisContactInfo.- Specified by:
getContactInfoListin interfaceContactInfo- Returns:
ContactInfoList
-
getClientRequestDispatcher
Description copied from interface:ContactInfoUsed to get aClientRequestDispatcherused to handle the specific protocol represented by thisContactInfo.- Specified by:
getClientRequestDispatcherin interfaceContactInfo- Returns:
ClientRequestDispatcher
-
setConnectionCache
Description copied from interface:ContactInfoSet theOutboundConnectionCacheto be used by thisContactInfo. PEPt uses separate caches for each type ofContactInfoas given byContactInfo.getConnectionCacheType().ContactInfo.setConnectionCache(com.sun.corba.se.pept.transport.OutboundConnectionCache)andContactInfo.getConnectionCache()support an optimzation to avoid hashing to find that cache.- Specified by:
setConnectionCachein interfaceContactInfo- Parameters:
connectionCache- .
-
getConnectionCache
Description copied from interface:ContactInfoGet theOutboundConnectionCacheused by thisContactInfoPEPt uses separate caches for each type ofContactInfoas given byContactInfo.getConnectionCacheType().ContactInfo.setConnectionCache(com.sun.corba.se.pept.transport.OutboundConnectionCache)andContactInfo.getConnectionCache()support an optimzation to avoid hashing to find that cache.- Specified by:
getConnectionCachein interfaceContactInfo- Returns:
ConnectionCache
-
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- Returns:
MessageMediator
-
createMessageMediator
Description copied from interface:ContactInfoUsed to get aMessageMediatorto hold internal data for a message received using the specific encoding, protocol, transport combination represented by thisContactInfo.- Specified by:
createMessageMediatorin interfaceContactInfo- Returns:
MessageMediator
-
finishCreatingMessageMediator
public MessageMediator finishCreatingMessageMediator(Broker broker, Connection conn, MessageMediator messageMediator) Description copied from interface:ContactInfoUsed to finish creating aMessageMediatorwith internal data for a message received using the specific encoding, protocol, transport combination represented by thisContactInfo.- Specified by:
finishCreatingMessageMediatorin interfaceContactInfo- Returns:
MessageMediator
-
createOutputObject
Description copied from interface:ContactInfoUsed to get aOutputObjectfor the specific encoding represented by thisContactInfo.- Specified by:
createOutputObjectin interfaceContactInfo- Returns:
OutputObject
-
createInputObject
Description copied from interface:ContactInfoUsed to get aInputObjectfor the specific encoding represented by thisContactInfo.- Specified by:
createInputObjectin interfaceContactInfo- Returns:
InputObject
-
getAddressingDisposition
public short getAddressingDisposition()- Specified by:
getAddressingDispositionin interfaceCorbaContactInfo
-
setAddressingDisposition
public void setAddressingDisposition(short addressingDisposition) - Specified by:
setAddressingDispositionin interfaceCorbaContactInfo
-
getTargetIOR
- Specified by:
getTargetIORin interfaceCorbaContactInfo
-
getEffectiveTargetIOR
- Specified by:
getEffectiveTargetIORin interfaceCorbaContactInfo
-
getEffectiveProfile
- Specified by:
getEffectiveProfilein interfaceCorbaContactInfo
-
toString
-
dprint
-