|
Open Model Railroad Network (OpenMRN)
|
Use a Buffer<SimpleInfoResponse> to send a SNIP response to a particular destination host. More...
#include <SimpleInfoProtocol.hxx>
Public Member Functions | |
| void | reset (const GenMessage *msg_to_respond, const SimpleInfoDescriptor *desc, Defs::MTI response_mti) |
| Initializes the fields of this message to be a response to an NMRAnetMessage (i.e., flips destination and source from that message). | |
Public Attributes | |
| Node * | src |
| Source node to send the response from. | |
| Defs::MTI | mti |
| MTI of the response to be sent. | |
| NodeHandle | dst |
| Destination node to send the response to. | |
| const SimpleInfoDescriptor * | descriptor |
| Descriptor of payload to send. | |
Use a Buffer<SimpleInfoResponse> to send a SNIP response to a particular destination host.
Definition at line 52 of file SimpleInfoProtocol.hxx.
|
inline |
Definition at line 54 of file SimpleInfoProtocol.hxx.
|
inline |
Initializes the fields of this message to be a response to an NMRAnetMessage (i.e., flips destination and source from that message).
The descriptor array must end with an EOF entry and must stay alive so long as the message is not sent.
Definition at line 64 of file SimpleInfoProtocol.hxx.
| const SimpleInfoDescriptor* openlcb::SimpleInfoResponse::descriptor |
Descriptor of payload to send.
Definition at line 81 of file SimpleInfoProtocol.hxx.
| NodeHandle openlcb::SimpleInfoResponse::dst |
Destination node to send the response to.
Definition at line 79 of file SimpleInfoProtocol.hxx.
| Defs::MTI openlcb::SimpleInfoResponse::mti |
MTI of the response to be sent.
Definition at line 77 of file SimpleInfoProtocol.hxx.
| Node* openlcb::SimpleInfoResponse::src |
Source node to send the response from.
Definition at line 75 of file SimpleInfoProtocol.hxx.