Skip to main content

Module command_runtime

Module command_runtime 

Source
Expand description

Compatibility exports and backend transport adapter for futu-command-runtime.

Pure command execution contracts live in futu-command-runtime; this module keeps the stable futu_backend::command_runtime import path and wires the production backend connection into the new transport trait.

Structs§

ChannelBoundBackendTransport
CommandExecution
CommandExecutionContext
Caller-owned command execution input before command-spec lookup.
CommandRuntime
CommandRuntimeDecision
Decision returned by the pure command runtime.

Enums§

BackendExtensionOperation
ChannelId
Runtime identity for one backend channel.
ChannelLifecycleState
Coarse lifecycle state shared by recovery actors and operator diagnostics.
ChannelRuntimeAction
Side effect selected by a lifecycle transition.
CommandExecutionOutcome
CommandOutcome
Coarse outcome observed after one backend command attempt.
CommandRuntimeAction
Command-level action expected from the owner.
CommandRuntimeError
CryptoTradeOperation
IndicatorCommandOperation
MarketEventOperation
QotReadOperation
QotWriteOperation
StaticDataReadOperation
SystemReadOperation
TradeAccountDiscoveryOperation
TradeAuthOperation
TradeQueryEnvironment
TradeQueryOperation
TradeWriteOperation
UserCloudOperation

Constants§

CMD_GET_BIZ_GROUP
CMD_GET_BOND_ANSWER_STATE
CMD_GET_BOND_POSITION_LIST
CMD_GET_BOND_SINGLE_ASSET
CMD_GET_BOND_TOTAL_ASSET
Mobile bond query command identities. These are protocol enum constants, not server-discovered configuration. Body ownership comes from ftmobileapp/.../bond_client_view.proto; C++ OpenD NNInterCenter/NNInterCmdConfig.cpp:4937-4944,5309-5310,5351-5352 confirms Broker encrypted-sec wire. If either upstream source changes, update all five specs, runtime routing tests, and the candidate ledger.
CMD_GET_BOND_TRADE_REMINDER
CMD_GET_CASH_DETAIL
CMD_GET_CASH_LOG
CMD_GET_CN_AH_MARGIN_INFO
CMD_GET_HK_MARGIN_INFO
CMD_GET_US_MARGIN_INFO
CMD_PULL_ACCOUNT_FLAG

Functions§

decide_command_outcome
Decide command-level handling while reusing the channel runtime contract.
execute_backend_extension
execute_broker_discovery
execute_connection_discovery
execute_crypto_trade_command
execute_heartbeat
execute_indicator_read
execute_market_event
execute_qot_plaintext
execute_qot_read
execute_qot_read_with_reserved
execute_qot_subscription_set
execute_qot_write
execute_static_data_read
execute_system_read
execute_trade_account_discovery
execute_trade_auth
execute_trade_read
execute_trade_write
execute_user_cloud