mandala.jacob.remote.gpf
Class MethodInvocation

java.lang.Object
  extended bymandala.jacob.remote.gpf.MethodInvocation
All Implemented Interfaces:
java.io.Serializable

public class MethodInvocation
extends java.lang.Object
implements java.io.Serializable

Instances of this class represents a method invocation to perform.

Version:
$Revision: 1.2 $
Author:
eipi
See Also:
Serialized Form

Field Summary
 java.lang.Object[] args
          The arguments of the invocation.
 java.lang.Object id
          The identifiant of the invocation.
 MethodOp method
          The method to invoke.
 
Constructor Summary
protected MethodInvocation(MethodOp method, java.lang.Object[] args)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 int hashCode()
           
 InvocationResult invoke(java.lang.Object o)
          Perfom the method invocation.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

id

public final java.lang.Object id

The identifiant of the invocation.


method

public final MethodOp method

The method to invoke.


args

public final java.lang.Object[] args

The arguments of the invocation.

Constructor Detail

MethodInvocation

protected MethodInvocation(MethodOp method,
                           java.lang.Object[] args)
Method Detail

hashCode

public int hashCode()

equals

public boolean equals(java.lang.Object o)

invoke

public InvocationResult invoke(java.lang.Object o)

Perfom the method invocation.

Parameters:
o - the object on which this method invocation must be performed on
Returns:
an InvocationResult value

toString

public java.lang.String toString()


Mandala help mailing list