#include <message_router_response.h>

Public Member Functions | |
| virtual Reader & | deserialize (Reader &reader, size_t length) |
| virtual Reader & | deserialize (Reader &reader) |
| shared_ptr< Serializable > | getAdditionalStatus () const |
| virtual size_t | getLength () const |
| shared_ptr< Serializable > | getResponseData () const |
| MessageRouterResponse () | |
| virtual Writer & | serialize (Writer &writer) const |
Public Attributes | |
| EIP_USINT | general_status |
| EIP_USINT | service |
Private Member Functions | |
| shared_ptr< Serializable > | readData (Reader &reader, int length) |
Private Attributes | |
| shared_ptr< Serializable > | additional_status_ |
| shared_ptr< Serializable > | response_data_ |
Class to encapsulate a MessageRouterResponse data.
Definition at line 48 of file message_router_response.h.
|
inline |
Construct an empty RR data holder
Definition at line 58 of file message_router_response.h.
Deserialize response data from the given reader and length
Implements eip::serialization::Serializable.
Definition at line 52 of file message_router_response.cpp.
Not implemented. Never expect to have to receive this type of message.
Implements eip::serialization::Serializable.
Definition at line 103 of file message_router_response.h.
|
inline |
Get the additional status data object in this message
Definition at line 64 of file message_router_response.h.
|
virtual |
Get the length of serialized data that would be produced if serialized
Implements eip::serialization::Serializable.
Definition at line 37 of file message_router_response.cpp.
|
inline |
Get the response data object in this message
Definition at line 73 of file message_router_response.h.
|
private |
Helper to read data fields. Simply produces SerializableBuffers of the given length, or a null pointer if length <= 0.
| reader | Reader to use to read buffer data |
| length | Length in bytes to read. If less than or equal to zero, then null pointer is returned. |
Definition at line 65 of file message_router_response.cpp.
Serialize data into the given buffer
| writer | Writer to use for serialization |
| std::length_error | if the buffer is too small for the header data |
Implements eip::serialization::Serializable.
Definition at line 90 of file message_router_response.h.
|
private |
Definition at line 109 of file message_router_response.h.
| EIP_USINT eip::MessageRouterResponse::general_status |
Definition at line 53 of file message_router_response.h.
|
private |
Definition at line 110 of file message_router_response.h.
| EIP_USINT eip::MessageRouterResponse::service |
Definition at line 52 of file message_router_response.h.