async Task __message_from_transport__(MessageWrapper message) { var handler = this.GetHandlerOrNothing(message.MessageType); if (handler != null) { using (var s = this.ServiceProvider.CreateScope()) { var context = new CrossServerMessageContext() { HandleServiceProvider = s.ServiceProvider, Server = this, Message = message }; await handler.HandleCrossServerMessage(context); } } }
public Task HandleCrossServerMessage(CrossServerMessageContext context) { throw new NotImplementedException(); }