Roboid Control for C#
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
Passer.RoboidControl.InvestigateMsg Class Reference

Detailed Description

Message to request details for a Thing.

Inheritance diagram for Passer.RoboidControl.InvestigateMsg:
Passer.RoboidControl.IMessage

Public Member Functions

 InvestigateMsg (byte networkId, byte thingId)
 Create a new message for sending.
 
 InvestigateMsg (byte[] buffer)
 Create a message for receiving.
 
override byte Serialize (ref byte[] buffer)
 Serialize the message into a byte array for sending.
 

Public Attributes

byte networkId
 The network ID of the thing.
 
byte thingId
 The ID of the thing.
 

Static Public Attributes

const byte Id = 0x81
 The message Id.
 
const byte length = 3
 The length of the message.
 

Constructor & Destructor Documentation

◆ InvestigateMsg() [1/2]

Passer.RoboidControl.InvestigateMsg.InvestigateMsg ( byte  networkId,
byte  thingId 
)

Create a new message for sending.

Parameters
networkIdThe network ID for the thing
thingIdThe ID of the thing

◆ InvestigateMsg() [2/2]

Passer.RoboidControl.InvestigateMsg.InvestigateMsg ( byte[]  buffer)

Create a message for receiving.

Parameters
bufferThe byte array to parse

Member Function Documentation

◆ Serialize()

override byte Passer.RoboidControl.InvestigateMsg.Serialize ( ref byte[]  buffer)
virtual

Serialize the message into a byte array for sending.

Parameters
bufferThe buffer to serilize into
Returns
The length of the message in the buffer

Reimplemented from Passer.RoboidControl.IMessage.