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, boolean useCallingThread)
           
 
Method Summary
 void authenticate()
           
 void cleanUp()
           
 void close()
           
protected  ClientServiceRegistry getClientServiceRegistry()
           
 LogonResult getLogonResult()
           
<T> T
getService(java.lang.Class<T> iface)
           
 boolean isOpen(long msToTest)
           
 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,
                             boolean useCallingThread)
                      throws CommunicationException,
                             ConnectionException
Throws:
CommunicationException
ConnectionException
Method Detail

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.