In order to use any class and to maintain a clean code, will be useful to have a CallbackInterface to be implemented in any class.
It's better to implement events. The idea is to implement events on Consumer and RpcServer and use classes that implements ListenerAggregateInterface to handle events.
In order to use any class and to maintain a clean code, will be useful to have a CallbackInterface to be implemented in any class.It's better to implement events. The idea is to implement events on Consumer and RpcServer and use classes that implements ListenerAggregateInterface to handle events.