org.teiid.transport
Class ODBCClientInstance

java.lang.Object
  extended by org.teiid.transport.ODBCClientInstance
All Implemented Interfaces:
ChannelListener

public class ODBCClientInstance
extends java.lang.Object
implements ChannelListener


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.teiid.transport.ChannelListener
ChannelListener.ChannelListenerFactory
 
Constructor Summary
ODBCClientInstance(ObjectChannel channel, ODBCServerRemote.AuthenticationType authType, TeiidDriver driver)
           
 
Method Summary
 void disconnected()
           
 void exceptionOccurred(java.lang.Throwable t)
           
 ODBCClientRemote getClient()
           
 void onConnection()
           
 void receivedMessage(java.lang.Object msg)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ODBCClientInstance

public ODBCClientInstance(ObjectChannel channel,
                          ODBCServerRemote.AuthenticationType authType,
                          TeiidDriver driver)
Method Detail

getClient

public ODBCClientRemote getClient()

disconnected

public void disconnected()
Specified by:
disconnected in interface ChannelListener

exceptionOccurred

public void exceptionOccurred(java.lang.Throwable t)
Specified by:
exceptionOccurred in interface ChannelListener

onConnection

public void onConnection()
                  throws CommunicationException
Specified by:
onConnection in interface ChannelListener
Throws:
CommunicationException

receivedMessage

public void receivedMessage(java.lang.Object msg)
                     throws CommunicationException
Specified by:
receivedMessage in interface ChannelListener
Throws:
CommunicationException


Copyright © 2011. All Rights Reserved.