Package com.sun.corba.ee.spi.transport
Interface ContactInfo
-
- All Superinterfaces:
SocketInfo
- All Known Implementing Classes:
ContactInfoBase
,ContactInfoImpl
,NoConnectionCacheImpl.NCCContactInfoImpl
,SharedCDRContactInfoImpl
,SocketFactoryContactInfoImpl
public interface ContactInfo extends SocketInfo
-
-
Field Summary
-
Fields inherited from interface com.sun.corba.ee.spi.transport.SocketInfo
IIOP_CLEAR_TEXT, SSL_PREFIX
-
-
Method Summary
-
Methods inherited from interface com.sun.corba.ee.spi.transport.SocketInfo
getHost, getPort, getType
-
-
-
-
Method Detail
-
getContactInfoList
ContactInfoList getContactInfoList()
-
getTargetIOR
IOR getTargetIOR()
-
getEffectiveTargetIOR
IOR getEffectiveTargetIOR()
-
getEffectiveProfile
IIOPProfile getEffectiveProfile()
-
setAddressingDisposition
void setAddressingDisposition(short addressingDisposition)
-
getAddressingDisposition
short getAddressingDisposition()
-
getMonitoringName
java.lang.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
java.lang.String getConnectionCacheType()
-
setConnectionCache
void setConnectionCache(OutboundConnectionCache connectionCache)
-
getConnectionCache
OutboundConnectionCache getConnectionCache()
-
createConnection
Connection createConnection()
-
createMessageMediator
MessageMediator createMessageMediator(ORB broker, ContactInfo contactInfo, Connection connection, java.lang.String methodName, boolean isOneWay)
-
createOutputObject
CDROutputObject createOutputObject(MessageMediator messageMediator)
-
hashCode
int hashCode()
Used to lookup artifacts associated with thisContactInfo
.- Overrides:
hashCode
in classjava.lang.Object
- Returns:
- the hash value.
-
-