00001 00046 #include "roch_base/core/Message_request.h" 00047 #include "roch_base/core/Number.h" 00048 00049 namespace sawyer 00050 { 00051 00052 Request::Request(uint16_t type, uint16_t freq) : Message() 00053 { 00054 setPayloadLength(2); 00055 utob(getPayloadPointer(), 2, freq); 00056 setType(type); 00057 makeValid(); 00058 00059 } 00060 00061 Request::Request(const Request &other) : Message(other) 00062 { 00063 } 00064 00065 }; // namespace sawyer 00066