org.jboss.remoting.transport.sslbisocket
Class SSLBisocketServerInvoker
java.lang.Object
org.jboss.remoting.AbstractInvoker
org.jboss.remoting.ServerInvoker
org.jboss.remoting.transport.socket.SocketServerInvoker
org.jboss.remoting.transport.bisocket.BisocketServerInvoker
org.jboss.remoting.transport.sslbisocket.SSLBisocketServerInvoker
- All Implemented Interfaces:
- java.lang.Runnable, Invoker, ServerInvokerMBean, SocketServerInvokerMBean, SSLSocketServerInvokerMBean
public class SSLBisocketServerInvoker
- extends BisocketServerInvoker
- implements SSLSocketServerInvokerMBean
- Author:
- Tom Elrod, Ron Sigal
Fields inherited from class org.jboss.remoting.transport.socket.SocketServerInvoker |
acceptThreads, backlog, CHECK_CONNECTION_KEY, clientpool, idleTimeout, idleTimerTask, MAX_POOL_SIZE_DEFAULT, maxPoolSize, newServerSocketFactory, numAcceptThreads, reuseAddress, running, SERVER_SOCKET_CLASS_FLAG, serverSocket, serverSocketClass, serverSocketFactoryLock, threadpool |
Fields inherited from class org.jboss.remoting.ServerInvoker |
BLOCKING, BLOCKING_MODE, BLOCKING_TIMEOUT, callbackHandlers, CLIENT_CONNECT_ADDRESS_KEY, CLIENT_CONNECT_PORT_KEY, CLIENT_LEASE_PERIOD, clientCallbackListener, CONNECTION_LISTENER, connectionNotifier, DEFAULT_BLOCKING_TIMEOUT, DEFAULT_CLIENT_LEASE_PERIOD, DEFAULT_TIMEOUT_PERIOD, handlers, INVOKER_SESSION_ID, MAX_NUM_ONEWAY_THREADS, MAX_NUM_ONEWAY_THREADS_KEY, MAX_ONEWAY_THREAD_POOL_QUEUE_SIZE, NONBLOCKING, ONEWAY_THREAD_POOL_CLASS_KEY, REGISTER_CALLBACK_LISTENER, registerCallbackListeners, SERVER_BIND_ADDRESS_KEY, SERVER_BIND_PORT_KEY, SERVER_SOCKET_FACTORY, serverSocketFactory, singleCallbackContainer, singleHandler, started, TIMEOUT, useClientConnectionIdentity |
Method Summary |
protected java.net.ServerSocket |
createServerSocket(int serverBindPort,
int backlog,
java.net.InetAddress bindAddress)
|
protected javax.net.ServerSocketFactory |
createServerSocketFactory()
|
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. |
protected void |
setup()
|
Methods inherited from class org.jboss.remoting.transport.bisocket.BisocketServerInvoker |
checkSecondaryServerSocketWrapper, checkSocketFactoryWrapper, cleanup, createControlConnection, destroyControlConnection, getBisocketServerInvoker, getControlConnectionRestarts, getPingFrequency, getPingWindowFactor, getSecondaryBindPort, getSecondaryConnectPort, getSecondaryLocator, getServerSocket, getSocketCreationRetries, handleInternalInvocation, isTransportBiDirectional, setControlConnectionRestarts, setPingFrequency, setPingWindowFactor, setSecondaryBindPort, setSecondaryConnectPort, setSocketCreationRetries, start |
Methods inherited from class org.jboss.remoting.transport.socket.SocketServerInvoker |
destroy, finalize, getBacklog, getCurrentClientPoolSize, getCurrentThreadPoolSize, getDefaultDataType, getIdleTimeout, getMaxPoolSize, getNumAcceptThreads, getReuseAddress, getThreadName, processInvocation, refreshServerSocket, run, setBacklog, setIdleTimeout, setMaxPoolSize, setNewServerSocketFactory, setNumAcceptThreads, setReuseAddress, stop, toString |
Methods inherited from class org.jboss.remoting.ServerInvoker |
addConnectionListener, addInvocationHandler, assignPort, create, findInvocationHandler, getClientConnectAddress, getClientConnectPort, getConfiguration, getConnectionNotifier, getDataType, getInvocationHandler, getInvocationHandlers, getLease, getLeasePeriod, getMaxNumberOfOnewayThreads, getMBeanObjectName, getMBeanServer, getOnewayThreadPool, getServerBindAddress, getServerBindPort, getServerSocketFactory, getSupportedSubsystems, getTimeout, hasInvocationHandler, invoke, invoke, isLeaseActivated, isRegisterCallbackListeners, isStarted, isUseClientConnectionIdentity, justNeedsSSLClientMode, postProcess, preProcess, removeCallbackHandler, removeCallbackListener, removeConnectionListener, removeInvocationHandler, setClientConnectAddress, setClientConnectPort, setConfiguration, setConnectionListener, setLeasePeriod, setMaxNumberOfOnewayThreads, setMBeanServer, setOnewayThreadPool, setRegisterCallbackListeners, setServerSocketFactory, setTimeout, setUseClientConnectionIdentity, shutdownCallbackHandler, wrapServerSocketFactory |
Methods inherited from class org.jboss.remoting.AbstractInvoker |
addClientLocator, getClassLoader, getClientLocator, getClientLocators, getLocator, getSerializationType, getSocketFactory, isCompleteSocketFactory, isSocketFactoryCreatedFromSSLParameters, needsCustomSSLConfiguration, setClassLoader, setSerializationType, setSocketFactory, wrapSocketFactory |
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 |
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 |
SSLBisocketServerInvoker
public SSLBisocketServerInvoker(InvokerLocator locator)
SSLBisocketServerInvoker
public SSLBisocketServerInvoker(InvokerLocator locator,
java.util.Map configuration)
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
createServerSocketFactory
protected javax.net.ServerSocketFactory createServerSocketFactory()
throws java.io.IOException
- Overrides:
createServerSocketFactory
in class ServerInvoker
- Throws:
java.io.IOException
setup
protected void setup()
throws java.lang.Exception
- Overrides:
setup
in class BisocketServerInvoker
- Throws:
java.lang.Exception
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
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.