org.otfeed.support.alt
Interface IOutboundConnectionFactory

All Known Implementing Classes:
OtfeedConnectionFactory, OutboundConnectionFactoryAdapter

public interface IOutboundConnectionFactory

Factory of synchronous connections to the Opentick server.


Method Summary
 IOutboundConnection getConnection(OTConnectionSpec spec)
          Opens a connection to the server, using provided connection parameters.
 

Method Detail

getConnection

IOutboundConnection getConnection(OTConnectionSpec spec)
                                  throws OTException
Opens a connection to the server, using provided connection parameters.

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.