Packages

c

ai.mantik.mnp.server

MnpServer

class MnpServer extends ComponentBase

A Server for the MNP Protocol

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MnpServer
  2. ComponentBase
  3. AkkaHelper
  4. Component
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MnpServer(backend: ServerBackend, interface: String = "127.0.0.1", chosenPort: Int = 0)(implicit akkaRuntime: AkkaRuntime)

    interface

    network interface to use

    chosenPort

    port to choose (0 for random port)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. implicit def actorSystem: ActorSystem
    Attributes
    protected
    Definition Classes
    AkkaHelper
  5. def addShutdownHook(f: ⇒ Future[_]): Unit
    Attributes
    protected
    Definition Classes
    ComponentBase
  6. def address: String

    Returns the address in the form interface:port

  7. implicit val akkaRuntime: AkkaRuntime
    Attributes
    protected
    Definition Classes
    ComponentBase → Component
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def awaitTermination(): Unit

    Wait for termination

  10. def clock: Clock
    Attributes
    protected
    Definition Classes
    AkkaHelper
  11. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  12. def config: Config
    Attributes
    protected
    Definition Classes
    AkkaHelper
  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  15. implicit def executionContext: ExecutionContext
    Attributes
    protected
    Definition Classes
    AkkaHelper
  16. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. def isShutdown: Boolean

    Server is in process of shutting down or already shut down

  20. final val logger: Logger
    Attributes
    protected
    Definition Classes
    ComponentBase
  21. implicit def materializer: Materializer
    Attributes
    protected
    Definition Classes
    AkkaHelper
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  25. def port: Int

    Return the used TCP port

  26. def start(): Unit

    Run the server (blocking)

  27. def stop(): Unit

    Terminate the MNP Server

  28. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  29. def toString(): String
    Definition Classes
    AnyRef → Any
  30. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  32. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from ComponentBase

Inherited from AkkaHelper

Inherited from Component

Inherited from AnyRef

Inherited from Any

Ungrouped