Is there any examples?

Should I create an class that extends the ExecutorFilter class and then add 
this class to the filter chain?

In my situation, I have clients that will send some command to the server 
programme, once the server has received the command, it will do some database 
works that will cost lots of time, and when these db works have been done, the 
server will send a response message to the client who is waiting for this 
message.

Is it proper to create an class that extends the ExecutorFilter class and do 
the db works in this class' messageReceived and messageSent methods?

Thank you!

Steven

 
 
 
 

Reply via email to