exred_node_grpc_server v0.1.2-alpha Exredrpc.Broker
handles inbound messages from the grpc chat stream (a gRPC client connects to the MessageBus service and calls the Chat rpc)
Link to this section Summary
Functions
Returns a specification to start this module under a supervisor
Incoming message from the elixir side. Look up the bond struct based on the pid (from) and forward message to the GRPC outgoing stream
Incoming message from the gRPC side. Look up the bond struct based on the pid (from) and forward message to the exred node (ex_twin)
Link to this section Functions
bond_ex(String.t(), Exredrpc.Twin.Ex.t()) :: :ok | {:error, term()}
bond_grpc(String.t(), Exredrpc.Twin.Grpc.t()) :: :ok | {:error, term()}
Returns a specification to start this module under a supervisor.
See Supervisor
.
Incoming message from the elixir side. Look up the bond struct based on the pid (from) and forward message to the GRPC outgoing stream
Incoming message from the gRPC side. Look up the bond struct based on the pid (from) and forward message to the exred node (ex_twin)