public class WsrSession extends AbstractWsBridgeSession<WsrSession,WsrBuffer>
bridgeServiceFactory, logger, loginResult, logoutLogger, resourceAddressFactory, scheduler, sessionTimeout| Constructor and Description |
|---|
WsrSession(int ioLayer,
Thread parentIoThread,
Executor parentIoExecutor,
org.kaazing.mina.core.service.IoServiceEx service,
org.kaazing.mina.core.service.IoProcessorEx<WsrSession> processor,
org.kaazing.gateway.resource.address.ResourceAddress localAddress,
org.kaazing.gateway.resource.address.ResourceAddress remoteAddress,
org.kaazing.mina.core.buffer.IoBufferAllocatorEx<WsrBuffer> allocator,
org.kaazing.gateway.security.auth.DefaultLoginResult loginResult,
List<WebSocketExtension> extensions) |
WsrSession(org.kaazing.mina.core.service.IoServiceEx service,
org.kaazing.mina.core.service.IoProcessorEx<WsrSession> 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<WsrBuffer> allocator,
org.kaazing.gateway.security.auth.DefaultLoginResult loginResult,
List<WebSocketExtension> extensions) |
| Modifier and Type | Method and Description |
|---|---|
void |
clearTimeoutCommand() |
int |
getDownstreamId() |
org.kaazing.gateway.transport.bridge.CachingMessageEncoder |
getMessageEncoder() |
org.kaazing.gateway.resource.address.ResourceAddress |
getRtmpAddress() |
Runnable |
getTimeoutCommand() |
int |
getUpstreamId() |
boolean |
isSecure() |
void |
setDownstreamId(int downstreamId) |
org.kaazing.mina.core.session.IoSessionEx |
setParent(org.kaazing.mina.core.session.IoSessionEx newParent) |
void |
setRtmpAddress(org.kaazing.gateway.resource.address.ResourceAddress rtmpAddress) |
void |
setUpstreamId(int upstreamId) |
cancelSessionTimeoutCommand, getExtensions, getSessionTimeout, logout, setBridgeServiceFactory, setResourceAddressFactory, setScheduler, setSubject, shutdownScheduledCommands, startupScheduledCommands, startupSessionTimeoutCommandcompareAndSetParent, getBufferAllocator, getConfig, getDirection, getHandler, getLocalAddress, getParent, getProcessor, getRemoteAddress, getService, getTransportMetadata, reset, reset, resumeRead1, resumeRead2, setDirection, setHandler, setIoAlignment0, 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 WsrSession(org.kaazing.mina.core.service.IoServiceEx service,
org.kaazing.mina.core.service.IoProcessorEx<WsrSession> 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<WsrBuffer> allocator,
org.kaazing.gateway.security.auth.DefaultLoginResult loginResult,
List<WebSocketExtension> extensions)
public WsrSession(int ioLayer,
Thread parentIoThread,
Executor parentIoExecutor,
org.kaazing.mina.core.service.IoServiceEx service,
org.kaazing.mina.core.service.IoProcessorEx<WsrSession> processor,
org.kaazing.gateway.resource.address.ResourceAddress localAddress,
org.kaazing.gateway.resource.address.ResourceAddress remoteAddress,
org.kaazing.mina.core.buffer.IoBufferAllocatorEx<WsrBuffer> allocator,
org.kaazing.gateway.security.auth.DefaultLoginResult loginResult,
List<WebSocketExtension> extensions)
public org.kaazing.gateway.transport.bridge.CachingMessageEncoder getMessageEncoder()
public void setUpstreamId(int upstreamId)
public int getUpstreamId()
public void setDownstreamId(int downstreamId)
public int getDownstreamId()
public Runnable getTimeoutCommand()
public void clearTimeoutCommand()
public boolean isSecure()
public org.kaazing.mina.core.session.IoSessionEx setParent(org.kaazing.mina.core.session.IoSessionEx newParent)
setParent in class org.kaazing.gateway.transport.AbstractBridgeSession<WsrSession,WsrBuffer>public void setRtmpAddress(org.kaazing.gateway.resource.address.ResourceAddress rtmpAddress)
public org.kaazing.gateway.resource.address.ResourceAddress getRtmpAddress()
Copyright © 2014–2015. All rights reserved.