Subject: Can i Find out XMPPServer(wildfire) Start or stop?
Hi
I am using agsXMPP 0.71 and wildfire Server 2.4.0
[ Can I find out the WildfireStatus using agsxmpp ]
this is my requirement :-
I am going to login wildfire , It may be Start or Stop.
Before login in wildfire i want to know the Wildfire status( Start / Stop ).
I want call the login method if the server state is start only.can you give me the solution.
Now i am using this code ... When the server stop XmppConnectionState should goes to disconnected.
But it is still on Connecting....it does not exit in the loop...
This is my part of code:-
by
sam
I am using agsXMPP 0.71 and wildfire Server 2.4.0
[ Can I find out the WildfireStatus using agsxmpp ]
this is my requirement :-
I am going to login wildfire , It may be Start or Stop.
Before login in wildfire i want to know the Wildfire status( Start / Stop ).
I want call the login method if the server state is start only.can you give me the solution.
Now i am using this code ... When the server stop XmppConnectionState should goes to disconnected.
But it is still on Connecting....it does not exit in the loop...
This is my part of code:-
- while (LoginClientConnection.XmppConnectionState.ToString() != "SessionStarted" &&
- LoginClientConnection.XmppConnectionState.ToString() != "Disconnected")
- {
- }
- if (LoginClientConnection.XmppConnectionState.ToString() == "Disconnected")
- {
- throw new ApplicationException("Cannot connect to XMPP for:" + LoginClientConnection.Username);
- }
sam
This post was edited on 2006-02-21, 12:10 by Alex.