nvflare.fuel.hci.client.event module
- class EventContext[source]
Bases:
SimpleContextA simple context containing a props dictionary of key value pairs and convenience methods.
- class EventHandler[source]
Bases:
ABC- abstract handle_event(event_type: str, ctx: SimpleContext)[source]
- class EventPropKey[source]
Bases:
object- API = 'api'
- CMD_CTX = 'cmd_ctx'
- CMD_NAME = 'cmd_name'
- CUSTOM_PROPS = 'custom_props'
- MSG = 'msg'
- USER_NAME = 'user_name'
- class EventType[source]
Bases:
object- AFTER_DOWNLOAD_FILE = 'after_download_file'
- BEFORE_DOWNLOAD_FILE = 'before_download_file'
- BEFORE_EXECUTE_CMD = 'before_execute_cmd'
- BEFORE_LOGIN = 'before_login'
- LOGIN_FAILURE = 'login_failure'
- LOGIN_SUCCESS = 'login_success'
- SESSION_TIMEOUT = 'session_timeout'
- TRYING_LOGIN = 'trying_login'