MCPcopy Create free account
hub / github.com/chronoxor/FastBinaryEncoding / send

Method send

projects/Python/proto/proto.py:4118–4125  ·  view source on GitHub ↗
(self, value)

Source from the content-addressed store, hash-verified

4116 # Send methods
4117
4118 def send(self, value):
4119 if isinstance(value, OrderMessage) and (value.fbe_type == self.ordermessage_model.fbe_type):
4120 return self.send_ordermessage(value)
4121 if isinstance(value, BalanceMessage) and (value.fbe_type == self.balancemessage_model.fbe_type):
4122 return self.send_balancemessage(value)
4123 if isinstance(value, AccountMessage) and (value.fbe_type == self.accountmessage_model.fbe_type):
4124 return self.send_accountmessage(value)
4125 return 0
4126
4127 def send_ordermessage(self, value):
4128 # Serialize the value into the FBE stream

Callers

nothing calls this directly

Calls 3

send_ordermessageMethod · 0.95
send_balancemessageMethod · 0.95
send_accountmessageMethod · 0.95

Tested by

no test coverage detected