public abstract class SieveCommand<T>
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected org.slf4j.Logger |
logger |
protected T |
retVal |
Constructor and Description |
---|
SieveCommand() |
Modifier and Type | Method and Description |
---|---|
protected abstract java.util.List<SieveArg> |
buildCommand() |
protected boolean |
commandSucceeded(SieveResponse rs) |
void |
execute(org.apache.mina.core.session.IoSession session) |
T |
getReceivedData() |
protected void |
reportErrors(SieveResponse sr) |
abstract void |
responseReceived(SieveResponse sr) |
protected T retVal
protected org.slf4j.Logger logger
public void execute(org.apache.mina.core.session.IoSession session)
public abstract void responseReceived(SieveResponse sr)
protected abstract java.util.List<SieveArg> buildCommand()
protected boolean commandSucceeded(SieveResponse rs)
protected void reportErrors(SieveResponse sr)
public T getReceivedData()
Copyright © 2021. All Rights Reserved.