MCPcopy Create free account
hub / github.com/TraderAlice/OpenAlice / registerText

Method registerText

packages/ibkr/src/decoder/base.ts:29–31  ·  view source on GitHub ↗

Register a text-protocol handler for a given IN message id.

(msgId: number, handler: TextHandler)

Source from the content-addressed store, hash-verified

27
28 /** Register a text-protocol handler for a given IN message id. */
29 registerText(msgId: number, handler: TextHandler): void {
30 this.msgId2textHandler.set(msgId, handler)
31 }
32
33 /** Register a protobuf handler for a given IN message id. */
34 registerProto(msgId: number, handler: ProtoHandler): void {

Callers 7

applyHistoricalHandlersFunction · 0.80
applyOrderHandlersFunction · 0.80
applyContractHandlersFunction · 0.80
applyMarketDataHandlersFunction · 0.80
applyMiscHandlersFunction · 0.80
applyExecutionHandlersFunction · 0.80
applyAccountHandlersFunction · 0.80

Calls 1

setMethod · 0.65

Tested by

no test coverage detected