public static class KeepAliveRequest.Builder extends Object
| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
KeepAliveRequest |
build() |
KeepAliveRequest.Builder |
withCommandSequences(long[] commandSequences)
Sets the command sequence numbers.
|
KeepAliveRequest.Builder |
withEventIndexes(long[] eventIndexes)
Sets the event indexes.
|
KeepAliveRequest.Builder |
withSessionIds(long[] sessionIds)
Sets the session identifiers.
|
public KeepAliveRequest.Builder withSessionIds(long[] sessionIds)
sessionIds - The session identifiers.NullPointerException - if sessionIds is nullpublic KeepAliveRequest.Builder withCommandSequences(long[] commandSequences)
commandSequences - The command sequence numbers.NullPointerException - if commandSequences is nullpublic KeepAliveRequest.Builder withEventIndexes(long[] eventIndexes)
eventIndexes - The event indexes.NullPointerException - if eventIndexes is nullpublic KeepAliveRequest build()
Copyright © 2013–2017. All rights reserved.