org.jboss.remoting.transport.sslsocket
Class SSLSocketServerInvoker

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.sslsocket.SSLSocketServerInvoker
All Implemented Interfaces:
Invoker, java.lang.Runnable, ServerInvokerMBean, SocketServerInvokerMBean, SSLSocketServerInvokerMBean

public class SSLSocketServerInvoker
extends SocketServerInvoker
implements SSLSocketServerInvokerMBean

Author:
Tom Elrod

Nested Class Summary
 
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.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, log, serializationType, socketFactory, socketFactoryCreatedFromSSLParameters
 
Constructor Summary
SSLSocketServerInvoker(InvokerLocator locator)
           
SSLSocketServerInvoker(InvokerLocator locator, java.util.Map configuration)
           
 
Method Summary
protected  java.net.ServerSocket createServerSocket(int serverBindPort, int backlog, java.net.InetAddress bindAddress)
           
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.socket.SocketServerInvoker
cleanup, destroy, finalize, getBacklog, getCurrentClientPoolSize, getCurrentThreadPoolSize, getDefaultDataType, getMaxPoolSize, getNumAcceptThreads, getReuseAddress, getThreadName, isTransportBiDirectional, processInvocation, refreshServerSocket, run, setBacklog, setMaxPoolSize, setNewServerSocketFactory, setNumAcceptThreads, setReuseAddress, setup, start, stop
 
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, createSocketFactory, getClassLoader, getClientLocator, getLocator, getSerializationType, getSocketFactory, isSocketFactoryCreatedFromSSLParameters, needsCustomSSLConfiguration, setClassLoader, setSerializationType, setSocketFactory
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jboss.remoting.transport.sslsocket.SSLSocketServerInvokerMBean
setServerSocketFactory
 
Methods inherited from interface org.jboss.remoting.transport.socket.SocketServerInvokerMBean
getBacklog, getCurrentClientPoolSize, getCurrentThreadPoolSize, getMaxPoolSize, getNumAcceptThreads, getServerBindPort, setBacklog, setMaxPoolSize, setNumAcceptThreads, start, stop
 
Methods inherited from interface org.jboss.remoting.ServerInvokerMBean
create, destroy, getClientConnectAddress, getClientConnectPort, getConfiguration, getDataType, getServerBindAddress, getTimeout, isStarted, isTransportBiDirectional, setClientConnectAddress, setClientConnectPort, setConfiguration, setTimeout
 

Constructor Detail

SSLSocketServerInvoker

public SSLSocketServerInvoker(InvokerLocator locator)

SSLSocketServerInvoker

public SSLSocketServerInvoker(InvokerLocator locator,
                              java.util.Map configuration)
Method Detail

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:

createServerSocket

protected java.net.ServerSocket createServerSocket(int serverBindPort,
                                                   int backlog,
                                                   java.net.InetAddress bindAddress)
                                            throws java.io.IOException
Overrides:
createServerSocket in class SocketServerInvoker
Throws:
java.io.IOException


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