public class WsebAcceptor extends org.kaazing.gateway.transport.AbstractBridgeAcceptor<WsebSession,org.kaazing.gateway.transport.Bindings.Binding>
| Modifier and Type | Field and Description |
|---|---|
static org.apache.mina.core.session.AttributeKey |
BYTES_WRITTEN_ON_LAST_FLUSH_KEY |
static org.apache.mina.core.session.AttributeKey |
CLIENT_BLOCK_PADDING_KEY |
static org.apache.mina.core.session.AttributeKey |
CLIENT_BUFFER_KEY |
static org.apache.mina.core.session.AttributeKey |
CLIENT_PADDING_KEY |
static String |
EMULATED_SUFFIX |
protected static byte |
LINEFEED_BYTE |
static String |
WSE_VERSION |
| Constructor and Description |
|---|
WsebAcceptor() |
| Modifier and Type | Method and Description |
|---|---|
protected <T extends org.apache.mina.core.future.IoFuture> |
bindInternal(org.kaazing.gateway.resource.address.ResourceAddress address,
org.apache.mina.core.service.IoHandler handler,
org.kaazing.gateway.transport.BridgeSessionInitializer<T> initializer) |
protected boolean |
canBind(String transportName) |
protected org.apache.mina.core.future.IoFuture |
dispose0() |
org.apache.mina.core.service.TransportMetadata |
getTransportMetadata() |
protected org.kaazing.gateway.transport.Bindings<org.kaazing.gateway.transport.Bindings.Binding> |
initBindings() |
protected org.kaazing.mina.core.service.IoProcessorEx<WsebSession> |
initProcessor() |
void |
setBridgeServiceFactory(org.kaazing.gateway.transport.BridgeServiceFactory bridgeServiceFactory) |
void |
setConfiguration(Properties configuration) |
void |
setResourceAddressFactory(org.kaazing.gateway.resource.address.ResourceAddressFactory resourceAddressFactory) |
void |
setSchedulerProvider(org.kaazing.gateway.util.scheduler.SchedulerProvider provider) |
void |
setWsAcceptor(WsAcceptor acceptor) |
protected org.kaazing.mina.core.future.UnbindFuture |
unbindInternal(org.kaazing.gateway.resource.address.ResourceAddress address,
org.apache.mina.core.service.IoHandler handler,
org.kaazing.gateway.transport.BridgeSessionInitializer<? extends org.apache.mina.core.future.IoFuture> initializer) |
bind, emptyBindings, finishSessionInitialization0, getHandler, getInitializer, getLogger, initHandler, unbindaddBridgeFilters, getProcessor, init, newSession, newSession, newSession, removeBridgeFilters, removeFilter, removeFiltergetSessionConfig, getThreadLocalWriteRequestaddListener, broadcast, dispose, executeWorker, executeWorker, getActivationTime, getFilterChain, getFilterChainBuilder, getHandler, getListeners, getManagedSessionCount, getManagedSessions, getScheduledWriteBytes, getScheduledWriteMessages, getSessionDataStructureFactory, getStatistics, initSession, isActive, isDisposed, isDisposing, removeListener, setFilterChainBuilder, setHandler, setSessionDataStructureFactoryclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddListener, broadcast, dispose, getActivationTime, getFilterChain, getFilterChainBuilder, getHandler, getManagedSessionCount, getManagedSessions, getScheduledWriteBytes, getScheduledWriteMessages, getSessionDataStructureFactory, getStatistics, isActive, isDisposed, isDisposing, removeListener, setFilterChainBuilder, setHandler, setSessionDataStructureFactorypublic static final String WSE_VERSION
public static final org.apache.mina.core.session.AttributeKey CLIENT_BUFFER_KEY
public static final org.apache.mina.core.session.AttributeKey CLIENT_PADDING_KEY
public static final org.apache.mina.core.session.AttributeKey CLIENT_BLOCK_PADDING_KEY
public static final org.apache.mina.core.session.AttributeKey BYTES_WRITTEN_ON_LAST_FLUSH_KEY
public static final String EMULATED_SUFFIX
protected static final byte LINEFEED_BYTE
protected org.kaazing.mina.core.service.IoProcessorEx<WsebSession> initProcessor()
initProcessor in class org.kaazing.gateway.transport.AbstractBridgeAcceptor<WsebSession,org.kaazing.gateway.transport.Bindings.Binding>public void setConfiguration(Properties configuration)
public void setBridgeServiceFactory(org.kaazing.gateway.transport.BridgeServiceFactory bridgeServiceFactory)
public void setResourceAddressFactory(org.kaazing.gateway.resource.address.ResourceAddressFactory resourceAddressFactory)
public void setWsAcceptor(WsAcceptor acceptor)
public void setSchedulerProvider(org.kaazing.gateway.util.scheduler.SchedulerProvider provider)
public org.apache.mina.core.service.TransportMetadata getTransportMetadata()
getTransportMetadata in interface org.apache.mina.core.service.IoServicegetTransportMetadata in class org.kaazing.gateway.transport.AbstractBridgeService<WsebSession>protected boolean canBind(String transportName)
canBind in class org.kaazing.gateway.transport.AbstractBridgeAcceptor<WsebSession,org.kaazing.gateway.transport.Bindings.Binding>protected org.kaazing.gateway.transport.Bindings<org.kaazing.gateway.transport.Bindings.Binding> initBindings()
initBindings in class org.kaazing.gateway.transport.AbstractBridgeAcceptor<WsebSession,org.kaazing.gateway.transport.Bindings.Binding>protected <T extends org.apache.mina.core.future.IoFuture> void bindInternal(org.kaazing.gateway.resource.address.ResourceAddress address,
org.apache.mina.core.service.IoHandler handler,
org.kaazing.gateway.transport.BridgeSessionInitializer<T> initializer)
bindInternal in class org.kaazing.gateway.transport.AbstractBridgeAcceptor<WsebSession,org.kaazing.gateway.transport.Bindings.Binding>protected org.kaazing.mina.core.future.UnbindFuture unbindInternal(org.kaazing.gateway.resource.address.ResourceAddress address,
org.apache.mina.core.service.IoHandler handler,
org.kaazing.gateway.transport.BridgeSessionInitializer<? extends org.apache.mina.core.future.IoFuture> initializer)
unbindInternal in class org.kaazing.gateway.transport.AbstractBridgeAcceptor<WsebSession,org.kaazing.gateway.transport.Bindings.Binding>protected org.apache.mina.core.future.IoFuture dispose0()
throws Exception
dispose0 in class org.kaazing.gateway.transport.AbstractBridgeService<WsebSession>ExceptionCopyright © 2014–2016. All rights reserved.