Package com.launchdarkly.eventsource
Class StartedEvent
- java.lang.Object
-
- com.launchdarkly.eventsource.StartedEvent
-
- All Implemented Interfaces:
StreamEvent
public final class StartedEvent extends java.lang.Object implements StreamEvent
Represents the beginning of a stream.This event will be returned by
EventSource.readAnyEvent()
orEventSource.anyEvents()
if the stream started as a side effect of calling those methods, rather than from callingEventSource.start()
. You will also get a new StartedEvent if the stream was closed and then reconnected.- Since:
- 4.0.0
- See Also:
FaultEvent
-
-
Constructor Summary
Constructors Constructor Description StartedEvent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
int
hashCode()
java.lang.String
toString()
-