Interface ZCLCommandDescription
-
public interface ZCLCommandDescriptionThis interface represents a ZCLCommandDescription.- Author:
- $Id: af022a52a6f9c7ca8f60c96b619d49d1f85ed1ea $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description shortgetId()Returns the command identifier.intgetManufacturerCode()Returns the manufacturer code.java.lang.StringgetName()Returns the command name.ZCLParameterDescription[]getParameterDescriptions()Returns an array of the parameter descriptions.java.lang.StringgetShortDescription()Returns the command functional description.booleanisClientServerDirection()Checks if this is a server-side command (that is going from the client to server direction).booleanisClusterSpecificCommand()booleanisMandatory()Checks if this command it mandatory.booleanisManufacturerSpecific()Checks if the command is manufacturer specific.
-
-
-
Method Detail
-
getId
short getId()
Returns the command identifier.- Returns:
- the command identifier.
-
getName
java.lang.String getName()
Returns the command name.- Returns:
- the command name.
-
getShortDescription
java.lang.String getShortDescription()
Returns the command functional description.- Returns:
- the command functional description.
-
isMandatory
boolean isMandatory()
Checks if this command it mandatory.- Returns:
- true, if and only if the command is mandatory.
-
getParameterDescriptions
ZCLParameterDescription[] getParameterDescriptions()
Returns an array of the parameter descriptions.- Returns:
- an array of the parameter descriptions.
-
isClusterSpecificCommand
boolean isClusterSpecificCommand()
- Returns:
- the isClusterSpecificCommand value.
-
getManufacturerCode
int getManufacturerCode()
Returns the manufacturer code. Default value is: -1 (no code).- Returns:
- the manufacturer code.
-
isManufacturerSpecific
boolean isManufacturerSpecific()
Checks if the command is manufacturer specific.- Returns:
trueif end only ifgetManufacturerCode()is not. -1.
-
isClientServerDirection
boolean isClientServerDirection()
Checks if this is a server-side command (that is going from the client to server direction).- Returns:
- the isClientServerDirection value.
-
-