Seda Shutdown

"Vohra, Bhupesh (Bhupesh)" <[email protected]> Wed, 19 Nov 2003 14:18:15 -0500
Newsgroups gmane.comp.java.seda.user
Message-ID <D3F8FD817CC7DA408AEB2CAC631C042A0710FA42@nj7460exch001u.ho.lucent.com>
Hi,

Is Seda Shutdown supported currently?
In lot of files, shutdown function like Stop()/Destroy() just throw 
java.lang.IllegalArgumentException

To test shutdown, I added following code in 
seda.sandStorm.main.Main.java

 Sandstorm ss = new Sandstorm();
>>>>
      sandStormMgr mgr = (sandStormMgr)ss.getManager(); //get Manager
      mgr.stop(); //Stop sandstorm.
>>>>

I am getting exception:

Sandstorm.main(): Got exception: java.lang.IllegalArgumentException: aSocketThreadManager: deregisterAll not supported
 java.lang.IllegalArgumentException: aSocketThreadManager: deregisterAll not supported 	at seda.sandStorm.lib.aSocket.aSocketThreadManager.deregisterAll(aSocketThreadManager.java:76) 	at seda.sandStorm.internal.sandStormMgr.stop(sandStormMgr.java:125) 	at seda.sandStorm.main.Main.main(Main.java:99) 

Also is there any way to destroy one stage only?
seda.sandStorm.internal.Stage.java throws exception
  /**
   * Destroy this stage.
   */
  public void destroy() {
    throw new IllegalArgumentException("XXX Not yet implemented!");
  }


Thanx,
Bhupesh


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/