org.activeio
Interface StreamChannelFactory

All Known Implementing Classes:
SocketStreamChannelFactory

public interface StreamChannelFactory

StreamChannelFactory objects can create StreamChannel and StreamChannelServer objects.

Version:
$Revision$

Method Summary
 StreamChannelServer bindStreamChannel(URI location)
          Binds a server at the URI location.
 StreamChannel openStreamChannel(URI location)
          Opens a connection to server.
 

Method Detail

openStreamChannel

StreamChannel openStreamChannel(URI location)
                                throws IOException
Opens a connection to server.

Parameters:
location -
Returns:
Throws:
IOException

bindStreamChannel

StreamChannelServer bindStreamChannel(URI location)
                                      throws IOException
Binds a server at the URI location.

Parameters:
location -
Returns:
Throws:
IOException


Copyright © -2009 The ActiveIO Project. All Rights Reserved.