Package arvados :: Module events :: Class _EventClient
[hide private]
[frames] | no frames]

Class _EventClient

source code

ws4py.client.threadedclient.WebSocketClient --+
                                              |
                                             _EventClient

Instance Methods [hide private]
 
__init__(self, url, filters, on_event, last_log_id, on_closed) source code
 
opened(self) source code
 
closed(self, code, reason=None) source code
 
received_message(self, m) source code
 
close(self, code=1000, reason='', timeout=0)
Close event client and optionally wait for it to finish.
source code
 
subscribe(self, f, last_log_id=None) source code
 
unsubscribe(self, f) source code
Method Details [hide private]

close(self, code=1000, reason='', timeout=0)

source code 

Close event client and optionally wait for it to finish.

:timeout: is the number of seconds to wait for ws4py to indicate that the connection has closed.