Need finer grain AcceptEvent

1 view
Skip to first unread message

Cheong Chung Onn

unread,
Aug 5, 2009, 1:02:24 AM8/5/09
to sarasvat...@googlegroups.com
Hi Paul,

Currently sarasvati fires an 'AcceptEvent' event just after a
guardAction returns an AcceptToken response, this is inadequate for me
as I need to need to do a post processing after the token has executed
i.e. token.getNode()#execute.

I expanded the NodeTokenEvent#newAcceptEvent to
NodeTokenEvent#newPreAcceptEvent and NodeTokenEvent#newPostAcceptEvent.
Please let me know what do you think of this enhancement. Should other
Token events have something similar?

Regards
chung-onn

Paul Lorenz

unread,
Aug 5, 2009, 9:25:43 AM8/5/09
to sarasvat...@googlegroups.com
I'd prefer that Accept stays Accept, for consistency with Discard and Skip. PostAccept should be called Executed.

cheers,
Paul

Cheong Chung Onn

unread,
Aug 5, 2009, 10:43:00 AM8/5/09
to sarasvat...@googlegroups.com
Done.

Regards
chung-onn
Reply all
Reply to author
Forward
0 new messages