public void SendAsynch(Telegrams.Request request) { var outputByteArray = new byte[request.CalculateSize()]; request.WriteTo(new CodedOutputStream(outputByteArray)); send_buffer.Add(outputByteArray); }
public void SendAsynch(Telegrams.Request request, RequestAnswerCallback requestAnswerCallback) { requestAnswerCallbackDictionary.Add(Guid.Parse(request.TransactionId), requestAnswerCallback); SendAsynch(request); }