org.jboss.remoting.transport.sslmultiplex
Class SSLMultiplexServerInvoker

java.lang.Object
  extended byorg.jboss.remoting.AbstractInvoker
      extended byorg.jboss.remoting.ServerInvoker
          extended byorg.jboss.remoting.transport.socket.SocketServerInvoker
              extended byorg.jboss.remoting.transport.multiplex.MultiplexServerInvoker
                  extended byorg.jboss.remoting.transport.sslmultiplex.SSLMultiplexServerInvoker
All Implemented Interfaces:
Invoker, java.lang.Runnable, ServerInvokerMBean, SocketServerInvokerMBean, VirtualSocket.DisconnectListener

public class SSLMultiplexServerInvoker
extends MultiplexServerInvoker

SSLMultiplexServerInvoker is the server side of the sslmultiplex transport. For more information, see Remoting documentation on labs.jboss.org.

Version:
$Revision: 1.2 $

Copyright (c) Mar 24, 2006

Author:
Ron Sigal

Nested Class Summary
 
Nested classes inherited from class org.jboss.remoting.transport.multiplex.MultiplexServerInvoker
MultiplexServerInvoker.InternalHandshakeListener, MultiplexServerInvoker.SocketGroupInfo
 
Nested classes inherited from class org.jboss.remoting.transport.socket.SocketServerInvoker
SocketServerInvoker.ServerSocketRefresh
 
Nested classes inherited from class org.jboss.remoting.ServerInvoker
ServerInvoker.InvalidStateException
 
Field Summary
 
Fields inherited from class org.jboss.remoting.transport.multiplex.MultiplexServerInvoker
log
 
Fields inherited from class org.jboss.remoting.transport.socket.SocketServerInvoker
acceptThreads, backlog, CHECK_CONNECTION_KEY, clientpool, maxPoolSize, newServerSocketFactory, numAcceptThreads, reuseAddress, running, SERVER_SOCKET_CLASS_FLAG, serverSocket, threadpool, trace
 
Fields inherited from class org.jboss.remoting.ServerInvoker
callbackHandlers, CLIENT_CONNECT_ADDRESS_KEY, CLIENT_CONNECT_PORT_KEY, CLIENT_LEASE_PERIOD, clientCallbackListener, DEFAULT_CLIENT_LEASE_PERIOD, DEFAULT_TIMEOUT_PERIOD, handlers, MAX_NUM_ONEWAY_THREADS, MAX_NUM_ONEWAY_THREADS_KEY, ONEWAY_THREAD_POOL_CLASS_KEY, SERVER_BIND_ADDRESS_KEY, SERVER_BIND_PORT_KEY, SERVER_SOCKET_FACTORY, serverSocketFactory, TIMEOUT
 
Fields inherited from class org.jboss.remoting.AbstractInvoker
classbyteloader, configuration, localServerLocators, locator, serializationType, socketFactory, socketFactoryCreatedFromSSLParameters
 
Constructor Summary
SSLMultiplexServerInvoker(InvokerLocator locator)
           
SSLMultiplexServerInvoker(InvokerLocator locator, java.util.Map configuration)
           
 
Method Summary
protected  javax.net.SocketFactory createSocketFactory(java.util.Map configuration)
          If any configuration parameters relate to the construction of a SSLSocketBuilder, create one.
protected  javax.net.ServerSocketFactory getDefaultServerSocketFactory()
          Gets the default server socket factory to use for the server invoker.
 
Methods inherited from class org.jboss.remoting.transport.multiplex.MultiplexServerInvoker
cleanup, configureSocketGroupParameters, createPrimingSocket, createPrimingSocket, createServerSocket, finishStart, getAddressPairMap, getDefaultDataType, getInputBufferSize, getInputMaxErrors, getMaxAcceptErrors, getMultiplexConnectHost, getMultiplexConnectPort, getOutputMaxChunkSize, getOutputMaxDataSlice, getOutputMaxTimeSlice, getOutputMessagePoolSize, getOutputMessageSize, getParameters, getServerInvoker, getServerInvokers, getServerMultiplexId, getServerSocket, getShutdownMonitorPeriod, getShutdownRefusalsMaximum, getShutdownRequestTimeout, getSocketGroupMap, getStaticThreadsMonitorPeriod, getThreadName, isSafeToShutdown, notifyDisconnected, processInvocation, refreshServerSocket, resetLocator, rule1, rule2, rule3, rule4, run, setBindingInfo, setInputBufferSize, setInputMaxErrors, setMaxAcceptErrors, setOutputMaxChunkSize, setOutputMaxDataSlice, setOutputMaxTimeSlice, setOutputMessagePoolSize, setOutputMessageSize, setShutdownMonitorPeriod, setShutdownRefusalsMaximum, setShutdownRequestTimeout, setStaticThreadsMonitorPeriod, setup, start, stop, toString
 
Methods inherited from class org.jboss.remoting.transport.socket.SocketServerInvoker
destroy, finalize, getBacklog, getCurrentClientPoolSize, getCurrentThreadPoolSize, getMaxPoolSize, getNumAcceptThreads, getReuseAddress, isTransportBiDirectional, setBacklog, setMaxPoolSize, setNewServerSocketFactory, setNumAcceptThreads, setReuseAddress
 
Methods inherited from class org.jboss.remoting.ServerInvoker
addConnectionListener, addInvocationHandler, create, createServerSocketFactory, getClientConnectAddress, getClientConnectPort, getConfiguration, getDataType, getInvocationHandler, getInvocationHandlers, getLeasePeriod, getMaxNumberOfOnewayThreads, getMBeanObjectName, getMBeanServer, getOnewayThreadPool, getServerBindAddress, getServerBindPort, getServerSocketFactory, getSupportedSubsystems, getTimeout, hasInvocationHandler, invoke, invoke, isLeaseActivated, isStarted, justNeedsSSLClientMode, postProcess, preProcess, removeCallbackListener, removeConnectionListener, removeInvocationHandler, setClientConnectAddress, setClientConnectPort, setConfiguration, setLeasePeriod, setMaxNumberOfOnewayThreads, setMBeanServer, setOnewayThreadPool, setServerSocketFactory, setTimeout
 
Methods inherited from class org.jboss.remoting.AbstractInvoker
addClientLocator, getClassLoader, getClientLocator, getLocator, getSerializationType, getSocketFactory, isSocketFactoryCreatedFromSSLParameters, needsCustomSSLConfiguration, setClassLoader, setSerializationType, setSocketFactory
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jboss.remoting.transport.socket.SocketServerInvokerMBean
getServerBindPort
 
Methods inherited from interface org.jboss.remoting.ServerInvokerMBean
create, getClientConnectAddress, getClientConnectPort, getConfiguration, getDataType, getServerBindAddress, getTimeout, isStarted, setClientConnectAddress, setClientConnectPort, setConfiguration, setTimeout
 

Constructor Detail

SSLMultiplexServerInvoker

public SSLMultiplexServerInvoker(InvokerLocator locator)
Parameters:
locator -

SSLMultiplexServerInvoker

public SSLMultiplexServerInvoker(InvokerLocator locator,
                                 java.util.Map configuration)
                          throws java.io.IOException
Parameters:
locator -
configuration -
Method Detail

createSocketFactory

protected javax.net.SocketFactory createSocketFactory(java.util.Map configuration)
Description copied from class: AbstractInvoker
If any configuration parameters relate to the construction of a SSLSocketBuilder, create one.

Overrides:
createSocketFactory in class AbstractInvoker
Parameters:
configuration -
Returns:

getDefaultServerSocketFactory

protected javax.net.ServerSocketFactory getDefaultServerSocketFactory()
Description copied from class: ServerInvoker
Gets the default server socket factory to use for the server invoker. The intention is this method will be overridden by sub-classes for their specific defaults.

Overrides:
getDefaultServerSocketFactory in class ServerInvoker
Returns:


Copyright © 1998-2005 JBoss Inc . All Rights Reserved.