예제 #1
0
 public ProtoOAPingReq GetPingRequest(byte[] msg = null)
 {
     return(ProtoOAPingReq.CreateBuilder().MergeFrom(GetPayload(msg)).Build());
 }
예제 #2
0
 public ProtoMessage CreatePingRequest(long timestamp, string clientMsgId = null)
 {
     return(CreateMessage((uint)ProtoOAPayloadType.OA_PING_REQ, ProtoOAPingReq.CreateBuilder().SetTimestamp(timestamp).Build().ToByteString(), clientMsgId));
 }