org.sourceforge.jemm.comm.shared
Class RPCCallMessage
java.lang.Object
org.sourceforge.jemm.comm.shared.Message
org.sourceforge.jemm.comm.shared.RPCCallMessage
- All Implemented Interfaces:
- java.io.Serializable
public class RPCCallMessage
- extends Message
The RPCCallMessage details an RPC call, giving information about the calling thread,
target interface,method arguments and whether the call is synchronous or asynchronous.
- Author:
- Rory Graves
- See Also:
- Serialized Form
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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RPCCallMessage
public RPCCallMessage(java.lang.String threadId,
boolean asyncCall,
java.lang.Class<?> ifClass,
java.lang.String methodName,
java.lang.Class<?>[] parameterTypes,
java.lang.Object[] parameters)
- 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)
getIfClass
public java.lang.Class<?> getIfClass()
getMethodName
public java.lang.String getMethodName()
getParameterTypes
public java.lang.Class<?>[] getParameterTypes()
getParameters
public java.lang.Object[] getParameters()
isAsyncCall
public boolean isAsyncCall()
Copyright © 2009. All Rights Reserved.