@Override public void eventFired(TChannel channel, TEvent event, Object[] args) { log.add( new LoggedEvent( "Event fired on channel " + channel.toString() + ". Event is " + event.toString() + " with parameters " + args.toString())); }
@Override public void msgIAmFree() { log.add(new LoggedEvent("Received message msgIAmFree")); }
@Override public void msgHereIsGlass(Glass glass) { log.add(new LoggedEvent("Received message msgHereIsGlass")); }