Package com.slack.api.model.event
Class GoodbyeEvent
java.lang.Object
com.slack.api.model.event.GoodbyeEvent
- All Implemented Interfaces:
Event
,Serializable
The server intends to close the connection soon.
The goodbye event may be sent by a server that expects it will close the connection after an unspecified amount of time. A well formed client should reconnect to avoid data loss.
Other scenarios where you might encounter the goodbye event are:
- reaching the maximum duration of a RTM web socket connection (8 hours)
- your workspace has been inactive for over two minutes
- See Also:
-
Field Details
-
TYPE_NAME
- See Also:
-
-
Constructor Details
-
GoodbyeEvent
public GoodbyeEvent()
-
-
Method Details