feud.clientserver
Interface ClientPreProcessor

All Known Implementing Classes:
BlueThunderClient

public interface ClientPreProcessor

A client preprocessor will be called by the SimpleClient as the method names indicate.


Method Summary
 void afterReceiving()
          This is called after receiving the response from the server.
 void beforeReceiving()
          This is called after sending and before receiving the response from the server.
 void beforeSending()
          This method will be called before sending data.
 

Method Detail

beforeSending

public void beforeSending()
This method will be called before sending data. It is usually the place, where the actual client implementation prepares/sets the data for the client to send in the coming transfer attempt.


beforeReceiving

public void beforeReceiving()
This is called after sending and before receiving the response from the server. It's totally up to the implementation what (if anything) to do here.


afterReceiving

public void afterReceiving()
This is called after receiving the response from the server. It's totally up to the implementation what (if anything) to do here.