All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.launchdarkly.eventsource.StartedEvent Maven / Gradle / Ivy

There is a newer version: 4.1.1
Show newest version
package com.launchdarkly.eventsource;

/**
 * Represents the beginning of a stream.
 * 

* This event will be returned by {@link EventSource#readAnyEvent()} or * {@link EventSource#anyEvents()} if the stream started as a side effect of * calling those methods, rather than from calling {@link EventSource#start()}. * You will also get a new StartedEvent if the stream was closed and then * reconnected. * * @see FaultEvent * @since 4.0.0 */ public final class StartedEvent implements StreamEvent { @Override public boolean equals(Object o) { return o instanceof StartedEvent; } @Override public int hashCode() { return 0; } @Override public String toString() { return "StartedEvent"; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy