666667668669670671672673674
events.add(new_view); } public byte[] getState() { events.add(new GetStateEvent(null, null)); return new byte[] {'b', 'e', 'l', 'a'}; }
678679680681682683684685686687688
events.add(new SetStateEvent(null, null)); } public void getState(OutputStream ostream) { events.add(new GetStateEvent(null, null)); byte[] payload = new byte[] {'b', 'e', 'l', 'a'}; try { ostream.write(payload);