public ProtoMessage CreateUnsubscribeFromSymbolSpotsRequest(string symbolName, string clientMsgId = null) { var _msg = ProtoOAUnsubscribeFromSpotsReq.CreateBuilder(); _msg.SetSymblolName(symbolName); return(CreateMessage((uint)_msg.PayloadType, _msg.Build().ToByteString(), clientMsgId)); }
public ProtoMessage CreateUnsubscribeAccountFromSpotsRequest(uint subscriptionId, string clientMsgId = null) { var _msg = ProtoOAUnsubscribeFromSpotsReq.CreateBuilder(); _msg.SetSubscriptionId(subscriptionId); return(CreateMessage((uint)_msg.PayloadType, _msg.Build().ToByteString(), clientMsgId)); }
public ProtoMessage CreateUnsubscribeFromSymbolSpotsRequest(string symbolName, string clientMsgId = null) { var _msg = new ProtoOAUnsubscribeFromSpotsReq(); _msg.symblolName = symbolName; return(CreateMessage((uint)_msg.payloadType, Utils.Serialize <ProtoOAUnsubscribeFromSpotsReq>(_msg), clientMsgId)); }
public ProtoMessage CreateUnsubscribeAccountFromSpotsRequest(uint subscriptionId, string clientMsgId = null) { var _msg = new ProtoOAUnsubscribeFromSpotsReq(); _msg.subscriptionId = subscriptionId; return(CreateMessage((uint)_msg.payloadType, Utils.Serialize <ProtoOAUnsubscribeFromSpotsReq>(_msg), clientMsgId)); }
public ProtoOAUnsubscribeFromSpotsReq GetUnsubscribeFromSpotsRequest(byte[] msg = null) { return(ProtoOAUnsubscribeFromSpotsReq.CreateBuilder().MergeFrom(GetPayload(msg)).Build()); }