com.metamatrix.jdbc.transport
Class LocalTransportHandler

java.lang.Object
  extended by com.metamatrix.jdbc.transport.LocalTransportHandler
All Implemented Interfaces:
ServerConnectionFactory

public class LocalTransportHandler
extends java.lang.Object
implements ServerConnectionFactory


Constructor Summary
LocalTransportHandler(ClientSideDQP dqp)
          Default constructor - used by reflection to create a new instance.
 
Method Summary
 ServerConnection createConnection(java.util.Properties connectionProperties)
          Establish a connection to the server.
 void registerListener(ServerConnectionListener listener)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocalTransportHandler

public LocalTransportHandler(ClientSideDQP dqp)
Default constructor - used by reflection to create a new instance.

Method Detail

createConnection

public ServerConnection createConnection(java.util.Properties connectionProperties)
                                  throws ConnectionException
Description copied from interface: ServerConnectionFactory
Establish a connection to the server.

Specified by:
createConnection in interface ServerConnectionFactory
Returns:
A connection, never null
Throws:
ConnectionException - If an error occurs communicating between client and server

registerListener

public void registerListener(ServerConnectionListener listener)


Copyright © 2009. All Rights Reserved.