Package | Description |
---|---|
org.cometd.client | |
org.cometd.client.transport |
Modifier and Type | Method and Description |
---|---|
protected BayeuxClient.State |
BayeuxClient.getState() |
BayeuxClient.State |
BayeuxClient.handshake(long waitMs)
Performs the handshake and waits at most the given time for the handshake to complete.
|
BayeuxClient.State |
BayeuxClient.handshake(Map<String,Object> template,
long waitMs)
Performs the handshake with the given template and waits at most the given time for the handshake to complete.
|
static BayeuxClient.State |
BayeuxClient.State.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BayeuxClient.State[] |
BayeuxClient.State.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
boolean |
BayeuxClient.waitFor(long waitMs,
BayeuxClient.State state,
BayeuxClient.State... states)
Waits for this BayeuxClient to reach the given state(s) within the given time.
|
boolean |
BayeuxClient.waitFor(long waitMs,
BayeuxClient.State state,
BayeuxClient.State... states)
Waits for this BayeuxClient to reach the given state(s) within the given time.
|
Modifier and Type | Method and Description |
---|---|
BayeuxClient.State |
ClientTransport.FailureInfo.actionToState() |
Copyright © 2008–2024 The CometD Project. All rights reserved.