public class SharedCDRContactInfoImpl extends CorbaContactInfoBase
| Modifier and Type | Field and Description |
|---|---|
protected ORBUtilSystemException |
wrapper |
addressingDisposition, connectionCache, contactInfoList, effectiveTargetIOR, orb| Constructor and Description |
|---|
SharedCDRContactInfoImpl(ORB orb,
CorbaContactInfoList contactInfoList,
IOR effectiveTargetIOR,
short addressingDisposition) |
| Modifier and Type | Method and Description |
|---|---|
Connection |
createConnection()
Used to get a
Connection
to send and receive messages on the specific transport
represented by this ContactInfo. |
MessageMediator |
createMessageMediator(Broker broker,
ContactInfo contactInfo,
Connection connection,
String methodName,
boolean isOneWay)
Used to get a
MessageMediator
to hold internal data for a message to be sent using the specific
encoding, protocol, transport combination represented by this
ContactInfo. |
OutputObject |
createOutputObject(MessageMediator messageMediator)
Used to get a
OutputObject
for the specific encoding represented by this
ContactInfo. |
ClientRequestDispatcher |
getClientRequestDispatcher()
Used to get a
ClientRequestDispatcher
used to handle the specific protocol represented by this
ContactInfo. |
String |
getConnectionCacheType()
PEPt uses separate caches for each type of
ContactInfo
as given by getConnectionCacheType. |
String |
getMonitoringName() |
protected ORBUtilSystemException |
getWrapper() |
boolean |
isConnectionBased()
Used to determine if a
Connection
will be present in an invocation. |
boolean |
shouldCacheConnection()
Used to determine if the
Connection
used for a request should be cached. |
String |
toString() |
createInputObject, createMessageMediator, dprint, finishCreatingMessageMediator, getAddressingDisposition, getBroker, getConnectionCache, getContactInfoList, getEffectiveProfile, getEffectiveTargetIOR, getTargetIOR, setAddressingDisposition, setConnectionCacheclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waithashCodeprotected ORBUtilSystemException wrapper
public SharedCDRContactInfoImpl(ORB orb, CorbaContactInfoList contactInfoList, IOR effectiveTargetIOR, short addressingDisposition)
public ClientRequestDispatcher getClientRequestDispatcher()
ContactInfoClientRequestDispatcher
used to handle the specific protocol represented by this
ContactInfo.getClientRequestDispatcher in interface ContactInfogetClientRequestDispatcher in class CorbaContactInfoBaseClientRequestDispatcherpublic boolean isConnectionBased()
ContactInfoConnection
will be present in an invocation.
For example, it may be
false in the case of shared-memory
Input/OutputObjects.true if a
Connection
will be used for an invocation.public boolean shouldCacheConnection()
ContactInfoConnection
used for a request should be cached.
If true then PEPt will attempt to reuse an existing
Connection. If
one is not found it will create a new one and cache it for future use.true if
Connections
created by this ContactInfo should be cached.public String getConnectionCacheType()
ContactInfoContactInfo
as given by getConnectionCacheType.Stringpublic Connection createConnection()
ContactInfoConnection
to send and receive messages on the specific transport
represented by this ContactInfo.Connectionpublic MessageMediator createMessageMediator(Broker broker, ContactInfo contactInfo, Connection connection, String methodName, boolean isOneWay)
ContactInfoMessageMediator
to hold internal data for a message to be sent using the specific
encoding, protocol, transport combination represented by this
ContactInfo.createMessageMediator in interface ContactInfocreateMessageMediator in class CorbaContactInfoBaseMessageMediatorpublic OutputObject createOutputObject(MessageMediator messageMediator)
ContactInfoOutputObject
for the specific encoding represented by this
ContactInfo.createOutputObject in interface ContactInfocreateOutputObject in class CorbaContactInfoBaseOutputObjectpublic String getMonitoringName()
public String toString()
toString in class CorbaContactInfoBaseprotected ORBUtilSystemException getWrapper()
Copyright © 2018 JBoss by Red Hat. All rights reserved.