org.activeio.adapter
Class AsyncToSyncChannelFactory

java.lang.Object
  extended by org.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
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
Returns:
Throws:
IOException

getAsyncChannelFactory

public AsyncChannelFactory getAsyncChannelFactory()


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