Method IsMatch
IsMatch(int)
Indicates whether the Harp message matches the specified address.
public bool IsMatch(int address)
Parameters
address
intThe address to test for a match.
Returns
- bool
true
if this Harp message matches the specified address; otherwise,false
.
IsMatch(int, MessageType)
Indicates whether the Harp message matches the specified address and message type.
public bool IsMatch(int address, MessageType messageType)
Parameters
address
intThe address to test for a match.
messageType
MessageTypeThe message type to test for a match.
Returns
- bool
true
if this Harp message matches the specified address and message type; otherwise,false
.
IsMatch(int, PayloadType)
Indicates whether the Harp message matches the specified address and payload type.
public bool IsMatch(int address, PayloadType payloadType)
Parameters
address
intThe address to test for a match.
payloadType
PayloadTypeThe payload type to test for a match.
Returns
- bool
true
if this Harp message matches the specified address and payload type; otherwise,false
.
IsMatch(int, MessageType, PayloadType)
Indicates whether the Harp message matches the specified address, message type, and payload type.
public bool IsMatch(int address, MessageType messageType, PayloadType payloadType)
Parameters
address
intThe address to test for a match.
messageType
MessageTypeThe message type to test for a match.
payloadType
PayloadTypeThe payload type to test for a match.
Returns
- bool
true
if this Harp message matches the specified address, message type, and payload type; otherwise,false
.