public class XHRPollingClient extends MainBaseClient
| Modifier and Type | Field and Description |
|---|---|
static io.netty.util.AttributeKey<Boolean> |
WRITE_ONCE |
| Constructor and Description |
|---|
XHRPollingClient(AckManager ackManager,
DisconnectableHub disconnectable,
UUID sessionId,
Transport transport,
StoreFactory storeFactory,
HandshakeData handshakeData) |
| Modifier and Type | Method and Description |
|---|---|
void |
bindChannel(io.netty.channel.Channel channel,
String origin) |
String |
getOrigin() |
io.netty.channel.ChannelFuture |
send(Packet packet) |
addChildClient, disconnect, getAckManager, getAllChildClients, getChildClient, getHandshakeData, getRemoteAddress, getSessionId, getStore, getTransport, isConnected, onChannelDisconnect, removeChildClientpublic static final io.netty.util.AttributeKey<Boolean> WRITE_ONCE
public XHRPollingClient(AckManager ackManager, DisconnectableHub disconnectable, UUID sessionId, Transport transport, StoreFactory storeFactory, HandshakeData handshakeData)
public void bindChannel(io.netty.channel.Channel channel,
String origin)
public String getOrigin()
public io.netty.channel.ChannelFuture send(Packet packet)
send in class MainBaseClientCopyright © 2012–2014. All rights reserved.