For the latest news and information visit
The GNU Crypto project

gnu.crypto.auth.callback
Class DefaultCallbackHandler

java.lang.Object
  extended by gnu.crypto.auth.callback.AbstractCallbackHandler
      extended by gnu.crypto.auth.callback.DefaultCallbackHandler
All Implemented Interfaces:
CallbackHandler

public class DefaultCallbackHandler
extends AbstractCallbackHandler

This trivial implementation of CallbackHandler sets its Callback arguments to default values, with no user interaction.


Field Summary
 
Fields inherited from class gnu.crypto.auth.callback.AbstractCallbackHandler
messages
 
Constructor Summary
DefaultCallbackHandler()
           
 
Method Summary
protected  void handleChoice(ChoiceCallback c)
          Handles a ChoiceCallback.
protected  void handleConfirmation(ConfirmationCallback c)
          Handles a ConfirmationCallback.
protected  void handleLanguage(LanguageCallback c)
          Handles a LanguageCallback.
protected  void handleName(NameCallback c)
          Handles a NameCallback.
protected  void handlePassword(PasswordCallback c)
          Handles a PasswordCallback.
protected  void handleTextInput(TextInputCallback c)
          Handles a TextInputCallback.
protected  void handleTextOutput(TextOutputCallback c)
          Handles a TextOutputCallback.
 
Methods inherited from class gnu.crypto.auth.callback.AbstractCallbackHandler
getInstance, getInstance, getInstance, handle, handleOther
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultCallbackHandler

public DefaultCallbackHandler()
Method Detail

handleChoice

protected void handleChoice(ChoiceCallback c)
Description copied from class: AbstractCallbackHandler
Handles a ChoiceCallback.

Specified by:
handleChoice in class AbstractCallbackHandler
Parameters:
c - The choice callback.

handleConfirmation

protected void handleConfirmation(ConfirmationCallback c)
Description copied from class: AbstractCallbackHandler
Handles a ConfirmationCallback.

Specified by:
handleConfirmation in class AbstractCallbackHandler
Parameters:
c - The confirmation callback.

handleLanguage

protected void handleLanguage(LanguageCallback c)
Description copied from class: AbstractCallbackHandler
Handles a LanguageCallback.

Specified by:
handleLanguage in class AbstractCallbackHandler
Parameters:
c - The language callback.

handleName

protected void handleName(NameCallback c)
Description copied from class: AbstractCallbackHandler
Handles a NameCallback.

Specified by:
handleName in class AbstractCallbackHandler
Parameters:
c - The name callback.

handlePassword

protected void handlePassword(PasswordCallback c)
Description copied from class: AbstractCallbackHandler
Handles a PasswordCallback.

Specified by:
handlePassword in class AbstractCallbackHandler
Parameters:
c - The password callback.

handleTextInput

protected void handleTextInput(TextInputCallback c)
Description copied from class: AbstractCallbackHandler
Handles a TextInputCallback.

Specified by:
handleTextInput in class AbstractCallbackHandler
Parameters:
c - The text input callback.

handleTextOutput

protected void handleTextOutput(TextOutputCallback c)
Description copied from class: AbstractCallbackHandler
Handles a TextOutputCallback.

Specified by:
handleTextOutput in class AbstractCallbackHandler
Parameters:
c - The text output callback.

For the latest news and information visit
The GNU Crypto project

Copyright © 2001, 2002, 2003 Free Software Foundation, Inc. All Rights Reserved.