In the old version RPCEvent and Baseevent were superfluous, because they were provided by the atmosphere framework. So I deleted them to make the example work. Afterwards I decided to enhance the example to show, how different message types can be transported, because in onMessage you only can call getResponse only for one type. So the messages must inherit from a basetype.  And I made a new BaseEvent. Old Baseevent and new are not related (and in another package).