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
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,
ClientServiceRegistry clientServices,
SessionServiceInterface sessionService)
throws CommunicationException,
ConnectionException
- Throws:
CommunicationException
ConnectionException
authenticate
public LogonResult authenticate(java.util.Properties connProps)
throws ConnectionException,
CommunicationException
- Throws:
ConnectionException
CommunicationException
getService
public <T> T getService(java.lang.Class<T> iface)
- Specified by:
getService
in interface ServerConnection
isOpen
public boolean isOpen()
- Specified by:
isOpen
in interface ServerConnection
shutdown
public void shutdown()
- Specified by:
shutdown
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
Copyright © 2009. All Rights Reserved.