1 14 15 package org.quickserver.net.server; 16 17 import java.io.*; 18 import org.quickserver.net.AppException; 19 20 77 public interface ClientAuthenticationHandler { 78 87 public AuthStatus askAuthentication(ClientHandler handler) 88 throws IOException, AppException; 89 90 98 public AuthStatus handleAuthentication(ClientHandler handler, String data) 99 throws IOException, AppException; 100 101 109 public AuthStatus handleAuthentication(ClientHandler handler, Object data) 110 throws IOException, AppException; 111 112 120 public AuthStatus handleAuthentication(ClientHandler handler, byte data[]) 121 throws IOException, AppException; 122 } 123 | Popular Tags |