Response to the answer "OP" ...
The way to map the push server to the classic RPC model (for example, implemented by CORBA, SOAP, ICE, RMI, etc.) is to turn the role around so that what you consider your server fills the client role in RPC The template is as follows:
The client makes a call to your server by passing a handle to the callback object.
The server remembers the callback object and returns.
The client goes to bed (or does something else ...)
Later, the server wants to click some data.
The server calls the βpushβ RPC for the callback object, passing data.
The client receives a call / request in the callback object, does something with the data and answers.
Stephen c
source share