org.jruby.runtime
Interface EventHook

All Known Implementing Classes:
Ruby.CallTraceFuncHook

public interface EventHook

Author:
headius

Field Summary
static java.lang.String[] EVENT_NAMES
           
static int RUBY_EVENT_C_CALL
           
static int RUBY_EVENT_C_RETURN
           
static int RUBY_EVENT_CALL
           
static int RUBY_EVENT_CLASS
           
static int RUBY_EVENT_END
           
static int RUBY_EVENT_LINE
           
static int RUBY_EVENT_RAISE
           
static int RUBY_EVENT_RETURN
           
 
Method Summary
 void event(ThreadContext context, int event, java.lang.String file, int line, java.lang.String name, IRubyObject type)
           
 boolean isInterestedInEvent(int event)
           
 

Field Detail

RUBY_EVENT_LINE

public static final int RUBY_EVENT_LINE
See Also:
Constant Field Values

RUBY_EVENT_CLASS

public static final int RUBY_EVENT_CLASS
See Also:
Constant Field Values

RUBY_EVENT_END

public static final int RUBY_EVENT_END
See Also:
Constant Field Values

RUBY_EVENT_CALL

public static final int RUBY_EVENT_CALL
See Also:
Constant Field Values

RUBY_EVENT_RETURN

public static final int RUBY_EVENT_RETURN
See Also:
Constant Field Values

RUBY_EVENT_C_CALL

public static final int RUBY_EVENT_C_CALL
See Also:
Constant Field Values

RUBY_EVENT_C_RETURN

public static final int RUBY_EVENT_C_RETURN
See Also:
Constant Field Values

RUBY_EVENT_RAISE

public static final int RUBY_EVENT_RAISE
See Also:
Constant Field Values

EVENT_NAMES

public static final java.lang.String[] EVENT_NAMES
Method Detail

event

public void event(ThreadContext context,
                  int event,
                  java.lang.String file,
                  int line,
                  java.lang.String name,
                  IRubyObject type)

isInterestedInEvent

public boolean isInterestedInEvent(int event)


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