public class SocketOrChannelContactInfoImpl extends CorbaContactInfoBase implements SocketInfo
| Modifier and Type | Field and Description |
|---|---|
protected int |
cachedHashCode |
protected String |
hostname |
protected boolean |
isHashCodeCached |
protected int |
port |
protected String |
socketType |
addressingDisposition, connectionCache, contactInfoList, effectiveTargetIOR, orbIIOP_CLEAR_TEXT| Modifier | Constructor and Description |
|---|---|
protected |
SocketOrChannelContactInfoImpl() |
protected |
SocketOrChannelContactInfoImpl(ORB orb,
CorbaContactInfoList contactInfoList) |
|
SocketOrChannelContactInfoImpl(ORB orb,
CorbaContactInfoList contactInfoList,
IOR effectiveTargetIOR,
short addressingDisposition,
String socketType,
String hostname,
int port) |
|
SocketOrChannelContactInfoImpl(ORB orb,
CorbaContactInfoList contactInfoList,
String socketType,
String hostname,
int port) |
| 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. |
protected void |
dprint(String msg) |
boolean |
equals(Object obj) |
String |
getConnectionCacheType()
PEPt uses separate caches for each type of
ContactInfo
as given by getConnectionCacheType. |
String |
getHost() |
String |
getMonitoringName() |
int |
getPort() |
String |
getType() |
int |
hashCode()
Used to lookup artifacts associated with this
ContactInfo. |
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, createMessageMediator, createOutputObject, finishCreatingMessageMediator, getAddressingDisposition, getBroker, getClientRequestDispatcher, getConnectionCache, getContactInfoList, getEffectiveProfile, getEffectiveTargetIOR, getTargetIOR, setAddressingDisposition, setConnectionCacheprotected boolean isHashCodeCached
protected int cachedHashCode
protected String socketType
protected String hostname
protected int port
protected SocketOrChannelContactInfoImpl()
protected SocketOrChannelContactInfoImpl(ORB orb, CorbaContactInfoList contactInfoList)
public SocketOrChannelContactInfoImpl(ORB orb, CorbaContactInfoList contactInfoList, String socketType, String hostname, int port)
public SocketOrChannelContactInfoImpl(ORB orb, CorbaContactInfoList contactInfoList, IOR effectiveTargetIOR, short addressingDisposition, String socketType, String hostname, int port)
public boolean isConnectionBased()
ContactInfoConnection
will be present in an invocation.
For example, it may be
false in the case of shared-memory
Input/OutputObjects.isConnectionBased in interface ContactInfotrue 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.shouldCacheConnection in interface ContactInfotrue if
Connections
created by this ContactInfo should be cached.public String getConnectionCacheType()
ContactInfoContactInfo
as given by getConnectionCacheType.getConnectionCacheType in interface ContactInfoStringpublic Connection createConnection()
ContactInfoConnection
to send and receive messages on the specific transport
represented by this ContactInfo.createConnection in interface ContactInfoConnectionpublic String getMonitoringName()
getMonitoringName in interface CorbaContactInfopublic String getType()
getType in interface SocketInfopublic String getHost()
getHost in interface SocketInfopublic int getPort()
getPort in interface SocketInfopublic int hashCode()
ContactInfoContactInfo.hashCode in interface ContactInfohashCode in class Objectpublic String toString()
toString in class CorbaContactInfoBaseprotected void dprint(String msg)
dprint in class CorbaContactInfoBaseCopyright © 2018 JBoss by Red Hat. All rights reserved.