module Cannon::Rpc::GenericService
Overview
Work-around helper to store untyped Service
instances.
You're probably looking for Service
or RemoteService
.
Direct including types
Defined in:
cannon/rpc/generic_service.crConstant Summary
-
NOOP_WRITER =
->(io : IO) do io end
Instance Method Summary
-
#manager : Manager | Nil
The
Manager
this service is registered to -
#manager=(manager : Manager | Nil)
The
Manager
this service is registered to -
#manager? : Manager | Nil | Nil
The
Manager
this service is registered to -
#owner : Connection | Nil
The
Connection
owning this service -
#owner=(owner : Connection | Nil)
The
Connection
owning this service - #rpc_invoke(function_hash : UInt32, io, connection : Connection) : ResponseWriter
- #rpc_invoke_async(function_hash : UInt32, io, connection : Connection) : Tuple(Channel(ResponseWriter), Channel(Exception))
-
#service_id : UInt32 | Nil
The service id
-
#service_id=(service_id : UInt32 | Nil)
The service id
-
#service_id? : UInt32 | Nil | Nil
The service id
Instance Method Detail
abstract
def rpc_invoke_async(function_hash : UInt32, io, connection : Connection) : Tuple(Channel(ResponseWriter), Channel(Exception))
#