Esempio n. 1
0
std::vector<char> Codec20::returnPossiblePrevValue(transport::Transport& t, uint8_t status, uint32_t /*flags*/) const{
	std::vector<char> result;
	if (HotRodConstants::hasPrevious(status)) {
		TRACEBYTES("return value = ", result);
		result = t.readArray();
	} else {
		TRACE("No return value");
	}
return result;
}
Esempio n. 2
0
ClientCacheEntryExpiredEvent<std::vector<char>> Codec21::readExpiredEvent(transport::Transport &transport) const
{
    std::vector<char> key = transport.readArray();
    return ClientCacheEntryExpiredEvent<std::vector<char>>(key);
}