akka.actor.IO

ServerHandle

case class ServerHandle(owner: ActorRef, ioManager: ActorRef, uuid: UUID) extends Handle with Product with Serializable

A Handle to a ServerSocketChannel. Instances are normally created by IOManager.listen().

Linear Supertypes
Serializable, Serializable, Product, Equals, Handle, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. ServerHandle
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Handle
  7. AnyRef
  8. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ServerHandle(owner: ActorRef, ioManager: ActorRef, uuid: UUID = new com.eaio.uuid.UUID())

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def accept()(implicit socketOwner: ActorRef): SocketHandle

    Sends a request to the IOManager to accept an incoming connection to the ServerSocketChannel associated with this Handle.

    Sends a request to the IOManager to accept an incoming connection to the ServerSocketChannel associated with this Handle.

    This can also be performed by creating a new SocketHandle and sending it within an Accept to the IOManager.

    socketOwner

    the ActorRef that should receive events associated with the SocketChannel. The ActorRef for the current Actor will be used implicitly.

    returns

    a new SocketHandle that can be used to perform actions on the new connection's SocketChannel.

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def asReadable: ReadHandle

    Definition Classes
    Handle
  9. def asServer: ServerHandle

    Definition Classes
    ServerHandleHandle
  10. def asSocket: SocketHandle

    Definition Classes
    Handle
  11. def asWritable: WriteHandle

    Definition Classes
    Handle
  12. def canEqual(arg0: Any): Boolean

    Definition Classes
    ServerHandle → Equals
  13. def clone(): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  14. def close(): Unit

    Sends a request to the IOManager to close the Channel associated with this Handle.

    Sends a request to the IOManager to close the Channel associated with this Handle.

    This can also be performed by sending Close to the IOManager.

    Definition Classes
    Handle
  15. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  16. def equals(arg0: Any): Boolean

    Definition Classes
    ServerHandle → Equals → AnyRef → Any
  17. def finalize(): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  18. final def getClass(): java.lang.Class[_]

    Definition Classes
    AnyRef → Any
  19. lazy val hashCode: Int

    Definition Classes
    Handle → AnyRef → Any
  20. val ioManager: ActorRef

    Definition Classes
    ServerHandleHandle
  21. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  22. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  23. final def notify(): Unit

    Definition Classes
    AnyRef
  24. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  25. val owner: ActorRef

    Definition Classes
    ServerHandleHandle
  26. def productArity: Int

    Definition Classes
    ServerHandle → Product
  27. def productElement(arg0: Int): Any

    Definition Classes
    ServerHandle → Product
  28. def productIterator: Iterator[Any]

    Definition Classes
    Product
  29. def productPrefix: String

    Definition Classes
    ServerHandle → Product
  30. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  31. def toString(): String

    Definition Classes
    ServerHandle → AnyRef → Any
  32. val uuid: UUID

    Definition Classes
    ServerHandleHandle
  33. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  34. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  35. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()

Deprecated Value Members

  1. def productElements: Iterator[Any]

    Definition Classes
    Product
    Annotations
    @deprecated
    Deprecated

    (Since version 2.8.0) use productIterator instead

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Handle

Inherited from AnyRef

Inherited from Any