public abstract class CorbaContactInfoBase extends Object implements CorbaContactInfo
Modifier and Type | Field and Description |
---|---|
protected short |
addressingDisposition |
protected OutboundConnectionCache |
connectionCache |
protected CorbaContactInfoList |
contactInfoList |
protected IOR |
effectiveTargetIOR |
protected ORB |
orb |
Constructor and Description |
---|
CorbaContactInfoBase() |
Modifier and Type | Method and Description |
---|---|
InputObject |
createInputObject(Broker broker,
MessageMediator messageMediator)
Used to get a
InputObject
for the specific encoding represented by this
ContactInfo . |
MessageMediator |
createMessageMediator(Broker broker,
Connection conn)
Used to get a
MessageMediator
to hold internal data for a message received using the specific
encoding, protocol, transport combination 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 . |
protected void |
dprint(String msg) |
MessageMediator |
finishCreatingMessageMediator(Broker broker,
Connection conn,
MessageMediator messageMediator)
Used to finish creating a
MessageMediator
with internal data for a message received using the specific
encoding, protocol, transport combination represented by this
ContactInfo . |
short |
getAddressingDisposition() |
Broker |
getBroker()
The
Broker associated
with an invocation. |
ClientRequestDispatcher |
getClientRequestDispatcher()
Used to get a
ClientRequestDispatcher
used to handle the specific protocol represented by this
ContactInfo . |
OutboundConnectionCache |
getConnectionCache()
Get the
OutboundConnectionCache
used by this ContactInfo
PEPt uses separate caches for each type of ContactInfo
as given by ContactInfo.getConnectionCacheType() . |
ContactInfoList |
getContactInfoList()
The parent
ContactInfoList
for this ContactInfo . |
IIOPProfile |
getEffectiveProfile() |
IOR |
getEffectiveTargetIOR() |
IOR |
getTargetIOR() |
void |
setAddressingDisposition(short addressingDisposition) |
void |
setConnectionCache(OutboundConnectionCache connectionCache)
Set the
OutboundConnectionCache
to be used by this ContactInfo . |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getMonitoringName
createConnection, getConnectionCacheType, hashCode, isConnectionBased, shouldCacheConnection
protected ORB orb
protected CorbaContactInfoList contactInfoList
protected IOR effectiveTargetIOR
protected short addressingDisposition
protected OutboundConnectionCache connectionCache
public Broker getBroker()
ContactInfo
Broker
associated
with an invocation.getBroker
in interface ContactInfo
Broker
public ContactInfoList getContactInfoList()
ContactInfo
ContactInfoList
for this ContactInfo
.getContactInfoList
in interface ContactInfo
ContactInfoList
public ClientRequestDispatcher getClientRequestDispatcher()
ContactInfo
ClientRequestDispatcher
used to handle the specific protocol represented by this
ContactInfo
.getClientRequestDispatcher
in interface ContactInfo
ClientRequestDispatcher
public void setConnectionCache(OutboundConnectionCache connectionCache)
ContactInfo
OutboundConnectionCache
to be used by this ContactInfo
.
PEPt uses separate caches for each type of ContactInfo
as given by ContactInfo.getConnectionCacheType()
.
ContactInfo.setConnectionCache(com.sun.corba.se.pept.transport.OutboundConnectionCache)
and ContactInfo.getConnectionCache()
support
an optimzation to avoid hashing to find that cache.setConnectionCache
in interface ContactInfo
public OutboundConnectionCache getConnectionCache()
ContactInfo
OutboundConnectionCache
used by this ContactInfo
PEPt uses separate caches for each type of ContactInfo
as given by ContactInfo.getConnectionCacheType()
.
ContactInfo.setConnectionCache(com.sun.corba.se.pept.transport.OutboundConnectionCache)
and ContactInfo.getConnectionCache()
support
an optimzation to avoid hashing to find that cache.getConnectionCache
in interface ContactInfo
ConnectionCache
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
MessageMediator
public MessageMediator createMessageMediator(Broker broker, Connection conn)
ContactInfo
MessageMediator
to hold internal data for a message received using the specific
encoding, protocol, transport combination represented by this
ContactInfo
.createMessageMediator
in interface ContactInfo
MessageMediator
public MessageMediator finishCreatingMessageMediator(Broker broker, Connection conn, MessageMediator messageMediator)
ContactInfo
MessageMediator
with internal data for a message received using the specific
encoding, protocol, transport combination represented by this
ContactInfo
.finishCreatingMessageMediator
in interface ContactInfo
MessageMediator
public OutputObject createOutputObject(MessageMediator messageMediator)
ContactInfo
OutputObject
for the specific encoding represented by this
ContactInfo
.createOutputObject
in interface ContactInfo
OutputObject
public InputObject createInputObject(Broker broker, MessageMediator messageMediator)
ContactInfo
InputObject
for the specific encoding represented by this
ContactInfo
.createInputObject
in interface ContactInfo
InputObject
public short getAddressingDisposition()
getAddressingDisposition
in interface CorbaContactInfo
public void setAddressingDisposition(short addressingDisposition)
setAddressingDisposition
in interface CorbaContactInfo
public IOR getTargetIOR()
getTargetIOR
in interface CorbaContactInfo
public IOR getEffectiveTargetIOR()
getEffectiveTargetIOR
in interface CorbaContactInfo
public IIOPProfile getEffectiveProfile()
getEffectiveProfile
in interface CorbaContactInfo
protected void dprint(String msg)
Copyright © 2020 JBoss by Red Hat. All rights reserved.