(self, value)
| 3929 | return self.send_serialized(serialized) |
| 3930 | |
| 3931 | def send_accountmessage(self, value): |
| 3932 | # Serialize the value into the FBE stream |
| 3933 | serialized = self.accountmessage_model.serialize(value) |
| 3934 | assert (serialized > 0), "proto.AccountMessage serialization failed!" |
| 3935 | assert self.accountmessage_model.verify(), "proto.AccountMessage validation failed!" |
| 3936 | |
| 3937 | # Log the value |
| 3938 | if self.logging: |
| 3939 | message = str(value) |
| 3940 | self.on_send_log(message) |
| 3941 | |
| 3942 | # Send the serialized value |
| 3943 | return self.send_serialized(serialized) |
| 3944 | |
| 3945 | # Send message handler |
| 3946 | def on_send(self, buffer, offset, size): |
no test coverage detected