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 fireFuture
IOException
Future finishOrThrowException() throws IOException
Future
IOException
Future 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 IOException
Future
void done()
void close()
Socket
Copyright © 2015. All Rights Reserved.