| 123456789101112131415161718192021222324252627282930313233343536373839404142 |
- using Google.Protobuf;
- namespace ETHotfix
- {
- public interface IMessage: Google.Protobuf.IMessage
- {
- }
-
- public interface IRequest: IMessage
- {
- int RpcId { get; set; }
- }
- public interface IResponse : IMessage
- {
- int Error { get; set; }
- string Message { get; set; }
- int RpcId { get; set; }
- }
- public class ResponseMessage : IResponse
- {
- public int Error { get; set; }
- public string Message { get; set; }
- public int RpcId { get; set; }
-
- public void MergeFrom(CodedInputStream input)
- {
- throw new System.NotImplementedException();
- }
- public void WriteTo(CodedOutputStream output)
- {
- throw new System.NotImplementedException();
- }
- public int CalculateSize()
- {
- throw new System.NotImplementedException();
- }
- }
- }
|