org.jruby.runtime.callback
Class InvocationCallback

java.lang.Object
  extended by org.jruby.runtime.callback.InvocationCallback
All Implemented Interfaces:
Callback

public abstract class InvocationCallback
extends java.lang.Object
implements Callback

Author:
Ola Bini

Constructor Summary
InvocationCallback()
           
 
Method Summary
abstract  IRubyObject call(java.lang.Object receiver, java.lang.Object[] args, Block block)
           
 IRubyObject execute(IRubyObject recv, IRubyObject[] oargs, Block block)
           
 Arity getArity()
           
 void setArity(Arity arity)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InvocationCallback

public InvocationCallback()
Method Detail

execute

public IRubyObject execute(IRubyObject recv,
                           IRubyObject[] oargs,
                           Block block)
Specified by:
execute in interface Callback

call

public abstract IRubyObject call(java.lang.Object receiver,
                                 java.lang.Object[] args,
                                 Block block)

setArity

public void setArity(Arity arity)

getArity

public Arity getArity()
Specified by:
getArity in interface Callback


Copyright © 2002-2007 JRuby Team. All Rights Reserved.