class Message

Message API.

Inheritance:


Public Methods

Message(void)
Null default constructor
virtual ~Message(void)
Null default destructor
virtual size_t size(void) const
Get message length.
virtual void getData(TransOutput& out) const
Serialize the message.
virtual MsgHeader::MsgType getType(void) const
Message type.
virtual void setData(TransInput& in) throw(std::runtime_error)
Deserialize the message.

Documentation

Message defines the APi for a data message passed over the Ligo Message Interface.
Message(void)
Null default constructor

virtual ~Message(void)
Null default destructor

virtual size_t size(void) const
Get the length of the message.

virtual void getData(TransOutput& out) const
Copy data from the message to an lmsg::TransOutput stream.
Parameters:
out - Stream to which the message data are copied.

virtual MsgHeader::MsgType getType(void) const
Function to poll the message type.
Returns:
Type code of the message.

virtual void setData(TransInput& in) throw(std::runtime_error)
Copy data from an lmsg::TransOutput stream into the message.
Parameters:
in - Stream from which the message data are copied.


Direct child classes:
HdrOnlyMsg
Author:
John Zweizig
Version:
1.1; Modified March 30, 2000

alphabetic index hierarchy of classes


generated by doc++