de.schwarzrot.app.support
Class AbstractResponseHandler
java.lang.Object
de.schwarzrot.app.support.AbstractResponseHandler
- All Implemented Interfaces:
- ResponseHandler, Runnable
- Direct Known Subclasses:
- TimestampResponseHandler
public abstract class AbstractResponseHandler
- extends Object
- implements ResponseHandler, Runnable
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ENDSIG
public static final String ENDSIG
- See Also:
- Constant Field Values
AbstractResponseHandler
protected AbstractResponseHandler(Client client,
String requestCommand,
Object requestArgs)
getArguments
public Object getArguments()
- Specified by:
getArguments
in interface ResponseHandler
getCommand
public final String getCommand()
- Specified by:
getCommand
in interface ResponseHandler
getLifetime
public final long getLifetime()
getTransactionFactory
public final TransactionFactory getTransactionFactory()
processResponse
public void processResponse(BufferedReader br)
- Specified by:
processResponse
in interface ResponseHandler
run
public void run()
- Specified by:
run
in interface Runnable
setArguments
public final void setArguments(Object args)
- Specified by:
setArguments
in interface ResponseHandler
setCommand
public final void setCommand(String command)
- Specified by:
setCommand
in interface ResponseHandler
setMaxLifetime
public final void setMaxLifetime(long lifeTime)
- Specified by:
setMaxLifetime
in interface ResponseHandler
skipCheck
public boolean skipCheck()
cleanup
protected void cleanup(long maxLifeTime)
getClient
protected final Client getClient()
getLogger
protected final org.apache.commons.logging.Log getLogger()
processLine
protected abstract void processLine(String line,
BufferedReader br)
Submit
a bug or request a feature
SRJRCFrames is published according to the
GNU General Public License
Copyright 2005-2012
Reinhard Mantey - some rights reserved.