Trait owlyshield_ransom::connectors::connector::Connector[][src]

pub trait Connector {
    fn to_string(&self) -> String;
fn on_startup(&self, config: &Config) -> Result<(), ConnectorError>;
fn on_event_kill(
        &self,
        config: &Config,
        proc: &ProcessRecord,
        prediction: f32
    ) -> Result<(), ConnectorError>; }
Expand description

Contains the methods of the Connector interface.

Required methods

Returns the name of the interface.

Actions on service startup

Send events to the interface.

Implementors

Implementation of the methods from Connector for the Community interface.

Implementation of the methods from Connector for the SitinCloud interface.