Public Member Functions | |
def | __init__ |
def | deserialize |
def | deserialize_numpy |
def | serialize |
def | serialize_numpy |
Static Public Attributes | |
int | APP_INVALID = 510 |
int | BAD_REQUEST = 400 |
int | INTERNAL_ERROR = 500 |
int | MULTIAPP_NOT_SUPPORTED = 511 |
int | NOT_FOUND = 404 |
int | NOT_RUNNING = 430 |
int | SUCCESS = 0 |
Private Member Functions | |
def | _get_types |
Static Private Attributes | |
list | __slots__ = [] |
string | _full_text |
_has_header = False | |
string | _md5sum = "5f286aed2b2ab4b227e7b7185bae624d" |
list | _slot_types = [] |
string | _type = "app_manager/StatusCodes" |
Definition at line 8 of file _StatusCodes.py.
def app_manager.msg._StatusCodes.StatusCodes.__init__ | ( | self, | |
args, | |||
kwds | |||
) |
Constructor. Any message fields that are implicitly/explicitly set to None will be assigned a default value. The recommend use is keyword arguments as this is more robust to future message changes. You cannot mix in-order arguments and keyword arguments. The available fields are: :param args: complete set of field values, in .msg order :param kwds: use keyword arguments corresponding to message field names to set specific fields.
Definition at line 40 of file _StatusCodes.py.
def app_manager.msg._StatusCodes.StatusCodes._get_types | ( | self | ) | [private] |
internal API method
Definition at line 57 of file _StatusCodes.py.
def app_manager.msg._StatusCodes.StatusCodes.deserialize | ( | self, | |
str | |||
) |
unpack serialized message in str into this message instance :param str: byte array of serialized message, ``str``
Definition at line 73 of file _StatusCodes.py.
def app_manager.msg._StatusCodes.StatusCodes.deserialize_numpy | ( | self, | |
str, | |||
numpy | |||
) |
unpack serialized message in str into this message instance using numpy for array types :param str: byte array of serialized message, ``str`` :param numpy: numpy python module
Definition at line 96 of file _StatusCodes.py.
def app_manager.msg._StatusCodes.StatusCodes.serialize | ( | self, | |
buff | |||
) |
serialize message into buffer :param buff: buffer, ``StringIO``
Definition at line 63 of file _StatusCodes.py.
def app_manager.msg._StatusCodes.StatusCodes.serialize_numpy | ( | self, | |
buff, | |||
numpy | |||
) |
serialize message with numpy array types into buffer :param buff: buffer, ``StringIO`` :param numpy: numpy python module
Definition at line 85 of file _StatusCodes.py.
list app_manager::msg::_StatusCodes.StatusCodes::__slots__ = [] [static, private] |
Definition at line 37 of file _StatusCodes.py.
string app_manager::msg::_StatusCodes.StatusCodes::_full_text [static, private] |
"""# Common error codes used with App Manager. int32 SUCCESS = 0 # Request was invalid. int32 BAD_REQUEST = 400 # App is not installed. int32 NOT_FOUND = 404 # App is not running. int32 NOT_RUNNING = 430 # Unknown internal error on the server. int32 INTERNAL_ERROR = 500 # App is installed but failed validation. int32 APP_INVALID = 510 # App manager does not support launching multiple apps simultaneously. Running app must first be stopped. int32 MULTIAPP_NOT_SUPPORTED = 511 """
Definition at line 12 of file _StatusCodes.py.
app_manager::msg::_StatusCodes.StatusCodes::_has_header = False [static, private] |
Definition at line 11 of file _StatusCodes.py.
string app_manager::msg::_StatusCodes.StatusCodes::_md5sum = "5f286aed2b2ab4b227e7b7185bae624d" [static, private] |
Definition at line 9 of file _StatusCodes.py.
list app_manager::msg::_StatusCodes.StatusCodes::_slot_types = [] [static, private] |
Definition at line 38 of file _StatusCodes.py.
string app_manager::msg::_StatusCodes.StatusCodes::_type = "app_manager/StatusCodes" [static, private] |
Definition at line 10 of file _StatusCodes.py.
int app_manager::msg::_StatusCodes.StatusCodes::APP_INVALID = 510 [static] |
Definition at line 34 of file _StatusCodes.py.
int app_manager::msg::_StatusCodes.StatusCodes::BAD_REQUEST = 400 [static] |
Definition at line 30 of file _StatusCodes.py.
int app_manager::msg::_StatusCodes.StatusCodes::INTERNAL_ERROR = 500 [static] |
Definition at line 33 of file _StatusCodes.py.
int app_manager::msg::_StatusCodes.StatusCodes::MULTIAPP_NOT_SUPPORTED = 511 [static] |
Definition at line 35 of file _StatusCodes.py.
int app_manager::msg::_StatusCodes.StatusCodes::NOT_FOUND = 404 [static] |
Definition at line 31 of file _StatusCodes.py.
int app_manager::msg::_StatusCodes.StatusCodes::NOT_RUNNING = 430 [static] |
Definition at line 32 of file _StatusCodes.py.
int app_manager::msg::_StatusCodes.StatusCodes::SUCCESS = 0 [static] |
Definition at line 29 of file _StatusCodes.py.