public class RoutableReference extends Reference
Reference.GetConnectionCallback_compress, _hashInitialized, _hashValue, _overrideCompress, ModeBatchDatagram, ModeBatchOneway, ModeDatagram, ModeLast, ModeOneway, ModeTwoway| Modifier | Constructor and Description |
|---|---|
protected |
RoutableReference(Instance instance,
Communicator communicator,
Identity identity,
java.lang.String facet,
int mode,
boolean secure,
ProtocolVersion protocol,
EncodingVersion encoding,
EndpointI[] endpoints,
java.lang.String adapterId,
LocatorInfo locatorInfo,
RouterInfo routerInfo,
boolean collocationOptimized,
boolean cacheConnection,
boolean prefereSecure,
EndpointSelectionType endpointSelection,
int locatorCacheTimeout,
int invocationTimeout,
java.util.Map<java.lang.String,java.lang.String> context) |
changeContext, changeFacet, changeIdentity, changeInvocationTimeout, changeMode, changeSecure, clone, getCommunicator, getContext, getEncoding, getFacet, getIdentity, getInstance, getInvocationTimeout, getMode, getProtocol, getSecureprotected RoutableReference(Instance instance, Communicator communicator, Identity identity, java.lang.String facet, int mode, boolean secure, ProtocolVersion protocol, EncodingVersion encoding, EndpointI[] endpoints, java.lang.String adapterId, LocatorInfo locatorInfo, RouterInfo routerInfo, boolean collocationOptimized, boolean cacheConnection, boolean prefereSecure, EndpointSelectionType endpointSelection, int locatorCacheTimeout, int invocationTimeout, java.util.Map<java.lang.String,java.lang.String> context)
public final EndpointI[] getEndpoints()
getEndpoints in class Referencepublic final java.lang.String getAdapterId()
getAdapterId in class Referencepublic final LocatorInfo getLocatorInfo()
getLocatorInfo in class Referencepublic final RouterInfo getRouterInfo()
getRouterInfo in class Referencepublic final boolean getCollocationOptimized()
getCollocationOptimized in class Referencepublic final boolean getCacheConnection()
getCacheConnection in class Referencepublic final boolean getPreferSecure()
getPreferSecure in class Referencepublic final EndpointSelectionType getEndpointSelection()
getEndpointSelection in class Referencepublic final int getLocatorCacheTimeout()
getLocatorCacheTimeout in class Referencepublic final java.lang.String getConnectionId()
getConnectionId in class Referencepublic Reference changeEncoding(EncodingVersion newEncoding)
changeEncoding in class Referencepublic Reference changeCompress(boolean newCompress)
changeCompress in class Referencepublic Reference changeEndpoints(EndpointI[] newEndpoints)
changeEndpoints in class Referencepublic Reference changeAdapterId(java.lang.String newAdapterId)
changeAdapterId in class Referencepublic Reference changeLocator(LocatorPrx newLocator)
changeLocator in class Referencepublic Reference changeRouter(RouterPrx newRouter)
changeRouter in class Referencepublic Reference changeCollocationOptimized(boolean newCollocationOptimized)
changeCollocationOptimized in class Referencepublic final Reference changeCacheConnection(boolean newCache)
changeCacheConnection in class Referencepublic Reference changePreferSecure(boolean newPreferSecure)
changePreferSecure in class Referencepublic final Reference changeEndpointSelection(EndpointSelectionType newType)
changeEndpointSelection in class Referencepublic Reference changeLocatorCacheTimeout(int newTimeout)
changeLocatorCacheTimeout in class Referencepublic Reference changeTimeout(int newTimeout)
changeTimeout in class Referencepublic Reference changeConnectionId(java.lang.String id)
changeConnectionId in class Referencepublic boolean isIndirect()
isIndirect in class Referencepublic boolean isWellKnown()
isWellKnown in class Referencepublic void streamWrite(BasicStream s) throws MarshalException
streamWrite in class ReferenceMarshalExceptionpublic java.util.Map<java.lang.String,java.lang.String> toProperty(java.lang.String prefix)
toProperty in class Referencepublic RequestHandler getRequestHandler(ObjectPrxHelperBase proxy)
getRequestHandler in class Referencepublic BatchRequestQueue getBatchRequestQueue()
getBatchRequestQueue in class Referencepublic void getConnection(Reference.GetConnectionCallback callback)
public void getConnectionNoRouterInfo(Reference.GetConnectionCallback callback)
protected void applyOverrides(EndpointI[] endpts)
protected void createConnection(EndpointI[] allEndpoints, Reference.GetConnectionCallback callback)