org.jboss.remoting.transport.sslsocket
Class SSLSocketClientInvoker

java.lang.Object
  extended by org.jboss.remoting.AbstractInvoker
      extended by org.jboss.remoting.MicroRemoteClientInvoker
          extended by org.jboss.remoting.RemoteClientInvoker
              extended by org.jboss.remoting.transport.socket.MicroSocketClientInvoker
                  extended by org.jboss.remoting.transport.socket.SocketClientInvoker
                      extended by org.jboss.remoting.transport.sslsocket.SSLSocketClientInvoker
All Implemented Interfaces:
Invoker, ClientInvoker

public class SSLSocketClientInvoker
extends SocketClientInvoker

Author:
Tom Elrod

Nested Class Summary
 
Nested classes/interfaces inherited from class org.jboss.remoting.AbstractInvoker
AbstractInvoker.CallbackLocatorHolder
 
Field Summary
protected  java.lang.String[] enabledCipherSuites
           
protected  java.lang.String[] enabledProtocols
           
protected  boolean enableSessionCreation
           
 
Fields inherited from class org.jboss.remoting.transport.socket.SocketClientInvoker
SO_TIMEOUT_DEFAULT, SO_TIMEOUT_FLAG, timeout
 
Fields inherited from class org.jboss.remoting.transport.socket.MicroSocketClientInvoker
addr, address, CLIENT_SOCKET_CLASS_FLAG, clientSocketClass, clientSocketClassName, CONNECTION_WAIT, CONNECTION_WAIT_DEFAULT, connectionPools, connectionWait, deserializeTime, enableTcpNoDelay, getSocketTime, home, keepAlive, keepAliveSet, MAX_CALL_RETRIES, MAX_POOL_SIZE, MAX_POOL_SIZE_FLAG, maxPoolSize, numberOfCallRetries, ONEWAY_CONNECTION_TIMEOUT, ONEWAY_CONNECTION_TIMEOUT_DEFAULT, onewayConnectionTimeout, oOBInline, oOBInlineSet, pool, port, readTime, receiveBufferSize, semaphore, semaphores, sendBufferSize, serializeTime, shouldCheckConnection, soLinger, soLingerDuration, soLingerSet, TCP_NODELAY_DEFAULT, TCP_NODELAY_FLAG, trafficClass, USE_ONEWAY_CONNECTION_TIMEOUT, useOnewayConnectionTimeout, writeTime
 
Fields inherited from class org.jboss.remoting.MicroRemoteClientInvoker
connected, connectHomes, parentFirstClassLoading
 
Fields inherited from class org.jboss.remoting.AbstractInvoker
classbyteloader, configuration, localServerLocators, locator, serializationType, socketFactory, socketFactoryCreatedFromSSLParameters, version
 
Constructor Summary
SSLSocketClientInvoker(InvokerLocator locator)
           
SSLSocketClientInvoker(InvokerLocator locator, java.util.Map configuration)
           
 
Method Summary
protected  void configureSocket(java.net.Socket s)
           
protected  java.net.Socket createSocket(java.lang.String address, int port, int timeout)
           
protected  javax.net.SocketFactory createSocketFactory(java.util.Map configuration)
          If any configuration parameters relate to the construction of a SSLSocketBuilder, create one.
 java.lang.String[] getEnabledCipherSuites()
           
 java.lang.String[] getEnabledProtocols()
           
 boolean isEnableSessionCreation()
           
 void setEnabledCipherSuites(java.lang.String[] enabledCipherSuites)
           
 void setEnabledProtocols(java.lang.String[] enabledProtocols)
           
 void setEnableSessionCreation(boolean enableSessionCreation)
           
 void setOOBInline(boolean inline)
           
protected  void setup()
           
 
Methods inherited from class org.jboss.remoting.transport.socket.SocketClientInvoker
configureParameters, createClientSocket, createServerAddress, getPooledConnection, getTimeout, handleException, toString
 
Methods inherited from class org.jboss.remoting.transport.socket.MicroSocketClientInvoker
checkingConnection, clearPool, clearPools, disconnect, finalize, flushConnectionPool, getConnection, getConnectionWait, getDefaultDataType, getHomeInUse, getNumberOfAvailableConnections, getNumberOfCallRetries, getNumberOfRetries, getNumberOfUsedConnections, getReceiveBufferSize, getReuseAddress, getSendBufferSize, getServerHostName, getSoLingerDuration, getTrafficClass, getUsableAddress, handleConnect, handleDisconnect, handleRetriableException, initPool, isKeepAlive, isOOBInline, isSoLinger, setConnectionWait, setKeepAlive, setNumberOfCallRetries, setNumberOfRetries, setReceiveBufferSize, setReuseAddress, setSendBufferSize, setSoLinger, setSoLingerDuration, setTrafficClass, transport
 
Methods inherited from class org.jboss.remoting.MicroRemoteClientInvoker
connect, establishLease, getConnectHomes, getLeasePeriod, getMarshaller, getSessionId, getUnMarshaller, init, invoke, isConnected, postProcess, preProcess, setMarshaller, setUnMarshaller, terminateLease
 
Methods inherited from class org.jboss.remoting.AbstractInvoker
addClientLocator, getClassLoader, getClientLocator, getClientLocators, getConfiguration, getLocator, getSerializationType, getSocketFactory, getVersion, isCompleteSocketFactory, isSocketFactoryCreatedFromSSLParameters, needsCustomSSLConfiguration, setClassLoader, setSerializationType, setSocketFactory, setVersion, 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.ClientInvoker
addClientLocator, getClientLocator, getClientLocators, getSocketFactory, setSocketFactory
 
Methods inherited from interface org.jboss.remoting.Invoker
getLocator
 

Field Detail

enabledCipherSuites

protected java.lang.String[] enabledCipherSuites

enabledProtocols

protected java.lang.String[] enabledProtocols

enableSessionCreation

protected boolean enableSessionCreation
Constructor Detail

SSLSocketClientInvoker

public SSLSocketClientInvoker(InvokerLocator locator)
                       throws java.io.IOException
Throws:
java.io.IOException

SSLSocketClientInvoker

public SSLSocketClientInvoker(InvokerLocator locator,
                              java.util.Map configuration)
                       throws java.io.IOException
Throws:
java.io.IOException
Method Detail

setOOBInline

public void setOOBInline(boolean inline)
Overrides:
setOOBInline in class MicroSocketClientInvoker

getEnabledCipherSuites

public java.lang.String[] getEnabledCipherSuites()

setEnabledCipherSuites

public void setEnabledCipherSuites(java.lang.String[] enabledCipherSuites)

getEnabledProtocols

public java.lang.String[] getEnabledProtocols()

setEnabledProtocols

public void setEnabledProtocols(java.lang.String[] enabledProtocols)

isEnableSessionCreation

public boolean isEnableSessionCreation()

setEnableSessionCreation

public void setEnableSessionCreation(boolean enableSessionCreation)

setup

protected void setup()
              throws java.lang.Exception
Overrides:
setup in class MicroSocketClientInvoker
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

createSocket

protected java.net.Socket createSocket(java.lang.String address,
                                       int port,
                                       int timeout)
                                throws java.io.IOException
Overrides:
createSocket in class SocketClientInvoker
Throws:
java.io.IOException

configureSocket

protected void configureSocket(java.net.Socket s)
                        throws java.net.SocketException
Overrides:
configureSocket in class MicroSocketClientInvoker
Throws:
java.net.SocketException


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