Message.h
Go to the documentation of this file.
unsigned int capacity() const
Returns the maximum number of elements that can be written to the buffer without reallocating memory...
Definition: Buffer.h:86
unsigned int size() const
Returns the number of elements contained in the buffer.
Definition: Buffer.h:223
ByteBuffer(const unsigned int capacity)
Creates a buffer with the specified capacity and sets its size and offset to zero.
Definition: ByteBuffer.h:56
virtual void clear()
Clears the message for reuse, resetting its size to zero.
Definition: Message.h:100
Message(const unsigned int capacity=DefaultCapacity)
Creates a Message with the specified initial capacity (or DefaultCapacity if no parameter is provided...
Definition: Message.h:93
This header defines the ByteBuffer class.
This header defines the MembershipInfo class.
Message is a reusable and resizable data buffer for sending and receiving messages.
Definition: Message.h:47
BaseMessage is an abstract class defining the operations shared in common by Message and ScatterMessa...
Definition: BaseMessage.h:60
virtual unsigned int size() const
Returns the number of bytes in the message.
Definition: Message.h:96
service_type service() const
Returns the service type requested (for sends) or sent under (for receives) of the message...
Definition: BaseMessage.h:177
ByteBuffer provides the ability to write and read bytes to and from a buffer and reuse the buffer for...
Definition: ByteBuffer.h:43
Definition: Buffer.h:31
__BEGIN_NS_SPREAD_INCLUDE typedef char group_type[MAX_GROUP_NAME]
This is an internal typedef not meant for use in end-user code.
Definition: GroupList.h:36
void clear()
Rewinds the read/write position befor resizing the buffer to zero.
Definition: ByteBuffer.h:119
Copyright © 2006-2015 Savarese Software Research Corporation. All rights reserved.
Copyright © 2017 Savarese Software Research Corporation. All rights reserved