org.jboss.remoting.transport.sslsocket
Class SSLSocketClientInvoker
java.lang.Object
org.jboss.remoting.AbstractInvoker
org.jboss.remoting.MicroRemoteClientInvoker
org.jboss.remoting.RemoteClientInvoker
org.jboss.remoting.transport.socket.MicroSocketClientInvoker
org.jboss.remoting.transport.socket.SocketClientInvoker
org.jboss.remoting.transport.sslsocket.SSLSocketClientInvoker
- All Implemented Interfaces:
- Invoker, ClientInvoker
public class SSLSocketClientInvoker
- extends SocketClientInvoker
- Author:
- Tom Elrod
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 |
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 |
enabledCipherSuites
protected java.lang.String[] enabledCipherSuites
enabledProtocols
protected java.lang.String[] enabledProtocols
enableSessionCreation
protected boolean enableSessionCreation
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
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.