org.teiid.transport
Class LocalServerConnection
java.lang.Object
org.teiid.transport.LocalServerConnection
- All Implemented Interfaces:
- ServerConnection
public class LocalServerConnection
- extends java.lang.Object
- implements ServerConnection
Constructor Summary |
LocalServerConnection(java.util.Properties connectionProperties,
boolean useCallingThread)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LocalServerConnection
public LocalServerConnection(java.util.Properties connectionProperties,
boolean useCallingThread)
throws CommunicationException,
ConnectionException
- Throws:
CommunicationException
ConnectionException
getClientServiceRegistry
protected ClientServiceRegistry getClientServiceRegistry()
authenticate
public void authenticate()
throws ConnectionException,
CommunicationException
- Specified by:
authenticate
in interface ServerConnection
- Throws:
ConnectionException
CommunicationException
getService
public <T> T getService(java.lang.Class<T> iface)
- Specified by:
getService
in interface ServerConnection
isOpen
public boolean isOpen(long msToTest)
- Specified by:
isOpen
in interface ServerConnection
close
public void close()
- Specified by:
close
in interface ServerConnection
getLogonResult
public LogonResult getLogonResult()
- Specified by:
getLogonResult
in interface ServerConnection
isSameInstance
public boolean isSameInstance(ServerConnection conn)
throws CommunicationException
- Specified by:
isSameInstance
in interface ServerConnection
- Throws:
CommunicationException
cleanUp
public void cleanUp()
- Specified by:
cleanUp
in interface ServerConnection
Copyright © 2011. All Rights Reserved.