org.otfeed.support.alt
Class OutboundConnectionFactoryAdapter

java.lang.Object
  extended by org.otfeed.support.alt.OutboundConnectionFactoryAdapter
All Implemented Interfaces:
IOutboundConnectionFactory

public class OutboundConnectionFactoryAdapter
extends java.lang.Object
implements IOutboundConnectionFactory


Constructor Summary
OutboundConnectionFactoryAdapter(IConnectionFactory f)
           
 
Method Summary
 IOutboundConnection getConnection(OTConnectionSpec spec)
          Opens a connection to the server, using provided connection parameters.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OutboundConnectionFactoryAdapter

public OutboundConnectionFactoryAdapter(IConnectionFactory f)
Method Detail

getConnection

public IOutboundConnection getConnection(OTConnectionSpec spec)
                                  throws OTException
Description copied from interface: IOutboundConnectionFactory
Opens a connection to the server, using provided connection parameters.

Specified by:
getConnection in interface IOutboundConnectionFactory
Parameters:
spec - connection parameters. Null may be acceptable (see docs of implementing classes).
Returns:
connection object.
Throws:
OTException - if something goes wrong.


Copyright © 2007-2008 Mike Kroutikov. All Rights Reserved.