Author: ron.sigal(a)jboss.com
Date: 2009-04-14 01:59:17 -0400 (Tue, 14 Apr 2009)
New Revision: 4989
Modified:
remoting2/branches/2.x/src/main/org/jboss/remoting/Client.java
Log:
JBREM-1103: Updated javadoc for invokeOneway() methods.
Modified: remoting2/branches/2.x/src/main/org/jboss/remoting/Client.java
===================================================================
--- remoting2/branches/2.x/src/main/org/jboss/remoting/Client.java 2009-04-14 05:58:18 UTC
(rev 4988)
+++ remoting2/branches/2.x/src/main/org/jboss/remoting/Client.java 2009-04-14 05:59:17 UTC
(rev 4989)
@@ -632,7 +632,7 @@
* client will not wait for a return.
* <b>
* This is done one of two ways. The first is to pass true as the clientSide param.
This will
- * cause the execution of the remote call to be excuted in a new thread on the client
side and
+ * cause the execution of the remote call to be executed in a new thread on the client
side and
* will return the calling thread before making call to server side.
* <p/>
* The second, is to pass false as the clientSide param. This will allow the current
calling
@@ -640,7 +640,8 @@
* the thread will be executed on the remote server in a new executing thread.
* <p>
* NOTE: The treatment of server side oneway invocations may vary with the transport.
The
- * client side transport is not required to wait for a reply from the server.
+ * client side transport is not required to wait for a reply from the server. In
particular,
+ * the socket and bisocket transports return immediately after writing the
invocation.
*/
public void invokeOneway(final Object param, final Map sendPayload, boolean
clientSide)
throws Throwable
@@ -844,8 +845,7 @@
/**
* Same as calling invokeOneway(Object param, Map sendPayload, boolean clientSide)
with
- * clientSide param being false and a null sendPayload. Therefore, client thread will
not return
- * till it has made remote call.
+ * clientSide param being false and a null sendPayload.
*/
public void invokeOneway(Object param) throws Throwable
{
@@ -854,8 +854,7 @@
/**
* Same as calling invokeOneway(Object param, Map sendPayload, boolean clientSide)
with
- * clientSide param being false. Therefore, client thread will not return till it has
made
- * remote call.
+ * clientSide param being false.
*/
public void invokeOneway(Object param, Map sendPayload) throws Throwable
{
Show replies by date