public class CallbackUtils
extends java.lang.Object
| Constructor and Description |
|---|
CallbackUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
printNotificationCallbacks()
Print information about registered callbacks to console
|
static void |
registerLoggingCallback(EOS_LogMessageFunc callback)
Save logging callback reference to avoid removing by Garbage Collector
|
static void |
registerNotificationCallback(EOS_NotificationId notificationId,
com.sun.jna.Callback callback)
Add specified JNA callback to registered callbacks lis
|
static void |
unregisterNotificationCallback(EOS_NotificationId notificationId)
Remove JNA callback with specified NotificationID from a registered callbacks list
|
public static void registerNotificationCallback(EOS_NotificationId notificationId, com.sun.jna.Callback callback)
notificationId - callback NotificationIDcallback - callback functional interfacepublic static void unregisterNotificationCallback(EOS_NotificationId notificationId)
notificationId - callback NotificationID to removepublic static void registerLoggingCallback(EOS_LogMessageFunc callback)
callback - logging callbackpublic static void printNotificationCallbacks()