Go to the documentation of this file.
23 #ifndef __SSRC_SPREAD_MESSAGE_H
24 #define __SSRC_SPREAD_MESSAGE_H
26 #include <ssrc/spread/detail/ByteBuffer.h>
50 #ifdef LIBSSRCSPREAD_ENABLE_MEMBERSHIP_INFO
52 virtual int sp_get_membership_info(Spread::membership_info *info)
const {
53 return Spread::SP_get_memb_info(&(this->
operator[](0)),
service(), info);
56 virtual int sp_get_vs_set_members(
const Spread::vs_set_info *vs_set,
58 unsigned int member_names_count)
62 Spread::SP_get_vs_set_members(&(this->
operator[](0)),
63 vs_set, member_names, member_names_count);
66 virtual int sp_get_vs_sets_info(Spread::vs_set_info *vs_sets,
67 unsigned int num_vs_sets,
72 Spread::SP_get_vs_sets_info(&(this->
operator[](0)),
73 vs_sets, num_vs_sets, index);
94 detail::ByteBuffer(capacity) { }
96 virtual unsigned int size()
const {
97 return detail::ByteBuffer::size();
101 return detail::ByteBuffer::clear();
Copyright © 2006-2015 Savarese Software Research Corporation. All rights reserved.
Copyright © 2017 Savarese Software Research Corporation. All rights reserved