|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Future
An internal Future implementation used by Transport to notify Socket when the
transport has connected and available.
| Method Summary | |
|---|---|
void |
close()
Close the underlying Socket |
void |
done()
Mark this instance as done. |
Future |
finishOrThrowException()
Mark the future done. |
Future |
fire(java.lang.Object message)
Send data to the remote Server. |
Future |
ioException(java.io.IOException t)
If an exception occurs, the Transport will set it using this method. |
| Methods inherited from interface java.util.concurrent.Future |
|---|
cancel, get, get, isCancelled, isDone |
| Method Detail |
|---|
Future fire(java.lang.Object message)
throws java.io.IOException
message - the message to fire
Future
java.io.IOException
Future finishOrThrowException()
throws java.io.IOException
Future
java.io.IOExceptionFuture ioException(java.io.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
Futurevoid done()
void close()
Socket
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||