Struct skylane::client::Connection [] [src]

pub struct Connection { /* fields omitted */ }

Structure aggregating all information about connection. Precesses events and dispatches them to registered listeners.

Methods

impl Connection
[src]

Constructs new Connection.

Returns connection socket.

Returns new Controller for the connection.

Adds new object.

See Bundle::add_object.

Adds new object.

See Bundle::add_next_client_object.

Removes object with given id.

See Bundle::remove_object.

Reads data from socket and dispatches messages to registered objects.