|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface IO.Handle
An immutable handle to a Java NIO Channel. Contains a reference to the
ActorRef
that will receive events related to the Channel,
a reference to the IOManager
that manages the Channel, and
a UUID
to uniquely identify the Channel.
Method Summary | |
---|---|
IO.ReadHandle |
asReadable()
|
IO.ServerHandle |
asServer()
|
IO.SocketHandle |
asSocket()
|
IO.WriteHandle |
asWritable()
|
void |
close()
Sends a request to the IOManager to close the Channel
associated with this IO.Handle . |
int |
hashCode()
|
ActorRef |
ioManager()
|
ActorRef |
owner()
|
java.util.UUID |
uuid()
|
Method Detail |
---|
ActorRef owner()
ActorRef ioManager()
java.util.UUID uuid()
int hashCode()
hashCode
in class java.lang.Object
IO.ReadHandle asReadable()
IO.WriteHandle asWritable()
IO.SocketHandle asSocket()
IO.ServerHandle asServer()
void close()
IOManager
to close the Channel
associated with this IO.Handle
.
This can also be performed by sending IO.Close
to the
IOManager
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |