On 11/21/06, Jesse Hou <[EMAIL PROTECTED]> wrote:

So if I add three filter and the three filter(filter1, filter2, filter3)
must be execute from head to tail (first to last).  Both of client and
server side will be add the three filters.  When the server receive the
message from client , the method messageReceived will be fired and the
message will travel through filter1 filter2 filter3,  maybe when I invoke
session.write(message) in method messageReceived  I also want to the
message
travel through filter1 filter2 filter3,  then how to do realize it?  and I
think the filter consuming by session.wirte (close) and messageReceive()
is
a little inconsistent. How do you think so ?


In case of write, the execution occurs in a reverse order (i.e. filter3,
filter2, filter1).  Do you really want to override this default?  Could you
tell me what's your use case?

Trustin
--
what we call human nature is actually human habit
--
http://gleamynode.net/
--
PGP key fingerprints:
* E167 E6AF E73A CBCE EE41  4A29 544D DE48 FE95 4E7E
* B693 628E 6047 4F8F CFA4  455E 1C62 A7DC 0255 ECA6

Reply via email to