mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 08:16:31 +00:00
9a16099194
rework inference events and handling todo: add Medias table and reflect recognition status there
19 lines
451 B
Cython
19 lines
451 B
Cython
from remote_command_inf cimport RemoteCommand
|
|
|
|
cdef class RemoteCommandHandler:
|
|
cdef object _context
|
|
cdef object _router
|
|
cdef object _dealer
|
|
cdef object _control
|
|
cdef object _shutdown_event
|
|
cdef object _on_command
|
|
|
|
cdef object _proxy_thread
|
|
cdef object _workers
|
|
|
|
cdef start(self)
|
|
cdef _proxy_loop(self)
|
|
cdef _worker_loop(self)
|
|
cdef send(self, bytes client_id, RemoteCommand command)
|
|
cdef stop(self)
|