|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.activeio.ChannelFactory
A ChannelFactoryuses the requested URI's scheme to determine the
actual org.activeio.SynchChannelFactoryor
AsyncChannelFactoryimplementation to use to create it's
Channels and ChannelServers.
Each URI scheme that ChannelFactoryobject handles will have a
properties file located at: "META-INF/org.activeio.ChannelFactory/{scheme}".
| Field Summary | |
static Executor |
DEFAULT_EXECUTOR
|
| Constructor Summary | |
ChannelFactory()
|
|
| Method Summary | |
AsyncChannelServer |
bindAsyncChannel(URI location)
Binds a server at the URI location. |
SyncChannelServer |
bindSyncChannel(URI location)
Binds a server at the URI location. |
AsyncChannel |
openAsyncChannel(URI location)
Opens a connection to server. |
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 |
| Field Detail |
public static final Executor DEFAULT_EXECUTOR
| Constructor Detail |
public ChannelFactory()
| Method Detail |
public SyncChannel openSyncChannel(URI location)
throws IOException
SyncChannelFactory
openSyncChannel in interface SyncChannelFactorylocation -
IOException
public SyncChannelServer bindSyncChannel(URI location)
throws IOException
SyncChannelFactory
bindSyncChannel in interface SyncChannelFactorylocation -
IOException
public AsyncChannel openAsyncChannel(URI location)
throws IOException
AsyncChannelFactory
openAsyncChannel in interface AsyncChannelFactorylocation -
IOException
public AsyncChannelServer bindAsyncChannel(URI location)
throws IOException
AsyncChannelFactory
bindAsyncChannel in interface AsyncChannelFactorylocation -
IOException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||