New Posts New Posts RSS Feed: Detect Disconnection
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

Detect Disconnection

 Post Reply Post Reply
Author
sarmaad View Drop Down
Newbie
Newbie


Joined: 18-Jul-2010
Location: Sydney
Posts: 15
Post Options Post Options   Quote sarmaad Quote  Post ReplyReply Direct Link To This Post Topic: Detect Disconnection
    Posted: 24-Jan-2012 at 4:34pm
Hi,

Is there a way to detect a disconnection of the manager? (beside checking IsConnected)

thanks.
Back to Top
DenisK View Drop Down
IdeaBlade
IdeaBlade


Joined: 25-Aug-2010
Posts: 715
Post Options Post Options   Quote DenisK Quote  Post ReplyReply Direct Link To This Post Posted: 24-Jan-2012 at 7:45pm
Hi sarmaad,

Another option is to listen to the EntityManager.EntityServerError event. http://drc.ideablade.com/xwiki/bin/view/Documentation/understand-entityserverexception

See if this topic can help you find your answers as well.  http://drc.ideablade.com/xwiki/bin/view/Documentation/connect-entitymanager 

I might be able to help you more if you can elaborate why using the IsConnected property is not sufficient for your use case.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down