class MnpServer extends ComponentBase
A Server for the MNP Protocol
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- MnpServer
- ComponentBase
- AkkaHelper
- Component
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
-
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
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
implicit
def
actorSystem: ActorSystem
- Attributes
- protected
- Definition Classes
- AkkaHelper
-
def
addShutdownHook(f: ⇒ Future[_]): Unit
- Attributes
- protected
- Definition Classes
- ComponentBase
-
def
address: String
Returns the address in the form interface:port
-
implicit
val
akkaRuntime: AkkaRuntime
- Attributes
- protected
- Definition Classes
- ComponentBase → Component
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
awaitTermination(): Unit
Wait for termination
-
def
clock: Clock
- Attributes
- protected
- Definition Classes
- AkkaHelper
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
def
config: Config
- Attributes
- protected
- Definition Classes
- AkkaHelper
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
implicit
def
executionContext: ExecutionContext
- Attributes
- protected
- Definition Classes
- AkkaHelper
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isShutdown: Boolean
Server is in process of shutting down or already shut down
-
final
val
logger: Logger
- Attributes
- protected
- Definition Classes
- ComponentBase
-
implicit
def
materializer: Materializer
- Attributes
- protected
- Definition Classes
- AkkaHelper
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
port: Int
Return the used TCP port
-
def
start(): Unit
Run the server (blocking)
-
def
stop(): Unit
Terminate the MNP Server
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )