Page 1 of 1

Property ServerState what is the return numbers mean???

Posted: 2006-09-14 02:01
by Pern
Property ServerState As eServerState
Returns the current state of the server

i got it to return a value of 3 what are the posible return numbers and there meanings??

thankyou in advance for your time in this mater

Posted: 2006-09-14 15:55
by gruenie
Yes, the same question here! :-)
If I'm right, "1" means stopped and "3" means running.
Are there other possibilities?

I would like to add the question, if the status numbers will be the same also in coming releases of hmailserver or could it be that they change?
Gruenie

Posted: 2006-09-14 19:22
by martin
Added to the documentation.
http://www.hmailserver.com/documentatio ... pplication

Status numbers will remain the same unless functionality changes or is removed. The API is generally backwards compatible.

Posted: 2006-09-14 23:05
by Pern
thank you

Posted: 2006-09-15 00:59
by gruenie
Thank you from me too!
Gruenie

Posted: 2006-09-15 09:16
by iprat
Just to comment to Martin that probably:

hStateStopping = 4, Server is running.

probably was meant to be:

hStateStopping = 4, Server is stopping. ;)

Posted: 2006-09-15 16:04
by gruenie
Hi Iprat,
sure you are right and it is probably a typing/copy-error,
but nevertheless, if we are absolutely exact:
While the server is stopping he is still running, becaue if he
wouldn't run, why you would need to stop it? :lol:

Gruenie

Posted: 2006-09-15 16:45
by iprat
Sure gruenie !!! :D It must be still running to be stopping :D :D :D

Posted: 2006-09-15 17:25
by martin
(I updated the docs this morning)