aboutsummaryrefslogtreecommitdiff
path: root/csharp/ProtocolBuffers/IRpcChannel.cs
blob: 96c82e16ad83a0244abf5fdc15c1d9a030ddb308 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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);
  }
}