Trait ux::prelude::SocketServiceExt[]

pub trait SocketServiceExt: 'static {
    pub fn is_active(&self) -> bool;
pub fn start(&self);
pub fn stop(&self);
pub fn get_property_active(&self) -> bool;
pub fn set_property_active(&self, active: bool);
pub fn connect_incoming<F>(&self, f: F) -> SignalHandlerId
    where
        F: 'static + Fn(&Self, &SocketConnection, Option<&Object>) -> bool
;
pub fn connect_property_active_notify<F>(&self, f: F) -> SignalHandlerId
    where
        F: 'static + Fn(&Self)
; }

Required methods

pub fn is_active(&self) -> bool

pub fn start(&self)

pub fn stop(&self)

pub fn get_property_active(&self) -> bool

pub fn set_property_active(&self, active: bool)

pub fn connect_incoming<F>(&self, f: F) -> SignalHandlerId where
    F: 'static + Fn(&Self, &SocketConnection, Option<&Object>) -> bool

pub fn connect_property_active_notify<F>(&self, f: F) -> SignalHandlerId where
    F: 'static + Fn(&Self), 

Loading content...

Implementors

impl<O> SocketServiceExt for O where
    O: IsA<SocketService>, 

Loading content...