|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.libvirt.ConnectAuth
public abstract class ConnectAuth
We diverge from the C implementation There is no explicit cbdata field, you should just add any extra data to the child class's instance.
Nested Class Summary | |
---|---|
class |
ConnectAuth.Credential
|
static class |
ConnectAuth.CredentialType
|
Nested classes/interfaces inherited from interface com.sun.jna.Callback |
---|
com.sun.jna.Callback.UncaughtExceptionHandler |
Field Summary | |
---|---|
ConnectAuth.CredentialType[] |
credType
List of supported ConnectCredential.CredentialType values |
Fields inherited from interface com.sun.jna.Callback |
---|
FORBIDDEN_NAMES, METHOD_NAME |
Constructor Summary | |
---|---|
ConnectAuth()
|
Method Summary | |
---|---|
int |
authCallback(virConnectCredential cred,
int ncred,
com.sun.jna.Pointer cbdata)
|
abstract int |
callback(ConnectAuth.Credential[] cred)
The callback function that fills the credentials in |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public ConnectAuth.CredentialType[] credType
Constructor Detail |
---|
public ConnectAuth()
Method Detail |
---|
public int authCallback(virConnectCredential cred, int ncred, com.sun.jna.Pointer cbdata)
authCallback
in interface Libvirt.VirConnectAuthCallback
public abstract int callback(ConnectAuth.Credential[] cred)
cred
- the array of credentials passed by libvirt
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |