Trait usiem::components::SiemDatasetManager[][src]

pub trait SiemDatasetManager: Send {
    fn local_channel(&self) -> Sender<SiemMessage>;
fn set_kernel_sender(&mut self, sender: Sender<SiemMessage>);
fn run(&mut self);
fn register_dataset(&mut self, dataset: SiemDatasetType);
fn get_datasets(&self) -> Arc<Mutex<BTreeMap<SiemDatasetType, SiemDataset>>>;
fn set_dataset_channels(
        &mut self,
        channels: Arc<Mutex<BTreeMap<u64, Vec<Sender<SiemMessage>>>>>
    ); fn name(&self) -> Cow<'static, str> { ... } }

Required methods

Get the channel to this component

Sets the channel to communicate with the kernel.

Execute the logic of this component in an infinite loop. Must be stopped using Commands sent using the channel.

The kernel registers the datasets of the components

Get the list of datasets to initialize components

Sets the map of components that need dataset updates

Provided methods

Implementors