IRpcChannel.cs 406 B

1234567891011121314
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. using Google.ProtocolBuffers.Descriptors;
  5. namespace Google.ProtocolBuffers {
  6. /// <summary>
  7. /// TODO(jonskeet): Do this properly.
  8. /// </summary>
  9. public interface IRpcChannel {
  10. void CallMethod<T>(MethodDescriptor method, IRpcController controller,
  11. IMessage request, IMessage responsePrototype, Action<T> done);
  12. }
  13. }