|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.activeio.net.DatagramSocketSyncChannelFactory
A TcpSynchChannelFactory creates org.activeio.net.TcpSynchChannel
and org.activeio.net.TcpSynchChannelServer
objects.
Constructor Summary | |
DatagramSocketSyncChannelFactory()
|
Method Summary | |
SyncChannelServer |
bindSyncChannel(URI location)
Binds a server at the URI location. |
protected SyncChannel |
createSynchChannel(DatagramSocket socket)
|
SyncChannel |
openSyncChannel(URI location)
Uses the 's host and port to create a tcp connection to a remote host. |
SyncChannel |
openSynchChannel(URI location,
URI localLocation)
Uses the 's host and port to create a tcp connection to a remote host. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DatagramSocketSyncChannelFactory()
Method Detail |
public SyncChannel openSyncChannel(URI location) throws IOException
openSyncChannel
in interface SyncChannelFactory
location
-
IOException
org.activeio.SynchChannelFactory#openSynchChannel(java.net.URI)
public SyncChannel openSynchChannel(URI location, URI localLocation) throws IOException
IOException
protected SyncChannel createSynchChannel(DatagramSocket socket) throws IOException
socket
-
IOException
public SyncChannelServer bindSyncChannel(URI location) throws IOException
SyncChannelFactory
bindSyncChannel
in interface SyncChannelFactory
location
-
IOException
- allways thrown.org.activeio.SynchChannelFactory#bindSynchChannel(java.net.URI)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |