Logo
Telescience Resource Kit
TReK Python  5.4.0 ART
ResponseInfo Class Reference

Dataclass holding the details of a specific command response. More...

Public Member Functions

def ResponseInfo ( int value, int value_spec, str info, bool error -> None ) -> def 
 Class initializer. More...
 

Public Attributes

 value
 The response info value.
 
 value_spec
 Command Specific error codes if value is non-negative.
 
 info
 The response.
 
 error
 If the response was in error.
 

Detailed Description

Dataclass holding the details of a specific command response.

Constructor & Destructor Documentation

◆ ResponseInfo()

(value : int 
value_spec : int 
info : str 
error : bool 
) -> None

Class initializer.

Parameters
[in]valueThe response info value.
[in]value_specCommand Specific error codes if value is non-negative.
[in]infoThe response.
[in]errorIf the response was in error.