colossus.service

BasicServiceDelegator

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
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new BasicServiceDelegator(func: (ServiceContext[C]) ⇒ (ConnectionContext[C]) ⇒ Unit, server: ServerRef, worker: WorkerRef, provider: CodecProvider[C], config: ServiceConfig)

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 acceptNewConnection: Option[ConnectionHandler]

    Function which determines whether or not to accept a connection.

    Function which determines whether or not to accept a connection.

    returns

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

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

    Definition Classes
    ServiceContext
  9. 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]

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

    Definition Classes
    ServiceContext
  11. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. def createConnectionHandler: Option[ConnectionHandler]

    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]

    returns

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

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

    Definition Classes
    AnyRef → Any
  15. implicit val executor: ExecutionContextExecutor

    Definition Classes
    Delegator
  16. def finalize(): Unit

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

    Definition Classes
    AnyRef → Any
  18. def handle(p: (ConnectionContext[C]) ⇒ Unit): (ConnectionContext[C]) ⇒ Unit

    Definition Classes
    ServiceContext
  19. def handleMessage: Receive

    This allows a Delegator to receive messages which are sent by way of ServerRef.

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

    returns

    Definition Classes
    BasicServiceDelegatorDelegator
  20. val handlerInitializer: (ConnectionContext[C]) ⇒ Unit

  21. def hashCode(): Int

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

    Definition Classes
    Any
  23. val log: LoggingAdapter

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

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

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

    Definition Classes
    AnyRef
  27. def onShutdown(): Unit

    Shutdown hook.

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

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

    Definition Classes
    BasicServiceDelegatorServiceContext
  29. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  30. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from DSLDelegator[C]

Inherited from ServiceContext[C]

Inherited from Delegator

Inherited from AnyRef

Inherited from Any

Ungrouped