Exemple #1
0
 /// <summary>
 /// <para>DEPRECATED. Use <see cref="Notify(string, object, int)"/> instead.</para>
 /// </summary>
 public void Notify(string route, int timeout, IMessage msg)
 {
     ProtobufSerializer.SerializationFormat format = _binding.ClientSerializer(_client);
     NotifyInternal(route, msg, SerializerFactory.CreateProtobufSerializer(format), timeout);
 }
Exemple #2
0
 /// <summary>
 /// <para>DEPRECATED. Use <see cref="Request&lt;TResponse&gt;(string, object, Action&lt;TResponse&gt;, Action&lt;PitayaError&gt;, int)"/> instead.</para>
 /// </summary>
 public void Request <T>(string route, IMessage msg, int timeout, Action <T> action, Action <PitayaError> errorAction)
 {
     ProtobufSerializer.SerializationFormat format = _binding.ClientSerializer(_client);
     RequestInternal(route, msg, timeout, SerializerFactory.CreateProtobufSerializer(format), action, errorAction);
 }