org.libvirt
Class ErrorCallback

java.lang.Object
  extended by org.libvirt.ErrorCallback
All Implemented Interfaces:
com.sun.jna.Callback, Libvirt.VirErrorCallback

public class ErrorCallback
extends java.lang.Object
implements Libvirt.VirErrorCallback

Callback class to allow users of the API to handle the Error messages in a more robust fashion.

Author:
bkearney

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.sun.jna.Callback
com.sun.jna.Callback.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from interface com.sun.jna.Callback
FORBIDDEN_NAMES, METHOD_NAME
 
Constructor Summary
ErrorCallback()
           
 
Method Summary
 void errorCallback(com.sun.jna.Pointer userData, virError error)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ErrorCallback

public ErrorCallback()
Method Detail

errorCallback

public void errorCallback(com.sun.jna.Pointer userData,
                          virError error)
Specified by:
errorCallback in interface Libvirt.VirErrorCallback