org.sourceforge.jemm.comm.shared
Class RPCCallMessage

java.lang.Object
  extended by org.sourceforge.jemm.comm.shared.Message
      extended by 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)
           
 
Method Summary
 java.lang.Class<?> getIfClass()
           
 java.lang.String getMethodName()
           
 java.lang.Object[] getParameters()
           
 java.lang.Class<?>[] getParameterTypes()
           
 boolean isAsyncCall()
           
 
Methods inherited from class org.sourceforge.jemm.comm.shared.Message
getThreadId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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)
Method Detail

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.