public class AuthenticationHandler
extends java.lang.Object
限定符和类型 | 字段和说明 |
---|---|
static java.lang.String |
DONE |
static java.lang.String |
FAILED |
static java.lang.String |
ROOT |
static java.lang.String |
START |
static java.lang.String |
WAIT_PASSWORD |
static java.lang.String |
WAIT_USER |
构造器和说明 |
---|
AuthenticationHandler() |
限定符和类型 | 方法和说明 |
---|---|
void |
commandSyntaxError(IoSession session,
CommandSyntaxException e) |
void |
errorWaitingForPassword(IoSession session,
Command cmd) |
void |
errorWaitingForUser(IoSession session,
Command cmd) |
void |
exceptionCaught(IoFilter.NextFilter nextFilter,
IoSession session,
java.lang.Throwable cause) |
void |
exceptionCaught(IoSession session,
java.lang.Exception e) |
void |
filterClose(IoFilter.NextFilter nextFilter,
IoSession session) |
void |
filterWrite(IoFilter.NextFilter nextFilter,
IoSession session,
WriteRequest writeRequest) |
void |
messageReceived(IoFilter.NextFilter nextFilter,
IoSession session,
java.lang.Object message) |
void |
messageSent(IoFilter.NextFilter nextFilter,
IoSession session,
WriteRequest writeRequest) |
void |
password(org.apache.mina.example.tapedeck.AuthenticationHandler.AuthenticationContext context,
IoFilter.NextFilter nextFilter,
IoSession session,
PasswordCommand cmd) |
void |
quit(org.apache.mina.example.tapedeck.TapeDeckServer.TapeDeckContext context,
IoSession session,
QuitCommand cmd) |
void |
sendAuthRequest(IoFilter.NextFilter nextFilter,
IoSession session) |
void |
sessionClosed(IoFilter.NextFilter nextFilter,
IoSession session) |
void |
user(org.apache.mina.example.tapedeck.AuthenticationHandler.AuthenticationContext context,
IoFilter.NextFilter nextFilter,
IoSession session,
UserCommand cmd) |
public static final java.lang.String ROOT
public static final java.lang.String START
public static final java.lang.String WAIT_USER
public static final java.lang.String WAIT_PASSWORD
public static final java.lang.String DONE
public static final java.lang.String FAILED
public void sendAuthRequest(IoFilter.NextFilter nextFilter, IoSession session)
public void user(org.apache.mina.example.tapedeck.AuthenticationHandler.AuthenticationContext context, IoFilter.NextFilter nextFilter, IoSession session, UserCommand cmd)
public void password(org.apache.mina.example.tapedeck.AuthenticationHandler.AuthenticationContext context, IoFilter.NextFilter nextFilter, IoSession session, PasswordCommand cmd)
public void quit(org.apache.mina.example.tapedeck.TapeDeckServer.TapeDeckContext context, IoSession session, QuitCommand cmd)
public void commandSyntaxError(IoSession session, CommandSyntaxException e)
public void exceptionCaught(IoSession session, java.lang.Exception e)
public void sessionClosed(IoFilter.NextFilter nextFilter, IoSession session)
public void exceptionCaught(IoFilter.NextFilter nextFilter, IoSession session, java.lang.Throwable cause)
public void messageReceived(IoFilter.NextFilter nextFilter, IoSession session, java.lang.Object message)
public void messageSent(IoFilter.NextFilter nextFilter, IoSession session, WriteRequest writeRequest)
public void filterClose(IoFilter.NextFilter nextFilter, IoSession session)
public void filterWrite(IoFilter.NextFilter nextFilter, IoSession session, WriteRequest writeRequest)