public class ResetRequest extends SessionRequest
Reset requests are sent by clients to servers if the client receives an event message out of sequence to force the server to resend events from the correct index.
| Modifier and Type | Class and Description |
|---|---|
static class |
ResetRequest.Builder
Reset request builder.
|
| Constructor and Description |
|---|
ResetRequest(long session,
long index) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object object) |
int |
hashCode() |
long |
index()
Returns the event index.
|
static ResetRequest.Builder |
newBuilder()
Returns a new publish response builder.
|
String |
toString() |
sessionpublic static ResetRequest.Builder newBuilder()
public long index()
public int hashCode()
hashCode in class SessionRequestpublic boolean equals(Object object)
equals in class SessionRequestpublic String toString()
toString in class SessionRequestCopyright © 2013–2017. All rights reserved.