Ping.cs 419 B

12345678910111213141516
  1. using InABox.Server;
  2. namespace InABox.Rpc
  3. {
  4. public class RpcPingHandler : RpcCommandHandler<IRpcServer, RpcPingCommand, RpcPingParameters, RpcPingResult>
  5. {
  6. protected override RpcPingResult Execute(IRpcSession session, RpcPingParameters? parameters)
  7. {
  8. return new RpcPingResult();
  9. }
  10. public RpcPingHandler(IRpcServer sender) : base(sender)
  11. {
  12. }
  13. }
  14. }