(self, value)
| 4056 | return self.send_serialized(serialized) |
| 4057 | |
| 4058 | def send_accountmessage(self, value): |
| 4059 | # Serialize the value into the FBE stream |
| 4060 | serialized = self.accountmessage_model.serialize(value) |
| 4061 | assert (serialized > 0), "protoex.AccountMessage serialization failed!" |
| 4062 | assert self.accountmessage_model.verify(), "protoex.AccountMessage validation failed!" |
| 4063 | |
| 4064 | # Log the value |
| 4065 | if self.logging: |
| 4066 | message = str(value) |
| 4067 | self.on_send_log(message) |
| 4068 | |
| 4069 | # Send the serialized value |
| 4070 | return self.send_serialized(serialized) |
| 4071 | |
| 4072 | # Send message handler |
| 4073 | def on_send(self, buffer, offset, size): |
no test coverage detected