Trait rics::script::ScriptingInterface [−][src]
Provided methods
fn initialize(&self) -> bool
[src]
Called at ScriptingInterface creation
fn start(&self, _svr: &mut RICSServer, _node: i32) -> bool
[src]
Called just after server start
fn can_rx(&self, _svr: &mut RICSServer, _id: u32, _data: Vec<u8>) -> bool
[src]
Can message rx callback
fn update(&self, _svr: &mut RICSServer) -> bool
[src]
Generic slave update loop called as often as possible. This function should return as soon as possible if low latency is required. This function is only called when there is no more callbacks to call, so this can never be called in some cases if traffic is high.
Implementors
impl ScriptingInterface for DynlibScript
[src]
fn initialize(&self) -> bool
[src]
fn start(&self, _svr: &mut RICSServer, node: i32) -> bool
[src]
fn can_rx(&self, _svr: &mut RICSServer, id: u32, data: Vec<u8>) -> bool
[src]
fn update(&self, _svr: &mut RICSServer) -> bool
[src]
No update function is implemented since a thread can simply be created in the start phase.