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 com.metamatrix.common.comm.api.ServerConnection
PING_INTERVAL
 
Constructor Summary
LocalServerConnection(java.util.Properties connectionProperties, ClientServiceRegistry clientServices, SessionServiceInterface sessionService)
           
 
Method Summary
 LogonResult authenticate(java.util.Properties connProps)
           
 LogonResult getLogonResult()
           
<T> T
getService(java.lang.Class<T> iface)
           
 boolean isOpen()
           
 boolean isSameInstance(ServerConnection conn)
           
 void shutdown()
           
 
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,
                             ClientServiceRegistry clientServices,
                             SessionServiceInterface sessionService)
                      throws CommunicationException,
                             ConnectionException
Throws:
CommunicationException
ConnectionException
Method Detail

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.