| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sourceforge.jemmrpc.shared.Message
org.sourceforge.jemmrpc.shared.RPCCallMessage
public class RPCCallMessage
The RPCCallMessage details an RPC call, giving information about the calling thread, target interface,method arguments and whether the call is synchronous or asynchronous.
| Field Summary | |
|---|---|
|  boolean | asyncCallWhether this is an asynchronous call rather than a synchronous one. | 
| protected  java.lang.Class<?> | ifClassTarget interface class. | 
| protected  java.lang.String | methodNameTarget method name. | 
|  java.lang.Class<?>[] | parameterTypesmethod parameter types. | 
| Constructor Summary | |
|---|---|
| RPCCallMessage(java.lang.String threadId,
               boolean asyncCall,
               java.lang.Class<?> ifClass,
               java.lang.String methodName,
               java.lang.Class<?>[] parameterTypes,
               java.lang.Object[] parameters) | |
| Method Summary | |
|---|---|
|  java.lang.Class<?> | getIfClass()Return the called interface class. | 
|  java.lang.Object[] | getParameters()Return the parameters to the RPC call. | 
| Methods inherited from class org.sourceforge.jemmrpc.shared.Message | 
|---|
| getThreadId | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
public final boolean asyncCall
protected final java.lang.Class<?> ifClass
protected final java.lang.String methodName
public final java.lang.Class<?>[] parameterTypes
| Constructor Detail | 
|---|
public RPCCallMessage(java.lang.String threadId,
                      boolean asyncCall,
                      java.lang.Class<?> ifClass,
                      java.lang.String methodName,
                      java.lang.Class<?>[] parameterTypes,
                      java.lang.Object[] parameters)
threadId - The threadId of the caller.asyncCall - True for asynchronous call, false for synchronous.ifClass - The target interface class.methodName - The target method name.parameterTypes - The parameter types of the target method.parameters - The parameter values (wrapped if base types)| Method Detail | 
|---|
public java.lang.Class<?> getIfClass()
public java.lang.Object[] getParameters()
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||