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,
F: 'static + Fn(&Self, &SocketConnection, Option<&Object>) -> bool,
pub fn connect_property_active_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&Self),
F: 'static + Fn(&Self),
Implementors
impl<O> SocketServiceExt for O where
O: IsA<SocketService>,
O: IsA<SocketService>,
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(&O, &SocketConnection, Option<&Object>) -> bool,
F: 'static + Fn(&O, &SocketConnection, Option<&Object>) -> bool,
pub fn connect_property_active_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
F: 'static + Fn(&O),