Reply To: IOBoard on close event
About › Forums › Forum › Suggestions › IOBoard on close event › Reply To: IOBoard on close event
April 5, 2012 at 11:27 AM
#623
soundanalogous
Member
No problem. I’ll add this in the next release. You could get access to the websocket close event now like this.
ioBoardInstance.getSocket().addEventListener(WSocketEvent.CLOSE, doSomethingOnDisconnect);
But I’ll add a IOBoardEvent.DISCONNECTED event which will be more convenient.
