Could do that, public getter.
But, what is this, it removes itself(as far as I can see) in last line, how can I read it then ?
EDIT: hmm, or tihs is realy in its essence olny example and I shoud move all que.removeWatcher out of this class, or something.
Joined: Mar 22, 2005
You should definitely customize the class to suit your needs.
That line simply removes that watcher object from the mail queue - it does not otherwise alter the object, so you can still use it any way you like (assuming that you have stored a reference to it somewhere, obviously).