class
Movie::Remote::InboundConnection
- Movie::Remote::InboundConnection
- Reference
- Object
Overview
InboundConnection handles an incoming connection from a remote system.
Defined in:
movie/remote/inbound_connection.crConstant Summary
-
Log =
::Log.for(self)
Constructors
Instance Method Summary
-
#close
Closes the connection.
-
#close_without_callback
Closes the connection without notifying the server (used during server shutdown).
- #connected? : Bool
- #drain_watches : Array(Tuple(Movie::ActorRefBase, Movie::ActorRefBase))
-
#remote_address : Address | Nil
Returns the remote address if known (from handshake).
-
#remote_address=(remote_address : Address | Nil)
Sets the remote address (from handshake).
-
#remote_node_uid : String | Nil
The process incarnation authenticated by the association handshake.
-
#send(envelope : WireEnvelope) : Bool
Sends an envelope to the remote system.
-
#start
Starts reading from the connection.
- #track_watch(target : Movie::ActorRefBase, watcher : Movie::ActorRefBase) : Nil
- #untrack_watch(target : Movie::ActorRefBase, watcher : Movie::ActorRefBase) : Nil
Constructor Detail
Instance Method Detail
def close_without_callback
#
Closes the connection without notifying the server (used during server shutdown).
Returns the remote address if known (from handshake).
Sets the remote address (from handshake).
def remote_node_uid : String | Nil
#
The process incarnation authenticated by the association handshake.