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, sendResultclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsendDataprotected WebSessionResources webSessionResources
public BaseWebUserConnection(WebSessionResources webSessionResources)
public UserSession getSession()
getSession in interface UserClientConnectionpublic io.netty.util.concurrent.Future<Void> getClosureFuture()
UserClientConnectionFuture which will be notified when this
channel is closed. This method always returns the same future instance.getClosureFuture in interface UserClientConnectionpublic SocketAddress getRemoteAddress()
getRemoteAddress in interface UserClientConnectionpublic void setAutoRead(boolean enableAutoRead)
setAutoRead in interface ConnectionThrottlepublic WebSessionResources resources()
protected String webDataType(TypeProtos.MajorType majorType)
Copyright © 2022 The Apache Software Foundation. All rights reserved.