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

Method send

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

Source from the content-addressed store, hash-verified

3892 # Send methods
3893
3894 def send(self, value):
3895 if isinstance(value, OrderMessage) and (value.fbe_type == self.ordermessage_model.fbe_type):
3896 return self.send_ordermessage(value)
3897 if isinstance(value, BalanceMessage) and (value.fbe_type == self.balancemessage_model.fbe_type):
3898 return self.send_balancemessage(value)
3899 if isinstance(value, AccountMessage) and (value.fbe_type == self.accountmessage_model.fbe_type):
3900 return self.send_accountmessage(value)
3901 return 0
3902
3903 def send_ordermessage(self, value):
3904 # 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