org.activeio.adapter
Class AsyncToSyncChannelFactory
java.lang.Object
org.activeio.adapter.AsyncToSyncChannelFactory
- All Implemented Interfaces:
- SyncChannelFactory
public final class AsyncToSyncChannelFactory
- extends Object
- implements SyncChannelFactory
- Version:
- $Revision$
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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.