[CP] add constructor for ObPxP2PDatahubArg, ObPxP2PDatahubMsgResponse,ObPxP2PClearMsgArg
This commit is contained in:
parent
a7f990a748
commit
c5ea3432f5
@ -22,6 +22,7 @@ struct ObPxP2PDatahubArg
|
|||||||
{
|
{
|
||||||
OB_UNIS_VERSION(1);
|
OB_UNIS_VERSION(1);
|
||||||
public:
|
public:
|
||||||
|
ObPxP2PDatahubArg() : msg_(nullptr) {}
|
||||||
void destroy_arg();
|
void destroy_arg();
|
||||||
public:
|
public:
|
||||||
ObP2PDatahubMsgBase *msg_;
|
ObP2PDatahubMsgBase *msg_;
|
||||||
@ -31,6 +32,8 @@ public:
|
|||||||
struct ObPxP2PDatahubMsgResponse
|
struct ObPxP2PDatahubMsgResponse
|
||||||
{
|
{
|
||||||
OB_UNIS_VERSION(1);
|
OB_UNIS_VERSION(1);
|
||||||
|
public:
|
||||||
|
ObPxP2PDatahubMsgResponse() : rc_(0) {}
|
||||||
public:
|
public:
|
||||||
int rc_;
|
int rc_;
|
||||||
TO_STRING_KV(K_(rc));
|
TO_STRING_KV(K_(rc));
|
||||||
@ -39,6 +42,8 @@ public:
|
|||||||
struct ObPxP2PClearMsgArg
|
struct ObPxP2PClearMsgArg
|
||||||
{
|
{
|
||||||
OB_UNIS_VERSION(1);
|
OB_UNIS_VERSION(1);
|
||||||
|
public:
|
||||||
|
ObPxP2PClearMsgArg() : p2p_dh_ids_(), px_seq_id_(0) {}
|
||||||
public:
|
public:
|
||||||
ObSArray<int64_t> p2p_dh_ids_;
|
ObSArray<int64_t> p2p_dh_ids_;
|
||||||
int64_t px_seq_id_;
|
int64_t px_seq_id_;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user