Package com.slack.api.model.event
Class GoodbyeEvent
- java.lang.Object
-
- com.slack.api.model.event.GoodbyeEvent
-
- All Implemented Interfaces:
Event,Serializable
public class GoodbyeEvent extends Object implements Event
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GoodbyeEvent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)StringgetType()inthashCode()StringtoString()-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.slack.api.model.event.Event
getSubtype
-
-
-
-
Field Detail
-
TYPE_NAME
public static final String TYPE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
canEqual
protected boolean canEqual(Object other)
-
-