Find the best way to specify both MINA and non-MINA events.
-----------------------------------------------------------
Key: DIRMINA-463
URL: https://issues.apache.org/jira/browse/DIRMINA-463
Project: MINA
Issue Type: Task
Components: Statemachine
Reporter: Trustin Lee
Priority: Minor
Fix For: 2.0.0-M1
As discussed here: http://tinyurl.com/2omrl9
For now, we use String to identify event types, which is somewhat unsafe.
Using an enum might be useful, but there are a few disadvantages:
* Wildcard event type cannot be used, which could be extended further (e.g.
"message*" or "session(Opened|Closed)")
Probably sticking to String might be the best solution? :)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.