Protocol Buffers - Google's data interchange format (grpc依赖) https://developers.google.com/protocol-buffers/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

14 lines
406 B

using System;
using System.Collections.Generic;
using System.Text;
using Google.ProtocolBuffers.Descriptors;
namespace Google.ProtocolBuffers {
/// <summary>
/// TODO(jonskeet): Do this properly.
/// </summary>
public interface IRpcChannel {
void CallMethod<T>(MethodDescriptor method, IRpcController controller,
IMessage request, IMessage responsePrototype, Action<T> done);
}
}