public abstract class BaseWebUserConnection extends AbstractDisposableUserClientConnection implements ConnectionThrottle
Modifier and Type | Field and Description |
---|---|
protected WebSessionResources |
webSessionResources |
error, latch, queryState
Constructor and Description |
---|
BaseWebUserConnection(WebSessionResources webSessionResources) |
Modifier and Type | Method and Description |
---|---|
io.netty.util.concurrent.Future<Void> |
getClosureFuture()
Returns the
Future which will be notified when this
channel is closed. |
SocketAddress |
getRemoteAddress() |
UserSession |
getSession() |
WebSessionResources |
resources() |
void |
setAutoRead(boolean enableAutoRead) |
protected String |
webDataType(TypeProtos.MajorType majorType) |
await, await, getError, getQueryState, sendResult
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
sendData
protected WebSessionResources webSessionResources
public BaseWebUserConnection(WebSessionResources webSessionResources)
public UserSession getSession()
getSession
in interface UserClientConnection
public io.netty.util.concurrent.Future<Void> getClosureFuture()
UserClientConnection
Future
which will be notified when this
channel is closed. This method always returns the same future instance.getClosureFuture
in interface UserClientConnection
public SocketAddress getRemoteAddress()
getRemoteAddress
in interface UserClientConnection
public void setAutoRead(boolean enableAutoRead)
setAutoRead
in interface ConnectionThrottle
public WebSessionResources resources()
protected String webDataType(TypeProtos.MajorType majorType)
Copyright © 1970 The Apache Software Foundation. All rights reserved.