@Test public void testDiscoverAttributesResponseCommand() throws Exception { final DiscoverAttributesResponseCommand command = new DiscoverAttributesResponseCommand(); command.setCommandIdentifier(true); final List<AttributeInformation> list = new ArrayList<AttributeInformation>(); final AttributeInformation data = new AttributeInformation(); data.setAttributeIdentifier(1); data.setAttributeDataType(2); list.add(data); command.setInformation(list); testSerialization(command); }
public void add(final ZclCommandFormat messageFormat) { commandFormats.put(messageFormat.getCommand(), messageFormat); }
ZclCommandProtocol { public void add(final ZclCommandFormat messageFormat) { commandFormats.put(messageFormat.getCommand(), messageFormat); } }
ZclCommandProtocol { public void add(final ZclCommandFormat messageFormat) { commandFormats.put(messageFormat.getCommand(), messageFormat); }  }
ZclCommandProtocol { public void add(final ZclCommandFormat messageFormat) { commandFormats.put(messageFormat.getCommand(), messageFormat); }  static ZclCommandMessage deserializePayload(final byte[] payload, final ZclCommandMessage commandMessage); static byte[] serializePayload(final ZclCommandMessage commandMessage); void add(final ZclCommandFormat messageFormat); ZclCommandFormat get(final ZclCommandType command); }
ZclCommandProtocol { public void add(final ZclCommandFormat messageFormat) { commandFormats.put(messageFormat.getCommand(), messageFormat); }  static ZclCommandMessage deserializePayload(final byte[] payload, final ZclCommandMessage commandMessage); static byte[] serializePayload(final ZclCommandMessage commandMessage); void add(final ZclCommandFormat messageFormat); ZclCommandFormat get(final ZclCommandType command);  }