mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Merge branch 'topic/neverlord/broker-data'
* topic/neverlord/broker-data: Integrate review feedback Add facade types to avoid using raw Broker types
This commit is contained in:
commit
0aef842f05
32 changed files with 1111 additions and 553 deletions
|
@ -67,11 +67,9 @@ ValPtr LogDelayTokenVal::DoClone(CloneState* state) {
|
|||
}
|
||||
|
||||
// Delay tokens are only valid on the same worker.
|
||||
broker::expected<broker::data> LogDelayTokenVal::DoSerialize() const {
|
||||
return broker::make_error(broker::ec::invalid_data, "cannot serialize delay tokens");
|
||||
}
|
||||
std::optional<BrokerData> LogDelayTokenVal::DoSerialize() const { return std::nullopt; }
|
||||
|
||||
bool LogDelayTokenVal::DoUnserialize(const broker::data&) { return false; }
|
||||
bool LogDelayTokenVal::DoUnserialize(BrokerDataView) { return false; }
|
||||
|
||||
IMPLEMENT_OPAQUE_VALUE(LogDelayTokenVal)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue