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, orb
IIOP_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, setConnectionCache
protected 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()
ContactInfo
Connection
will be present in an invocation.
For example, it may be
false
in the case of shared-memory
Input/OutputObjects
.isConnectionBased
in interface ContactInfo
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.shouldCacheConnection
in interface ContactInfo
true
if
Connection
s
created by this ContactInfo
should be cached.public String getConnectionCacheType()
ContactInfo
ContactInfo
as given by getConnectionCacheType
.getConnectionCacheType
in interface ContactInfo
String
public Connection createConnection()
ContactInfo
Connection
to send and receive messages on the specific transport
represented by this ContactInfo
.createConnection
in interface ContactInfo
Connection
public String getMonitoringName()
getMonitoringName
in interface CorbaContactInfo
public String getType()
getType
in interface SocketInfo
public String getHost()
getHost
in interface SocketInfo
public int getPort()
getPort
in interface SocketInfo
public int hashCode()
ContactInfo
ContactInfo
.hashCode
in interface ContactInfo
hashCode
in class Object
public String toString()
toString
in class CorbaContactInfoBase
protected void dprint(String msg)
dprint
in class CorbaContactInfoBase
Copyright © 2016 JBoss by Red Hat. All rights reserved.