public ProtoOAPingRes GetPingResponse(byte[] msg = null) { return(ProtoOAPingRes.CreateBuilder().MergeFrom(GetPayload(msg)).Build()); }
public ProtoMessage CreatePingResponse(long timestamp, string clientMsgId = null) { return(CreateMessage((uint)ProtoOAPayloadType.OA_PING_REQ, ProtoOAPingRes.CreateBuilder().SetTimestamp(timestamp).Build().ToByteString(), clientMsgId)); }