mirror of
https://github.com/zeek/zeek.git
synced 2025-10-17 14:08:20 +00:00
Establish plugin infrastructure for ConnKey factories.
ConnKey factories are intermediaries that encapsulate the details of how to instantiate ConnKeys, which codify the hash input for connection lookups.
This commit is contained in:
parent
d19fdfd17c
commit
0c64f6a7b9
12 changed files with 257 additions and 0 deletions
|
@ -52,6 +52,8 @@ void Component::Describe(ODesc* d) const {
|
|||
|
||||
case component::STORAGE_SERIALIZER: d->Add("Storage Serializer"); break;
|
||||
|
||||
case component::CONNKEY: d->Add("ConnKey Factory"); break;
|
||||
|
||||
default:
|
||||
reporter->InternalWarning("unknown component type in plugin::Component::Describe");
|
||||
d->Add("<unknown component type>");
|
||||
|
|
|
@ -38,6 +38,7 @@ enum Type : uint8_t {
|
|||
LOG_SERIALIZER, /// A serializer for log batches, used by cluster backends.
|
||||
STORAGE_BACKEND, /// A backend for the storage framework.
|
||||
STORAGE_SERIALIZER, /// A serializer for the storage framework.
|
||||
CONNKEY, /// A factory for connection keys.
|
||||
};
|
||||
|
||||
} // namespace component
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue