Class Irmo::Client |
|
Methods |
Public Instance methods |
disconnect(VALUE self) |
Disconnect this client from the server
world(VALUE self) |
Get the client’s world object
watch_disconnect(VALUE self) |
Set a callback watching for this client disconnecting
client.watch_disconnect { ... }
Returns a Callback object representing the callback.
ping_time(VALUE self) |
Returns the client’s ping time, in milliseconds
set_max_sendwindow(VALUE self, VALUE amount) |
Set the maximum send window size. This allows specifying of the bandwidth used by the client. Low bandwidth connections need a smaller send window size.
addr(VALUE self) |
Get the IP address of the client