public class WsnSession extends AbstractWsBridgeSession<WsnSession,WsBuffer>
| Modifier and Type | Field and Description |
|---|---|
static org.kaazing.gateway.transport.TypedAttributeKey<WsnSession> |
SESSION_KEY |
bridgeServiceFactory, LAST_ROUND_TRIP_LATENCY, LAST_ROUND_TRIP_LATENCY_TIMESTAMP, logger, loginContext, logoutLogger, resourceAddressFactory, scheduler, sessionTimeout| Constructor and Description |
|---|
WsnSession(org.kaazing.mina.core.service.IoServiceEx service,
org.kaazing.mina.core.service.IoProcessorEx<WsnSession> processor,
org.kaazing.gateway.resource.address.ResourceAddress localAddress,
org.kaazing.gateway.resource.address.ResourceAddress remoteAddress,
org.kaazing.mina.core.session.IoSessionEx parent,
org.kaazing.mina.core.buffer.IoBufferAllocatorEx<WsBuffer> allocator,
URI httpRequestURI,
org.kaazing.gateway.security.auth.context.ResultAwareLoginContext loginContext,
org.kaazing.gateway.util.ws.WebSocketWireProtocol version,
List<WebSocketExtension> extensions) |
| Modifier and Type | Method and Description |
|---|---|
Throwable |
getCloseException() |
org.kaazing.gateway.resource.address.ResourceAddress |
getLocalAddress() |
org.kaazing.gateway.transport.bridge.CachingMessageEncoder |
getMessageEncoder() |
URI |
getParentHttpRequestURI() |
org.kaazing.gateway.resource.address.ResourceAddress |
getRemoteAddress() |
org.kaazing.gateway.util.ws.WebSocketWireProtocol |
getVersion() |
boolean |
isBalanceSupported() |
boolean |
isSecure() |
void |
reset(Throwable cause) |
void |
setBalanceeURIs(Collection<URI> balanceeURIs) |
cancelSessionTimeoutCommand, getExtensions, getSessionTimeout, logout, setBridgeServiceFactory, setLoginContext, setResourceAddressFactory, setScheduler, setSubject, shutdownScheduledCommands, startupScheduledCommands, startupSessionTimeoutCommandcompareAndSetParent, getBufferAllocator, getConfig, getDirection, getHandler, getParent, getProcessor, getService, getTransportMetadata, reset, resumeRead1, resumeRead2, setDirection, setHandler, setIoAlignment0, setParent, suspendRead1, suspendRead2, toStringaddSubjectChangeListener, doCloseOnFlush, getFilterChain, getIoExecutor, getIoLayer, getIoThread, getSubject, isIoAligned, isIoRegistered, nextWriteRequest, removeSubjectChangeListener, resumeRead0, setIoAlignment, suspendRead0close, close, containsAttribute, decreaseReadBufferSize, decreaseScheduledBytesAndMessages, equals, getAttachment, getAttribute, getAttribute, getAttributeKeys, getAttributeMap, getBothIdleCount, getCloseFuture, getCreationTime, getCurrentWriteMessage, getCurrentWriteRequest, getId, getIdleCount, getLastBothIdleTime, getLastIdleTime, getLastIoTime, getLastReaderIdleTime, getLastReadTime, getLastWriterIdleTime, getLastWriteTime, getReadBytes, getReadBytesThroughput, getReaderIdleCount, getReadMessages, getReadMessagesThroughput, getScheduledWriteBytes, getScheduledWriteMessages, getServiceAddress, getWriteRequestQueue, getWriterIdleCount, getWrittenBytes, getWrittenBytesThroughput, getWrittenMessages, getWrittenMessagesThroughput, hashCode, increaseIdleCount, increaseReadBufferSize, increaseReadBytes, increaseReadMessages, increaseScheduledWriteBytes, increaseWrittenBytes, isBothIdle, isClosing, isConnected, isIdle, isReaderIdle, isReadSuspended, isScheduledForFlush, isWriterIdle, isWriteSuspended, notifyIdleness, notifyIdleSession, offerClosedReadFuture, offerFailedReadFuture, offerReadFuture, read, removeAttribute, removeAttribute, replaceAttribute, resumeRead, resumeWrite, resumeWrite0, setAttachment, setAttribute, setAttribute, setAttributeIfAbsent, setAttributeIfAbsent, setAttributeMap, setCurrentWriteRequest, setScheduledForFlush, setScheduledWriteBytes, setWriteRequestQueue, suspendRead, suspendWrite, suspendWrite0, updateThroughput, write, writeclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddSubjectChangeListener, getIoExecutor, getIoLayer, getIoThread, getSubject, isIoAligned, isIoRegistered, removeSubjectChangeListener, setIoAlignmentclose, close, containsAttribute, getAttachment, getAttribute, getAttribute, getAttributeKeys, getBothIdleCount, getCloseFuture, getCreationTime, getCurrentWriteMessage, getCurrentWriteRequest, getFilterChain, getId, getIdleCount, getLastBothIdleTime, getLastIdleTime, getLastIoTime, getLastReaderIdleTime, getLastReadTime, getLastWriterIdleTime, getLastWriteTime, getReadBytes, getReadBytesThroughput, getReaderIdleCount, getReadMessages, getReadMessagesThroughput, getScheduledWriteBytes, getScheduledWriteMessages, getServiceAddress, getWriteRequestQueue, getWriterIdleCount, getWrittenBytes, getWrittenBytesThroughput, getWrittenMessages, getWrittenMessagesThroughput, isBothIdle, isClosing, isConnected, isIdle, isReaderIdle, isReadSuspended, isWriterIdle, isWriteSuspended, read, removeAttribute, removeAttribute, replaceAttribute, resumeRead, resumeWrite, setAttachment, setAttribute, setAttribute, setAttributeIfAbsent, setAttributeIfAbsent, setCurrentWriteRequest, suspendRead, suspendWrite, updateThroughput, write, writepublic static final org.kaazing.gateway.transport.TypedAttributeKey<WsnSession> SESSION_KEY
public WsnSession(org.kaazing.mina.core.service.IoServiceEx service,
org.kaazing.mina.core.service.IoProcessorEx<WsnSession> processor,
org.kaazing.gateway.resource.address.ResourceAddress localAddress,
org.kaazing.gateway.resource.address.ResourceAddress remoteAddress,
org.kaazing.mina.core.session.IoSessionEx parent,
org.kaazing.mina.core.buffer.IoBufferAllocatorEx<WsBuffer> allocator,
URI httpRequestURI,
org.kaazing.gateway.security.auth.context.ResultAwareLoginContext loginContext,
org.kaazing.gateway.util.ws.WebSocketWireProtocol version,
List<WebSocketExtension> extensions)
public org.kaazing.gateway.transport.bridge.CachingMessageEncoder getMessageEncoder()
public org.kaazing.gateway.util.ws.WebSocketWireProtocol getVersion()
public boolean isBalanceSupported()
public void setBalanceeURIs(Collection<URI> balanceeURIs)
public boolean isSecure()
public URI getParentHttpRequestURI()
public org.kaazing.gateway.resource.address.ResourceAddress getLocalAddress()
getLocalAddress in interface org.apache.mina.core.session.IoSessiongetLocalAddress in interface org.kaazing.gateway.transport.BridgeSessiongetLocalAddress in class org.kaazing.gateway.transport.AbstractBridgeSession<WsnSession,WsBuffer>public org.kaazing.gateway.resource.address.ResourceAddress getRemoteAddress()
getRemoteAddress in interface org.apache.mina.core.session.IoSessiongetRemoteAddress in interface org.kaazing.gateway.transport.BridgeSessiongetRemoteAddress in class org.kaazing.gateway.transport.AbstractBridgeSession<WsnSession,WsBuffer>public void reset(Throwable cause)
reset in class org.kaazing.gateway.transport.AbstractBridgeSession<WsnSession,WsBuffer>public Throwable getCloseException()
Copyright © 2014–2016. All rights reserved.