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, setConnectionCache
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
hashCode
protected ORBUtilSystemException wrapper
public SharedCDRContactInfoImpl(ORB orb, CorbaContactInfoList contactInfoList, IOR effectiveTargetIOR, short addressingDisposition)
public ClientRequestDispatcher getClientRequestDispatcher()
ContactInfo
ClientRequestDispatcher
used to handle the specific protocol represented by this
ContactInfo
.getClientRequestDispatcher
in interface ContactInfo
getClientRequestDispatcher
in class CorbaContactInfoBase
ClientRequestDispatcher
public boolean isConnectionBased()
ContactInfo
Connection
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()
ContactInfo
Connection
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
Connection
s
created by this ContactInfo
should be cached.public String getConnectionCacheType()
ContactInfo
ContactInfo
as given by getConnectionCacheType
.String
public Connection createConnection()
ContactInfo
Connection
to send and receive messages on the specific transport
represented by this ContactInfo
.Connection
public MessageMediator createMessageMediator(Broker broker, ContactInfo contactInfo, Connection connection, String methodName, boolean isOneWay)
ContactInfo
MessageMediator
to hold internal data for a message to be sent using the specific
encoding, protocol, transport combination represented by this
ContactInfo
.createMessageMediator
in interface ContactInfo
createMessageMediator
in class CorbaContactInfoBase
MessageMediator
public OutputObject createOutputObject(MessageMediator messageMediator)
ContactInfo
OutputObject
for the specific encoding represented by this
ContactInfo
.createOutputObject
in interface ContactInfo
createOutputObject
in class CorbaContactInfoBase
OutputObject
public String getMonitoringName()
public String toString()
toString
in class CorbaContactInfoBase
protected ORBUtilSystemException getWrapper()
Copyright © 2017 JBoss by Red Hat. All rights reserved.