IOBoard on close event

About Forums Forum Suggestions IOBoard on close event

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

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

    #623

    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.

    #624
    kalanda
    Participant

    Great 😉

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

    #629

    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.