Exemplo n.º 1
0
        public ProtoMessage CreateSubscribeForSpotsResponse(uint subscriptionId, string clientMsgId = null)
        {
            var _msg = ProtoOASubscribeForSpotsRes.CreateBuilder();

            _msg.SetSubscriptionId(subscriptionId);
            return(CreateMessage((uint)_msg.PayloadType, _msg.Build().ToByteString(), clientMsgId));
        }
Exemplo n.º 2
0
 public ProtoOASubscribeForSpotsRes GetSubscribeForSpotsResponse(byte[] msg = null)
 {
     return(ProtoOASubscribeForSpotsRes.CreateBuilder().MergeFrom(GetPayload(msg)).Build());
 }