org.teiid.transport
Class LocalServerConnection

java.lang.Object
  extended by org.teiid.transport.LocalServerConnection
All Implemented Interfaces:
ServerConnection

public class LocalServerConnection
extends java.lang.Object
implements ServerConnection


Field Summary
 
Fields inherited from interface org.teiid.net.ServerConnection
PING_INTERVAL
 
Constructor Summary
LocalServerConnection(java.util.Properties connectionProperties)
           
 
Method Summary
 LogonResult authenticate(java.util.Properties connProps)
           
 void close()
           
protected  ClientServiceRegistry getClientServiceRegistry()
           
 LogonResult getLogonResult()
           
<T> T
getService(java.lang.Class<T> iface)
           
 ResultsFuture<?> isOpen()
           
 boolean isSameInstance(ServerConnection conn)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocalServerConnection

public LocalServerConnection(java.util.Properties connectionProperties)
                      throws CommunicationException,
                             ConnectionException
Throws:
CommunicationException
ConnectionException
Method Detail

getClientServiceRegistry

protected ClientServiceRegistry getClientServiceRegistry()

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 ResultsFuture<?> isOpen()
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


Copyright © 2010. All Rights Reserved.