Files
annotations/Azaion.Inference/remote_command.pxd
T
2025-04-30 19:33:59 +03:00

17 lines
308 B
Cython

cdef enum CommandType:
LOGIN = 10
LOAD = 20
INFERENCE = 30
STOP_INFERENCE = 40
EXIT = 100
cdef class RemoteCommand:
cdef public bytes client_id
cdef CommandType command_type
cdef bytes data
@staticmethod
cdef from_msgpack(bytes data)
cdef bytes serialize(self)