| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close the underlying
Socket |
void |
done()
Mark this instance as done.
|
Future |
finishOrThrowException()
Mark the future done.
|
Future |
fire(Object message)
Send data to the remote Server.
|
Future |
ioException(IOException t)
If an exception occurs, the
Transport will set it using this method. |
Future fire(Object message) throws IOException
message - the message to fireFutureIOExceptionFuture finishOrThrowException() throws IOException
FutureIOExceptionFuture ioException(IOException t)
Transport will set it using this method. An application can also
use that method to interrupt a blocking Socket.open(Request) operation. This operation
must unlock the current blocked thread.t - a IOExceptionFuturevoid done()
void close()
SocketCopyright © 2013. All Rights Reserved.