public class LocalServerConnection extends Object implements ServerConnection
PING_INTERVAL| Constructor and Description |
|---|
LocalServerConnection(Properties connectionProperties,
boolean useCallingThread) |
| Modifier and Type | Method and Description |
|---|---|
void |
addListener(VDBLifeCycleListener listener) |
void |
authenticate() |
void |
close() |
protected ClientServiceRegistry |
getClientServiceRegistry(String transport) |
LogonResult |
getLogonResult() |
String |
getServerVersion() |
<T> T |
getService(Class<T> iface) |
DQPWorkContext |
getWorkContext() |
boolean |
isLocal() |
boolean |
isOpen(long msToTest) |
boolean |
isSameInstance(ServerConnection conn) |
static String |
jndiNameForRuntime(String embeddedTransportName) |
void |
removeListener(VDBLifeCycleListener listener) |
static boolean |
sameSubject(DQPWorkContext workContext) |
boolean |
supportsContinuous() |
public LocalServerConnection(Properties connectionProperties, boolean useCallingThread) throws CommunicationException, ConnectionException
protected ClientServiceRegistry getClientServiceRegistry(String transport)
public void authenticate()
throws ConnectionException,
CommunicationException
authenticate in interface ServerConnectionConnectionExceptionCommunicationExceptionpublic <T> T getService(Class<T> iface)
getService in interface ServerConnectionpublic static boolean sameSubject(DQPWorkContext workContext)
public boolean isOpen(long msToTest)
isOpen in interface ServerConnectionpublic void close()
close in interface ServerConnectionpublic LogonResult getLogonResult()
getLogonResult in interface ServerConnectionpublic boolean isSameInstance(ServerConnection conn) throws CommunicationException
isSameInstance in interface ServerConnectionCommunicationExceptionpublic boolean supportsContinuous()
supportsContinuous in interface ServerConnectionpublic DQPWorkContext getWorkContext()
public boolean isLocal()
isLocal in interface ServerConnectionpublic void addListener(VDBLifeCycleListener listener)
public void removeListener(VDBLifeCycleListener listener)
public String getServerVersion()
getServerVersion in interface ServerConnectionCopyright © 2020. All rights reserved.