|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SendCallback
This interface allows implementors to perform logic just before and just after the send. For asynchronous commands there may be a time lag between queuing and sending. And, the send may be performed on a different thread than the queuing. The main purpose of this is to provide a chance to set thread-local information that can affect the serialization logic.
| Method Summary | |
|---|---|
void |
sending(Command command)
This method provides the hook for pre-send logic. |
CommandResponse |
sent(Command command,
CommandResponse response)
This method provides the hook for post-send logic. |
| Method Detail |
|---|
void sending(Command command)
command - the command being sent
CommandResponse sent(Command command,
CommandResponse response)
command - the command being sent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||