diff options
Diffstat (limited to 'cpp/src/qmf/ObjectIdImpl.h')
| -rw-r--r-- | cpp/src/qmf/ObjectIdImpl.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/cpp/src/qmf/ObjectIdImpl.h b/cpp/src/qmf/ObjectIdImpl.h index 38d231237f..7a0950cd9d 100644 --- a/cpp/src/qmf/ObjectIdImpl.h +++ b/cpp/src/qmf/ObjectIdImpl.h @@ -34,15 +34,17 @@ namespace qmf { }; struct ObjectIdImpl { - ObjectId* envelope; AgentAttachment* agent; uint64_t first; uint64_t second; - ObjectIdImpl(ObjectId* e) : envelope(e), agent(0), first(0), second(0) {} + ObjectIdImpl() : agent(0), first(0), second(0) {} ObjectIdImpl(qpid::framing::Buffer& buffer); ObjectIdImpl(AgentAttachment* agent, uint8_t flags, uint16_t seq, uint64_t object); + static ObjectId* factory(qpid::framing::Buffer& buffer); + static ObjectId* factory(AgentAttachment* agent, uint8_t flags, uint16_t seq, uint64_t object); + void decode(qpid::framing::Buffer& buffer); void encode(qpid::framing::Buffer& buffer) const; void fromString(const std::string& repr); |
