org.jboss.remoting.transport.sslrmi
Class SerializableSSLClientSocketFactory

java.lang.Object
  extended byorg.jboss.remoting.transport.rmi.RemotingRMIClientSocketFactory
      extended byorg.jboss.remoting.transport.sslrmi.SerializableSSLClientSocketFactory
All Implemented Interfaces:
java.rmi.server.RMIClientSocketFactory, java.io.Serializable

public class SerializableSSLClientSocketFactory
extends RemotingRMIClientSocketFactory

Version:
$Revision: 1.3 $

Copyright (c) Jun 9, 2006

Author:
Ron Sigal
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jboss.remoting.transport.rmi.RemotingRMIClientSocketFactory
hostName, socketFactory
 
Constructor Summary
SerializableSSLClientSocketFactory(InvokerLocator invokerLocator, int timeout, java.util.Map configuration)
           
 
Method Summary
 java.net.Socket createSocket(java.lang.String host, int port)
          Creates a new socket.
 
Methods inherited from class org.jboss.remoting.transport.rmi.RemotingRMIClientSocketFactory
equals, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SerializableSSLClientSocketFactory

public SerializableSSLClientSocketFactory(InvokerLocator invokerLocator,
                                          int timeout,
                                          java.util.Map configuration)
Method Detail

createSocket

public java.net.Socket createSocket(java.lang.String host,
                                    int port)
                             throws java.io.IOException
Description copied from class: RemotingRMIClientSocketFactory
Creates a new socket. If a SocketFactory was passed to the constructor, it will be used. Otherwise, a java.net.Socket will be created by default.

Specified by:
createSocket in interface java.rmi.server.RMIClientSocketFactory
Overrides:
createSocket in class RemotingRMIClientSocketFactory
Parameters:
host - host to which socket should be connected
port - port to which socket should be connected
Returns:
new socket
Throws:
java.io.IOException - if there is a problem creating a socket


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