Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Shutting down a bob (know any equivalent to EGate.shutdownRequest() )

Status
Not open for further replies.

TechnoCat

Programmer
Feb 13, 2004
20
GB

Hello everybody,
I'm having a problem with a bob that I need to shutdown when it encounters an initialization problem...

I for some reason expected to be able to raise an exception in the userInitialize() function of the CRS and therefore halt the initialization, shutting down the bob/eWay itself.... but that's not possible (the interface does not declare any Exception to be thrown); actually even generating an exception (not throwing it) does not stop the bob/eWay initialization process, just leaves it uninitialized and the execBusinessRules() is called anyway...

I found a nice method in the EGate class() called shutdownRequest() but it seems to work only in some special case and only for eWays (I'am actually trying to stop a bob)...
does anybody know some equivalent of that method that would stop my bob?

Is the stccmd script my only possible way to do that? (@%$***^£$% :-|)

Any advise deeply appreciated.
R.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top