Package org.jruby.runtime
Class EventHook
java.lang.Object
org.jruby.runtime.EventHook
- Direct Known Subclasses:
Ruby.CallTraceFuncHook
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidevent(ThreadContext context, RubyEvent event, String file, int line, String name, IRubyObject type) abstract voideventHandler(ThreadContext context, String eventName, String file, int line, String name, IRubyObject type) eventSet()abstract booleanisInterestedInEvent(RubyEvent event) boolean
-
Constructor Details
-
EventHook
public EventHook()
-
-
Method Details
-
event
public void event(ThreadContext context, RubyEvent event, String file, int line, String name, IRubyObject type) -
eventHandler
public abstract void eventHandler(ThreadContext context, String eventName, String file, int line, String name, IRubyObject type) -
isInterestedInEvent
-
eventSet
-
needsDebug
public boolean needsDebug()
-