Struct sota::gateway::socket::Socket [] [src]

pub struct Socket {
    pub commands_path: String,
    pub events_path: String,
}

The Socket gateway is used for communication via Unix Domain Sockets.

Fields

commands_path
events_path

Trait Implementations

impl Gateway for Socket
[src]

fn initialize(&mut self, itx: Sender<Interpret>) -> Result<(), String>

fn pulse(&self, event: Event)

fn start(&mut self, itx: Sender<Interpret>, erx: Receiver<Event>)