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

Method registerProto

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

Register a protobuf handler for a given IN message id.

(msgId: number, handler: ProtoHandler)

Source from the content-addressed store, hash-verified

32
33 /** Register a protobuf handler for a given IN message id. */
34 registerProto(msgId: number, handler: ProtoHandler): void {
35 this.msgId2protoHandler.set(msgId, handler)
36 }
37
38 /**
39 * Dispatch a text-protocol message.

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