2020-03-23 17:58:23 +01:00
|
|
|
/**
|
|
|
|
* @file Cookie.cpp
|
|
|
|
*
|
|
|
|
* @date 23.03.2020
|
|
|
|
*/
|
|
|
|
#include <framework/devicehandlers/Cookie.h>
|
|
|
|
|
|
|
|
Cookie::Cookie(address_t logicalAddress_): logicalAddress(logicalAddress_) {
|
|
|
|
}
|
|
|
|
|
2020-03-23 19:09:42 +01:00
|
|
|
void Cookie::setAddress(address_t logicalAddress_) {
|
|
|
|
logicalAddress = logicalAddress_;
|
|
|
|
}
|
2020-03-23 17:58:23 +01:00
|
|
|
void Cookie::setMaxReplyLen(size_t maxReplyLen_) {
|
|
|
|
maxReplyLen = maxReplyLen_;
|
|
|
|
}
|
|
|
|
|
|
|
|
address_t Cookie::getAddress() const {
|
|
|
|
return logicalAddress;
|
|
|
|
}
|
|
|
|
|
|
|
|
size_t Cookie::getMaxReplyLen() const {
|
|
|
|
return maxReplyLen;
|
|
|
|
}
|
2020-03-23 19:09:42 +01:00
|
|
|
|
|
|
|
|