Class/Object

colossus.service

GenRequestHandler

Related Docs: object GenRequestHandler | package service

Permalink

abstract class GenRequestHandler[P <: Protocol] extends DownstreamEvents with HandlerTail with UpstreamEventHandler[ServiceUpstream[P]]

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. GenRequestHandler
  2. UpstreamEventHandler
  3. HasUpstream
  4. HandlerTail
  5. UpstreamEvents
  6. DownstreamEvents
  7. WorkerItemEvents
  8. AnyRef
  9. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new GenRequestHandler(context: ServerContext)

    Permalink
  2. new GenRequestHandler(serverContext: ServerContext, config: ServiceConfig)

    Permalink

Type Members

  1. type Request = P.Request

    Permalink
  2. type Response = P.Response

    Permalink

Abstract Value Members

  1. abstract def handle: PartialHandler[P]

    Permalink
    Attributes
    protected
  2. abstract def unhandledError: ErrorHandler[P]

    Permalink
    Attributes
    protected

Concrete Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def bind(): Unit

    Permalink
    Definition Classes
    DownstreamEvents
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. val config: ServiceConfig

    Permalink
  8. def connected(): Unit

    Permalink
    Definition Classes
    DownstreamEvents
  9. def connection: ConnectionManager

    Permalink
    Attributes
    protected
  10. def connectionTerminated(reason: DisconnectCause): Unit

    Permalink
    Definition Classes
    DownstreamEvents
  11. def context: Context

    Permalink
    Definition Classes
    GenRequestHandlerDownstreamEvents
  12. def disconnect(): Unit

    Permalink
    Attributes
    protected
  13. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  15. implicit val executor: CallbackExecutor

    Permalink
  16. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  18. def handleFailure(error: ProcessingFailure[Request]): Response

    Permalink
  19. def handleRequest(request: Request): Callback[Response]

    Permalink
  20. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  21. def idleCheck(period: FiniteDuration): Unit

    Permalink
    Definition Classes
    DownstreamEvents
  22. final def isInstanceOf[T0]: Boolean

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

    Permalink
    Definition Classes
    AnyRef
  24. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  25. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  26. def onBind(): Unit

    Permalink

    Called when the item is bound to a worker.

    Called when the item is bound to a worker.

    Attributes
    protected
    Definition Classes
    WorkerItemEvents
  27. def onConnected(): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    DownstreamEvents
  28. def onConnectionTerminated(reason: DisconnectCause): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    DownstreamEvents
  29. def onError: ErrorHandler[P]

    Permalink
    Attributes
    protected
  30. def onIdleCheck(period: FiniteDuration): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    DownstreamEvents
  31. def onReceivedMessage(sender: ActorRef, message: Any): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    DownstreamEvents
  32. def onShutdown(): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    UpstreamEvents
  33. def onUnbind(): Unit

    Permalink

    Called when the item has been unbound from a worker

    Called when the item has been unbound from a worker

    Attributes
    protected
    Definition Classes
    WorkerItemEvents
  34. def receivedMessage(message: Any, sender: ActorRef): Unit

    Permalink

    Provides a way to send this WorkerItem a message from an Actor by way of WorkerCommand.Message.

    Provides a way to send this WorkerItem a message from an Actor by way of WorkerCommand.Message.

    message

    The message that was sent

    sender

    The sender who sent the message

    Definition Classes
    DownstreamEventsWorkerItemEvents
  35. def requestLogFormat: Option[RequestFormatter[Request]]

    Permalink
  36. val server: ServerRef

    Permalink
    Attributes
    protected
  37. val serverContext: ServerContext

    Permalink
  38. def setConnection(connection: ConnectionManager): Unit

    Permalink
  39. def setUpstream(up: ServiceUpstream[P]): Unit

    Permalink
    Definition Classes
    HasUpstream
  40. def shutdown(): Unit

    Permalink
    Definition Classes
    UpstreamEventHandlerUpstreamEvents
  41. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  42. def tagDecorator: TagDecorator[P]

    Permalink
  43. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  44. def unbind(): Unit

    Permalink
    Definition Classes
    DownstreamEvents
  45. lazy val upstream: ServiceUpstream[P]

    Permalink
    Definition Classes
    HasUpstream
  46. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  49. implicit val worker: WorkerRef

    Permalink

Inherited from HasUpstream[ServiceUpstream[P]]

Inherited from HandlerTail

Inherited from UpstreamEvents

Inherited from DownstreamEvents

Inherited from WorkerItemEvents

Inherited from AnyRef

Inherited from Any

Ungrouped