akka.actor
Class IO.SocketHandle

java.lang.Object
  extended by akka.actor.IO.SocketHandle
All Implemented Interfaces:
IO.Handle, IO.ReadHandle, IO.WriteHandle, java.io.Serializable, scala.Equals, scala.Product
Enclosing class:
IO

public static class IO.SocketHandle
extends java.lang.Object
implements IO.ReadHandle, IO.WriteHandle, scala.Product, scala.Serializable

A IO.Handle to a SocketChannel. Instances are normally created by IOManager.connect() and IO.ServerHandle.accept().

See Also:
Serialized Form

Constructor Summary
IO.SocketHandle(ActorRef owner, ActorRef ioManager, java.util.UUID uuid)
           
 
Method Summary
 IO.SocketHandle asSocket()
           
 ActorRef ioManager()
           
 ActorRef owner()
           
 java.util.UUID uuid()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface akka.actor.IO.ReadHandle
asReadable
 
Methods inherited from interface akka.actor.IO.WriteHandle
asWritable, write
 
Methods inherited from interface akka.actor.IO.Handle
asServer, close, hashCode
 
Methods inherited from interface scala.Product
productArity, productElement, productIterator, productPrefix
 
Methods inherited from interface scala.Equals
canEqual, equals
 

Constructor Detail

IO.SocketHandle

public IO.SocketHandle(ActorRef owner,
                       ActorRef ioManager,
                       java.util.UUID uuid)
Method Detail

owner

public ActorRef owner()
Specified by:
owner in interface IO.Handle

ioManager

public ActorRef ioManager()
Specified by:
ioManager in interface IO.Handle

uuid

public java.util.UUID uuid()
Specified by:
uuid in interface IO.Handle

asSocket

public IO.SocketHandle asSocket()
Specified by:
asSocket in interface IO.Handle