org.otfeed.protocol.connector
Interface ISessionStreamerFactory

All Known Implementing Classes:
LoginStreamerFactory

public interface ISessionStreamerFactory

Low-level communication interface: producer of session streamer service.


Method Summary
 org.otfeed.protocol.connector.ISessionStreamer connect(IConnectionStateListener listener)
          Creates a connection.
 void shutdown()
          Shuts down connection factory.
 

Method Detail

connect

org.otfeed.protocol.connector.ISessionStreamer connect(IConnectionStateListener listener)
                                                       throws java.io.IOException
Creates a connection. This is an asynchronous call, that will not block. To monitor connection progress, use listener parameter.

Parameters:
listener - a listener to receive connection state change events.
Throws:
java.io.IOException

shutdown

void shutdown()
Shuts down connection factory. If a connect is in progress, it will be interrupted.



Copyright © 2007 Mike Kroutikov. All Rights Reserved.