using System; using System.Collections.Generic; using System.Text; using RawRabbit.Configuration.Exchange; using RawRabbit.Enrichers.Attributes; namespace Applications.PumpInfoToRemote { public abstract class JsonRpcObject { public string JsonRpc => "2.0"; public string Method { get; set; } public List Params { get; set; } } public class JsonRpcObjectMethodParameter { public string Name { get; set; } public string Value { get; set; } } public class NotificationRpc : JsonRpcObject { } public class NotificationResponse : JsonRpcObject { } public class ResponseRpc : JsonRpcObject { public int Id { get; set; } public string Result { get; set; } } public class RequestRpc : JsonRpcObject { public int Id { get; set; } } }