(self, value)
| 4278 | # Send methods |
| 4279 | |
| 4280 | def send(self, value): |
| 4281 | if isinstance(value, OrderMessage) and (value.fbe_type == self.ordermessage_model.fbe_type): |
| 4282 | return self.send_ordermessage(value) |
| 4283 | if isinstance(value, BalanceMessage) and (value.fbe_type == self.balancemessage_model.fbe_type): |
| 4284 | return self.send_balancemessage(value) |
| 4285 | if isinstance(value, AccountMessage) and (value.fbe_type == self.accountmessage_model.fbe_type): |
| 4286 | return self.send_accountmessage(value) |
| 4287 | result = self._proto_sender.send(value) |
| 4288 | if result > 0: |
| 4289 | return result |
| 4290 | return 0 |
| 4291 | |
| 4292 | def send_ordermessage(self, value): |
| 4293 | # Serialize the value into the FBE stream |
nothing calls this directly
no test coverage detected