Interface ContactInfo
- All Superinterfaces:
SocketInfo
- All Known Implementing Classes:
ContactInfoBase, ContactInfoImpl, NoConnectionCacheImpl.NCCContactInfoImpl, SharedCDRContactInfoImpl, SocketFactoryContactInfoImpl
-
Field Summary
Fields inherited from interface SocketInfo
IIOP_CLEAR_TEXT, SSL_PREFIX -
Method Summary
Modifier and TypeMethodDescriptioncreateMessageMediator(ORB broker, ContactInfo contactInfo, Connection connection, String methodName, boolean isOneWay) createOutputObject(MessageMediator messageMediator) shortinthashCode()Used to lookup artifacts associated with thisContactInfo.booleanUsed to determine if a CorbaConnection will be present in an invocation.voidsetAddressingDisposition(short addressingDisposition) voidsetConnectionCache(OutboundConnectionCache connectionCache) booleanUsed to determine if the CorbaConnection used for a request should be cached.Methods inherited from interface SocketInfo
getHost, getPort, getType
-
Method Details
-
getContactInfoList
ContactInfoList getContactInfoList() -
getTargetIOR
IOR getTargetIOR() -
getEffectiveTargetIOR
IOR getEffectiveTargetIOR() -
getEffectiveProfile
IIOPProfile getEffectiveProfile() -
setAddressingDisposition
void setAddressingDisposition(short addressingDisposition) -
getAddressingDisposition
short getAddressingDisposition() -
getMonitoringName
String getMonitoringName() -
getBroker
ORB getBroker() -
getClientRequestDispatcher
ClientRequestDispatcher getClientRequestDispatcher() -
isConnectionBased
boolean isConnectionBased()Used to determine if a CorbaConnection will be present in an invocation. For example, it may befalsein the case of shared-memoryInput/OutputObjects.- Returns:
trueif a CorbaConnection will be used for an invocation.
-
shouldCacheConnection
boolean shouldCacheConnection()Used to determine if the CorbaConnection used for a request should be cached. Iftruethen the ORB will attempt to reuse an existing CorbaConnection. If one is not found it will create a new one and cache it for future use.- Returns:
trueif a CorbaConnection created by thisContactInfoshould be cached.
-
getConnectionCacheType
String getConnectionCacheType() -
setConnectionCache
-
getConnectionCache
OutboundConnectionCache getConnectionCache() -
createConnection
Connection createConnection() -
createMessageMediator
MessageMediator createMessageMediator(ORB broker, ContactInfo contactInfo, Connection connection, String methodName, boolean isOneWay) -
createOutputObject
-
hashCode
-