org.jruby.runtime
Class Dispatcher

java.lang.Object
  extended by org.jruby.runtime.Dispatcher

public abstract class Dispatcher
extends java.lang.Object


Field Summary
static Dispatcher DEFAULT_DISPATCHER
           
protected  byte[] switchTable
           
 
Constructor Summary
Dispatcher()
           
 
Method Summary
abstract  IRubyObject callMethod(ThreadContext context, IRubyObject self, RubyClass rubyclass, int methodIndex, java.lang.String name, IRubyObject[] args, CallType callType, Block block)
           
 void clearIndex(int index)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_DISPATCHER

public static final Dispatcher DEFAULT_DISPATCHER

switchTable

protected byte[] switchTable
Constructor Detail

Dispatcher

public Dispatcher()
Method Detail

callMethod

public abstract IRubyObject callMethod(ThreadContext context,
                                       IRubyObject self,
                                       RubyClass rubyclass,
                                       int methodIndex,
                                       java.lang.String name,
                                       IRubyObject[] args,
                                       CallType callType,
                                       Block block)

clearIndex

public void clearIndex(int index)


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