org.activeio.adapter
Class AsyncToSyncChannelFactory

java.lang.Object
  extended byorg.activeio.adapter.AsyncToSyncChannelFactory
All Implemented Interfaces:
SyncChannelFactory

public final class AsyncToSyncChannelFactory
extends Object
implements SyncChannelFactory

Version:
$Revision$

Method Summary
static SyncChannelFactory adapt(AsyncChannelFactory channelFactory)
           
 SyncChannelServer bindSyncChannel(URI location)
          Binds a server at the URI location.
 AsyncChannelFactory getAsyncChannelFactory()
           
 SyncChannel openSyncChannel(URI location)
          Opens a connection to server.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

adapt

public static SyncChannelFactory adapt(AsyncChannelFactory channelFactory)

openSyncChannel

public SyncChannel openSyncChannel(URI location)
                            throws IOException
Description copied from interface: SyncChannelFactory
Opens a connection to server.

Specified by:
openSyncChannel in interface SyncChannelFactory
Parameters:
location -
Returns:
Throws:
IOException

bindSyncChannel

public SyncChannelServer bindSyncChannel(URI location)
                                  throws IOException
Description copied from interface: SyncChannelFactory
Binds a server at the URI location.

Specified by:
bindSyncChannel in interface SyncChannelFactory
Parameters:
location -
Returns:
Throws:
IOException

getAsyncChannelFactory

public AsyncChannelFactory getAsyncChannelFactory()


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