TPTP 4.4.0 Platform Project
Public API Specification

org.eclipse.hyades.execution.invocation
Class CallData

java.lang.Object
  extended byorg.eclipse.hyades.execution.invocation.MarshalData
      extended byorg.eclipse.hyades.execution.invocation.CallData

public class CallData
extends MarshalData

Instances of this type store data pertaining to a method call that is to be marshalled or unmarshalled.


Field Summary
 
Fields inherited from class org.eclipse.hyades.execution.invocation.MarshalData
argTypes, call, targetId
 
Constructor Summary
CallData(java.lang.Integer targetId, java.lang.Class[] argTypes, java.lang.Object[] callArgs, java.lang.String call)
          This constructor should be used to collect the representation of a method call that has been unmarshalled.
 
Method Summary
 java.lang.Object[] getCallArgs()
          Get the list of actual parameters to be used in the method invocation.
 java.lang.Object getTarget()
          Get the instance that is the target of the method invocation.
 
Methods inherited from class org.eclipse.hyades.execution.invocation.MarshalData
getArgTypes, getCall, getTargetId, isForSameCallAs
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CallData

public CallData(java.lang.Integer targetId,
                java.lang.Class[] argTypes,
                java.lang.Object[] callArgs,
                java.lang.String call)
This constructor should be used to collect the representation of a method call that has been unmarshalled.

Parameters:
targetId - the unique id associated with the target object
argTypes - the list of types matching those declared as parameters in the signature of call
callArgs - the arguments of call
call - the method that is to be invoked
Method Detail

getCallArgs

public java.lang.Object[] getCallArgs()
Get the list of actual parameters to be used in the method invocation.

Returns:
an array of Objects if the method to be invoked accepts parameters, or null if the method does not accept parameters.

getTarget

public java.lang.Object getTarget()
Get the instance that is the target of the method invocation.

Returns:
an Object

TPTP 4.4.0 Platform Project
Public API Specification