public class ContactInfoImpl extends ContactInfoBase 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, SSL_PREFIX| Modifier | Constructor and Description |
|---|---|
protected |
ContactInfoImpl() |
protected |
ContactInfoImpl(ORB orb,
ContactInfoList contactInfoList) |
|
ContactInfoImpl(ORB orb,
ContactInfoList contactInfoList,
IOR effectiveTargetIOR,
short addressingDisposition,
String socketType,
String hostname,
int port) |
|
ContactInfoImpl(ORB orb,
ContactInfoList contactInfoList,
String socketType,
String hostname,
int port) |
| Modifier and Type | Method and Description |
|---|---|
Connection |
createConnection() |
protected void |
dprint(String msg) |
boolean |
equals(Object obj) |
String |
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 CorbaConnection
will be present in an invocation.
|
boolean |
shouldCacheConnection()
Used to determine if the CorbaConnection
used for a request should be cached.
|
String |
toString() |
createMessageMediator, createOutputObject, 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 ContactInfoImpl()
protected ContactInfoImpl(ORB orb, ContactInfoList contactInfoList)
public ContactInfoImpl(ORB orb, ContactInfoList contactInfoList, String socketType, String hostname, int port)
public ContactInfoImpl(ORB orb, ContactInfoList contactInfoList, IOR effectiveTargetIOR, short addressingDisposition, String socketType, String hostname, int port)
public boolean isConnectionBased()
ContactInfofalse in the case of shared-memory
Input/OutputObjects.isConnectionBased in interface ContactInfotrue if a CorbaConnection
will be used for an invocation.public boolean shouldCacheConnection()
ContactInfotrue then the ORB will attempt to reuse an existing
CorbaConnection. If
one is not found it will create a new one and cache it for future use.shouldCacheConnection in interface ContactInfotrue if a CorbaConnection
created by this ContactInfo should be cached.public String getConnectionCacheType()
getConnectionCacheType in interface ContactInfopublic Connection createConnection()
createConnection in interface ContactInfopublic String getMonitoringName()
getMonitoringName in interface ContactInfopublic 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 ContactInfoBaseprotected void dprint(String msg)
Copyright © 2017–2019 Eclipse Foundation. All rights reserved.