class

Movie::Remote::Server

Inherits Reference < Object

Server accepts incoming TCP connections from remote actor systems.

Constants

Log = ::Log.for(self)

Constructors

new(system : Movie::AbstractActorSystem, host : String, port : Int32, path_registry : Movie::PathRegistry, on_message : Proc(WireEnvelope, InboundConnection, Nil))
Source

Instance methods

host
Source
local_port

Returns the actual bound port (useful when binding to port 0).

Source
port
Source
running?
Source
start

Starts the server.

Source
stop

Stops the server and closes all connections.

Source