Trait usiem::components::SiemComponent [−][src]
Required methods
fn local_channel(&self) -> Sender<SiemMessage>
[src]
Get the channel to this component
fn set_log_channel(
&mut self,
sender: Sender<SiemLog>,
receiver: Receiver<SiemLog>
)
[src]
&mut self,
sender: Sender<SiemLog>,
receiver: Receiver<SiemLog>
)
Sets the channel of this component. It's the kernel who sets the channel
fn set_kernel_sender(&mut self, sender: Sender<SiemMessage>)
[src]
Sets the channel to communicate with the kernel.
fn run(&mut self)
[src]
Execute the logic of this component in an infinite loop. Must be stopped using Commands sent using the channel.
fn set_storage(&mut self, conn: impl SiemComponentStateStorage)
[src]
Allow to store information about this component like the state or conigurations.
fn capabilities(&self) -> SiemComponentCapabilities
[src]
Capabilities and actions that can be performed by this component