Author: ron.sigal(a)jboss.com
Date: 2011-01-30 12:39:45 -0500 (Sun, 30 Jan 2011)
New Revision: 6234
Modified:
remoting2/branches/2.x/docs/userguide/en/chap2.xml
Log:
JBREM-1266: Added a bit to the callback discussion.
Modified: remoting2/branches/2.x/docs/userguide/en/chap2.xml
===================================================================
--- remoting2/branches/2.x/docs/userguide/en/chap2.xml 2011-01-29 02:24:58 UTC (rev 6233)
+++ remoting2/branches/2.x/docs/userguide/en/chap2.xml 2011-01-30 17:39:45 UTC (rev 6234)
@@ -108,9 +108,12 @@
</para>
<para>There are two kinds of callbacks. For <emphasis
role="bold">push callbacks</emphasis>, a dedicated
- <classname>ServerInvoker</classname> is created on the client side and the
- <classname>ServerInvocationHandler</classname> makes invocations on that
<classname>ServerInvoker</classname>
- to send callback objects to the client side. On the other hand, <emphasis
role="bold">pull callbacks</emphasis>
+ <classname>ServerInvoker</classname> is created on the client side and the
server side
+ <classname>ServerInvocationHandler</classname> makes invocations, by way
of the "proxy",
+ on that <classname>ServerInvoker</classname>
+ to send callback objects to the client side. Under the surface, the "proxy"
+ creates a <classname>Client</classname> to handle those invocations.
+ On the other hand, <emphasis role="bold">pull
callbacks</emphasis>
generated by the <classname>ServerInvocationHandler</classname> are stored
on the server side, and a
poller is created on the client side which makes invocations on the server side
<classname>ServerInvoker</classname> to retrieve any stored callbacks.
Show replies by date