async.net.impl
Class DefaultASyncSocket
java.lang.Object
async.net.impl.DefaultASyncSocket
- All Implemented Interfaces:
- ASyncSocket
public class DefaultASyncSocket
- extends Object
- implements ASyncSocket
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultASyncSocket
public DefaultASyncSocket(ThreadHandler handler,
InetAddress address,
ExceptionCallback<IOException> exceptionCallback)
listenOn
public RemoteControl listenOn(int port,
IOCallback ioCallback)
throws IOException
- Specified by:
listenOn in interface ASyncSocket
- Throws:
IOException
connectTo
public void connectTo(String host,
int port,
IOCallback callback)
throws IOException
- Specified by:
connectTo in interface ASyncSocket
- Throws:
IOException
Copyright © 2011. All Rights Reserved.