![]() |
Roboid Control for C#
|
Message for communicating the name of a thing.
Public Member Functions | |
| NameMsg (byte networkId, Thing thing) | |
| Create a new message for sending. | |
| NameMsg (byte networkId, byte thingId, string name) | |
| Create a new message for sending. | |
| NameMsg (byte[] buffer) | |
| Create a message for receiving. | |
| override byte | Serialize (ref byte[] buffer) |
| Serialize the message into a byte array for sending. | |
Static Public Attributes | |
| const byte | Id = 0x91 |
| The message ID. | |
| const byte | length = 4 |
| The length of the message. | |
| Passer.RoboidControl.NameMsg.NameMsg | ( | byte | networkId, |
| Thing | thing | ||
| ) |
Create a new message for sending.
| networkId | The network ID of the thing |
| thing | The thing |
| Passer.RoboidControl.NameMsg.NameMsg | ( | byte | networkId, |
| byte | thingId, | ||
| string | name | ||
| ) |
Create a new message for sending.
| networkId | The network ID of the thing |
| thingId | The ID of the thing |
| name | The name of the thing |
| Passer.RoboidControl.NameMsg.NameMsg | ( | byte[] | buffer | ) |
Create a message for receiving.
| buffer | The byte array to parse |
|
virtual |
Serialize the message into a byte array for sending.
| buffer | The buffer to serilize into |
Reimplemented from Passer.RoboidControl.IMessage.