| Modifier and Type | Class and Description |
|---|---|
| private static class | CallbackManager.
Holder for the single instance of CallbackManager |
| Modifier and Type | Field and Description |
|---|---|
| private final Map |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static RubyClass | Returns: The newly created ruby classthe current thread context context, RubyModule The module to place the class in FFI)Creates a Callback class for a ruby runtime |
| public final Pointer | getCallback(ThreadContext context, CallbackInfo cbInfo, Object proc)
Implements abstract org.
|
| public final synchronized NativeCallbackFactory | |
| public static final CallbackManager | |
| pack-priv final CallbackMemoryIO | newClosure(Ruby runtime, Type returnType, Type[] parameterTypes, Object proc, CallingConvention convention)
|
| factories | back to summary |
|---|---|
| private final Map<CallbackInfo, NativeCallbackFactory> factories | |
| CallbackManager | back to summary |
|---|---|
| public CallbackManager() | |
| createCallbackClass | back to summary |
|---|---|
| public static RubyClass createCallbackClass(ThreadContext context, RubyModule FFI) Creates a Callback class for a ruby runtime
| |
| getCallback | back to summary |
|---|---|
| public final Pointer getCallback(ThreadContext context, CallbackInfo cbInfo, Object proc) Implements abstract org. | |
| getCallbackFactory | back to summary |
|---|---|
| public final synchronized NativeCallbackFactory getCallbackFactory(Ruby runtime, CallbackInfo cbInfo) | |
| getInstance | back to summary |
|---|---|
| public static final CallbackManager getInstance() Gets the singleton instance of CallbackManager | |
| newClosure | back to summary |
|---|---|
| pack-priv final CallbackMemoryIO newClosure(Ruby runtime, Type returnType, Type[] parameterTypes, Object proc, CallingConvention convention) | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final CallbackManager |
| Access | Constructor and Description |
|---|---|
| private |
| INSTANCE | back to summary |
|---|---|
| pack-priv static final CallbackManager INSTANCE | |
| SingletonHolder | back to summary |
|---|---|
| private SingletonHolder() | |