protected override IMessageHandlingConfigBuilder ConfigureHandlers(IMessageHandlingConfigBuilder builder)
 {
     return builder
         .HandleRequestAsync<TestStateless, OperationResult>(Process)
         .HandleRequestAsync<TestStatelessUnreliable, OperationResult>(Process)
         .HandleRequestAsync<TestStateful, OperationResult>(Process);
 }
Exemplo 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 abstract IMessageHandlingConfigBuilder ConfigureHandlers(IMessageHandlingConfigBuilder builder);
 protected override IMessageHandlingConfigBuilder ConfigureHandlers(IMessageHandlingConfigBuilder builder)
 {
     return(builder
            .HandleRequestAsync <JoinRoomS2S, JoinRoomResponse>(Process)
            .HandleMessage <SayS2S>(Process));
 }
 protected abstract IMessageHandlingConfigBuilder ConfigureHandlers(IMessageHandlingConfigBuilder builder);