Class

colossus.service

BasicServiceDelegator

Related Doc: package service

Permalink

class BasicServiceDelegator[C <: CodecDSL] extends DSLDelegator[C]

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. BasicServiceDelegator
  2. DSLDelegator
  3. ServiceContext
  4. Delegator
  5. AnyRef
  6. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new BasicServiceDelegator(func: Initializer[C], server: ServerRef, worker: WorkerRef, provider: CodecProvider[C], config: ServiceConfig[C.Input, C.Output])

    Permalink

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. def acceptNewConnection: Option[ServerConnectionHandler]

    Permalink

    Function which determines whether or not to accept a connection.

    Function which determines whether or not to accept a connection.

    Definition Classes
    BasicServiceDelegatorDelegator
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clientFor[D <: CodecDSL](address: InetSocketAddress, requestTimeout: Duration)(implicit provider: ClientCodecProvider[D]): ServiceClient[ServiceContext.clientFor.D.Input, ServiceContext.clientFor.D.Output]

    Permalink
    Definition Classes
    ServiceContext
  7. def clientFor[D <: CodecDSL](host: String, port: Int, requestTimeout: Duration = 1.second)(implicit provider: ClientCodecProvider[D]): ServiceClient[ServiceContext.clientFor.D.Input, ServiceContext.clientFor.D.Output]

    Permalink
    Definition Classes
    ServiceContext
  8. def clientFor[D <: CodecDSL](config: ClientConfig)(implicit provider: ClientCodecProvider[D]): ServiceClient[ServiceContext.clientFor.D.Input, ServiceContext.clientFor.D.Output]

    Permalink
    Definition Classes
    ServiceContext
  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def createConnectionHandler: Option[ServerConnectionHandler]

    Permalink

    This is the function called by the Workers to create an Option[ConnectionHandler]

    This is the function called by the Workers to create an Option[ConnectionHandler]

    Definition Classes
    Delegator
  11. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  13. implicit val executor: ExecutionContextExecutor

    Permalink
    Definition Classes
    Delegator
  14. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  16. def handle(p: HandlerGenerator[C]): HandlerGenerator[C]

    Permalink
    Definition Classes
    ServiceContext
  17. def handleMessage: Receive

    Permalink

    This allows a Delegator to receive messages which are sent by way of ServerRef.delegatorBroadcast(msg : Any)

    This allows a Delegator to receive messages which are sent by way of ServerRef.delegatorBroadcast(msg : Any)

    Definition Classes
    BasicServiceDelegatorDelegator
  18. val handlerInitializer: HandlerGenerator[C]

    Permalink
  19. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  20. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  21. val log: LoggingAdapter

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

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

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

    Permalink
    Definition Classes
    AnyRef
  25. def onShutdown(): Unit

    Permalink

    Shutdown hook.

    Shutdown hook. Called when a Worker stop or a server is unregistered.

    Definition Classes
    Delegator
  26. def receive(r: Receive): Unit

    Permalink
    Definition Classes
    BasicServiceDelegatorServiceContext
  27. val server: ServerRef

    Permalink

    reference to the server

    reference to the server

    Definition Classes
    Delegator
  28. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  29. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  30. final def wait(): Unit

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

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

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

    Permalink

    reference to the worker this delegator belongs to

    reference to the worker this delegator belongs to

    Definition Classes
    Delegator

Inherited from DSLDelegator[C]

Inherited from ServiceContext[C]

Inherited from Delegator

Inherited from AnyRef

Inherited from Any

Ungrouped