Lines Matching defs:callbacks
38 * @param callbacks an array of <code>Callback</code> objects which contain
46 * specified in the <code>callbacks</code> parameter.
48 public void handle(Callback[] callbacks)
51 for (int i = 0; i < callbacks.length; i++) {
52 if (callbacks[i] instanceof TextOutputCallback) {
55 TextOutputCallback toc = (TextOutputCallback)callbacks[i];
71 } else if (callbacks[i] instanceof NameCallback) {
74 NameCallback nc = (NameCallback)callbacks[i];
82 } else if (callbacks[i] instanceof PasswordCallback) {
85 PasswordCallback pc = (PasswordCallback)callbacks[i];
92 (callbacks[i], "Unrecognized Callback");