A message type to automatically notify the server side via Notification ID.
More...
#include <MessageTypes.h>
|
uint32_t | notificationID_ |
| The notification ID.
|
|
boost::shared_ptr
< MultiplexingContext > | muxContext_ |
| The multiplexing context for which the device properties are notified. Implemented as a shared pointer since the lifetime is unknown because the object is possibly stored in a notification thread.
|
|
uint32_t | prio_ |
| The priority of the message.
|
|
MessageType | msgType_ |
| The type of the message.
|
|
A message type to automatically notify the server side via Notification ID.
fesa::AutomaticNotificationMessage::AutomaticNotificationMessage |
( |
uint32_t |
notificationID, |
|
|
boost::shared_ptr< MultiplexingContext > & |
muxContext, |
|
|
const std::string & |
className, |
|
|
uint32_t & |
prio |
|
) |
| |
Constructor. Create a message from notification ID, multiplexing context, and priority.
- Parameters
-
notificationID | The identifier of the notification |
muxContext | The multiplexing context className The name of the FESA class that sends the message |
prio | The priority of the message |
fesa::AutomaticNotificationMessage::AutomaticNotificationMessage |
( |
std::istream & |
stream | ) |
|
|
explicit |
Constructor. Create a message from serialized data.
- Parameters
-
stream | The stream that contains the serialized data |
void fesa::AutomaticNotificationMessage::serialize |
( |
std::ostream & |
stream | ) |
const |
|
virtual |
Serialize the contents of the multiplexing context and the notification ID into a stream.
- Parameters
-
stream | The serialized message |
Reimplemented from fesa::AbstractMessage.
The documentation for this class was generated from the following files:
- MessageTypes.h
- MessageTypes.cpp