Class SharedCDRContactInfoImpl
java.lang.Object
com.sun.corba.ee.impl.transport.ContactInfoBase
com.sun.corba.ee.impl.transport.SharedCDRContactInfoImpl
- All Implemented Interfaces:
ContactInfo, SocketInfo
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate int/////////////////////////////////////////////////private static intprivate static final ORBUtilSystemExceptionFields inherited from class ContactInfoBase
addressingDisposition, connectionCache, contactInfoList, effectiveTargetIOR, orbFields inherited from interface SocketInfo
IIOP_CLEAR_TEXT, SSL_PREFIX -
Constructor Summary
ConstructorsConstructorDescriptionSharedCDRContactInfoImpl(ORB orb, ContactInfoList contactInfoList, IOR effectiveTargetIOR, short addressingDisposition) -
Method Summary
Modifier and TypeMethodDescriptioncreateMessageMediator(ORB broker, ContactInfo contactInfo, Connection connection, String methodName, boolean isOneWay) createOutputObject(MessageMediator messageMediator) booleangetHost()/////////////////////////////////////////////////intgetPort()getType()inthashCode()Used to lookup artifacts associated with thisContactInfo.booleanUsed to determine if a CorbaConnection will be present in an invocation.booleanUsed to determine if the CorbaConnection used for a request should be cached.toString()/////////////////////////////////////////////////Methods inherited from class ContactInfoBase
getAddressingDisposition, getBroker, getConnectionCache, getContactInfoList, getEffectiveProfile, getEffectiveTargetIOR, getTargetIOR, setAddressingDisposition, setConnectionCache
-
Field Details
-
requestId
private static int requestId -
wrapper
-
hashCode
private int hashCode/////////////////////////////////////////////////
-
-
Constructor Details
-
SharedCDRContactInfoImpl
public SharedCDRContactInfoImpl(ORB orb, ContactInfoList contactInfoList, IOR effectiveTargetIOR, short addressingDisposition)
-
-
Method Details
-
getType
-
getHost
-
getPort
public int getPort() -
getClientRequestDispatcher
- Specified by:
getClientRequestDispatcherin interfaceContactInfo- Overrides:
getClientRequestDispatcherin classContactInfoBase
-
isConnectionBased
public boolean isConnectionBased()Description copied from interface:ContactInfoUsed 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
public boolean shouldCacheConnection()Description copied from interface:ContactInfoUsed 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
-
createConnection
-
createMessageMediator
public MessageMediator createMessageMediator(ORB broker, ContactInfo contactInfo, Connection connection, String methodName, boolean isOneWay) - Specified by:
createMessageMediatorin interfaceContactInfo- Overrides:
createMessageMediatorin classContactInfoBase
-
createOutputObject
- Specified by:
createOutputObjectin interfaceContactInfo- Overrides:
createOutputObjectin classContactInfoBase
-
getMonitoringName
///////////////////////////////////////////////// -
hashCode
public int hashCode()Description copied from interface:ContactInfoUsed to lookup artifacts associated with thisContactInfo.- Specified by:
hashCodein interfaceContactInfo- Overrides:
hashCodein classObject- Returns:
- the hash value.
-
equals
-
toString
Description copied from class:ContactInfoBase/////////////////////////////////////////////////- Overrides:
toStringin classContactInfoBase
-