class
Movie::Remote::Server
- Movie::Remote::Server
- Reference
- Object
Overview
Server accepts incoming TCP connections from remote actor systems.
Defined in:
movie/remote/server.crConstant Summary
-
Log =
::Log.for(self)
Constructors
Instance Method Summary
- #control_deduplication_stats : ControlDeduplicationStats
- #host : String
-
#local_port : Int32
Returns the actual bound port (useful when binding to port 0).
- #port : Int32
-
#retire_control_node(node_uid : String) : Int32
Releases receiver-side cursors only for a node incarnation that the operator has independently confirmed will never reconnect.
- #running? : Bool
-
#start : Bool
Starts the server.
-
#stop
Stops the server and closes all connections.
Constructor Detail
def self.new(system : Movie::AbstractActorSystem, host : String, port : Int32, path_registry : Movie::PathRegistry, local_address : Proc(Address), node_uid : String, on_message : Proc(WireEnvelope, InboundConnection, Nil), on_disconnect : Proc(InboundConnection, Nil), settings : AssociationSettings = AssociationSettings.new)
#
Instance Method Detail
def retire_control_node(node_uid : String) : Int32
#
Releases receiver-side cursors only for a node incarnation that the operator has independently confirmed will never reconnect.