protected EzyArray parseArray(EzyByteBuffer buffer, int size) { EzyArrayBuilder builder = newArrayBuilder(); for (int i = 0; i < size; ++i) { builder.append(deserialize(buffer)); } return(builder.build()); }
public void udpSend(String cmd, EzyData data) { EzyArrayBuilder commandData = EzyEntityFactory.newArrayBuilder() .append(cmd) .append(data); EzyArray requestData = EzyEntityFactory.newArrayBuilder() .append(id) .append(commandData.build()) .build(); client.udpSend(EzyCommand.PLUGIN_REQUEST, requestData); }
public EzyArrayBuilder newArrayBuilder() { EzyArrayBuilder builder = new EzyArrayBuilder(INPUT_TRANSFORMER, OUTPUT_TRANSFORMER); return(builder); }