Package com.sun.corba.ee.spi.transport
Interface ContactInfo
- All Superinterfaces:
SocketInfo
- All Known Implementing Classes:
ContactInfoBase
,ContactInfoImpl
,NoConnectionCacheImpl.NCCContactInfoImpl
,SharedCDRContactInfoImpl
,SocketFactoryContactInfoImpl
-
Field Summary
Fields inherited from interface com.sun.corba.ee.spi.transport.SocketInfo
IIOP_CLEAR_TEXT, SSL_PREFIX
-
Method Summary
Modifier and TypeMethodDescriptioncreateMessageMediator
(ORB broker, ContactInfo contactInfo, Connection connection, String methodName, boolean isOneWay) createOutputObject
(MessageMediator messageMediator) short
int
hashCode()
Used to lookup artifacts associated with thisContactInfo
.boolean
Used to determine if a CorbaConnection will be present in an invocation.void
setAddressingDisposition
(short addressingDisposition) void
setConnectionCache
(OutboundConnectionCache connectionCache) boolean
Used to determine if the CorbaConnection used for a request should be cached.Methods inherited from interface com.sun.corba.ee.spi.transport.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 befalse
in the case of shared-memoryInput/OutputObjects
.- Returns:
true
if a CorbaConnection will be used for an invocation.
-
shouldCacheConnection
boolean shouldCacheConnection()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
String getConnectionCacheType() -
setConnectionCache
-
getConnectionCache
OutboundConnectionCache getConnectionCache() -
createConnection
Connection createConnection() -
createMessageMediator
MessageMediator createMessageMediator(ORB broker, ContactInfo contactInfo, Connection connection, String methodName, boolean isOneWay) -
createOutputObject
-
hashCode
int hashCode()Used to lookup artifacts associated with thisContactInfo
.
-