public HandlerSocketDecoder() {
super();
}
public Object decode(IoBuffer buffer, Session origSession) {
HandlerSocketSession session = (HandlerSocketSession) origSession;
if (session.getCurrentCommand() != null) {
return this.decode0(buffer, session);
} else {
session.takeCurrentCommand();
return this.decode0(buffer, session);
}
}