protected override IMessageHandlingConfigBuilder ConfigureHandlers(IMessageHandlingConfigBuilder builder)
 {
     return builder
         .HandleRequestAsync<TestStateless, OperationResult>(Process)
         .HandleRequestAsync<TestStatelessUnreliable, OperationResult>(Process)
         .HandleRequestAsync<TestStateful, OperationResult>(Process);
 }
Ejemplo n.º 2
0
 protected override IMessageHandlingConfigBuilder ConfigureHandlers(IMessageHandlingConfigBuilder builder)
 {
     return(builder
            .HandleRequestAsync <TestStateless, OperationResult>(Process)
            .HandleRequestAsync <TestStatelessUnreliable, OperationResult>(Process)
            .HandleRequestAsync <TestStateful, OperationResult>(Process));
 }
 protected override IMessageHandlingConfigBuilder ConfigureHandlers(IMessageHandlingConfigBuilder builder)
 {
     return builder
         .HandleRequestAsync<JoinRoomS2S, JoinRoomResponse>(Process)
         .HandleMessage<SayS2S>(Process);
 }
 protected override IMessageHandlingConfigBuilder ConfigureHandlers(IMessageHandlingConfigBuilder builder)
 {
     return(builder
            .HandleRequestAsync <JoinRoomS2S, JoinRoomResponse>(Process)
            .HandleMessage <SayS2S>(Process));
 }