IOBoard on close event

About Forums Forum Suggestions IOBoard on close event

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #621

    An IOBoard “on close” event would be useful to know if the server close the connection.


    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.


    Great 😉

    I have my remote control for Photoduino almost done. Thanks for your work again 😉


    IOBoardEvent.DISCONNECTED has now been added in v0.1.4

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.