Struct skylane::client::Controller
[−]
[src]
pub struct Controller { /* fields omitted */ }
Structure providing control over connection. Allows adding and removing objects but processing
messages is left for Connection
.
Methods
impl Controller
[src]
fn get_socket(&self) -> Socket
Returns connection socket.
fn get_next_available_client_object_id(&self) -> ObjectId
Returns next available client object ID.
See Bundle::get_next_available_client_object_id
.
fn add_object(&mut self, id: ObjectId, object: Box<Object>)
Adds new object.
See Bundle::add_object
.
fn add_next_client_object(&mut self, object: Box<Object>) -> ObjectId
Adds next object.
See Bundle::add_next_client_object
.
Trait Implementations
impl Clone for Controller
[src]
Bundle
does not implement Clone
, so Controller
must implement it manually.
fn clone(&self) -> Self
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more