Package com.sun.corba.ee.impl.transport
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 int
private static final ORBUtilSystemException
Fields inherited from class com.sun.corba.ee.impl.transport.ContactInfoBase
addressingDisposition, connectionCache, contactInfoList, effectiveTargetIOR, orb
Fields inherited from interface com.sun.corba.ee.spi.transport.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) boolean
getHost()
int
getPort()
getType()
int
hashCode()
Used to lookup artifacts associated with thisContactInfo
.boolean
Used to determine if a CorbaConnection will be present in an invocation.boolean
Used to determine if the CorbaConnection used for a request should be cached.toString()
Methods inherited from class com.sun.corba.ee.impl.transport.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:
getClientRequestDispatcher
in interfaceContactInfo
- Overrides:
getClientRequestDispatcher
in classContactInfoBase
-
isConnectionBased
public boolean isConnectionBased()Description copied from interface:ContactInfo
Used to determine if a CorbaConnection will be present in an invocation. For example, it may befalse
in the case of shared-memoryInput/OutputObjects
.- Returns:
true
if a CorbaConnection will be used for an invocation.
-
shouldCacheConnection
public boolean shouldCacheConnection()Description copied from interface:ContactInfo
Used to determine if the CorbaConnection used for a request should be cached. Iftrue
then 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:
true
if a CorbaConnection created by thisContactInfo
should be cached.
-
getConnectionCacheType
-
createConnection
-
createMessageMediator
public MessageMediator createMessageMediator(ORB broker, ContactInfo contactInfo, Connection connection, String methodName, boolean isOneWay) - Specified by:
createMessageMediator
in interfaceContactInfo
- Overrides:
createMessageMediator
in classContactInfoBase
-
createOutputObject
- Specified by:
createOutputObject
in interfaceContactInfo
- Overrides:
createOutputObject
in classContactInfoBase
-
getMonitoringName
-
hashCode
public int hashCode()Description copied from interface:ContactInfo
Used to lookup artifacts associated with thisContactInfo
.- Specified by:
hashCode
in interfaceContactInfo
- Overrides:
hashCode
in classObject
- Returns:
- the hash value.
-
equals
-
toString
- Overrides:
toString
in classContactInfoBase
-