org.apache.jmeter.rmi

## Class SSLRMIClientSocketFactory

- java.lang.Object
- - org.apache.jmeter.rmi.SSLRMIClientSocketFactory

- All Implemented Interfaces:
    java.io.Serializable, java.rmi.server.RMIClientSocketFactory

      public class SSLRMIClientSocketFactory
      extends java.lang.Object
      implements java.rmi.server.RMIClientSocketFactory, java.io.Serializable

  Implementation of `RMIClientSocketFactory` that:
  - Establishes SSL connection
  Since:
    4.0
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `SSLRMIClientSocketFactory()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.net.Socket` | `createSocket(java.lang.String host, int port)`
    `void` | `setAlias(java.lang.String alias)`
    `void` | `setKeystore(java.lang.String location, java.lang.String type, java.lang.String password)`
    `void` | `setTruststore(java.lang.String location, java.lang.String type, java.lang.String password)`
    `java.lang.String` | `toString()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### SSLRMIClientSocketFactory

          public SSLRMIClientSocketFactory()

  - ### Method Detail

    - #### setAlias

          public void setAlias(java.lang.String alias)

    - #### setKeystore

          public void setKeystore(java.lang.String location,
                                  java.lang.String type,
                                  java.lang.String password)

    - #### setTruststore

          public void setTruststore(java.lang.String location,
                                    java.lang.String type,
                                    java.lang.String password)

    - #### createSocket

          public java.net.Socket createSocket(java.lang.String host,
                                              int port)
                                       throws java.io.IOException

      Specified by:
        `createSocket` in interface `java.rmi.server.RMIClientSocketFactory`
      Throws:
        `java.io.IOException`

    - #### toString

          public java.lang.String toString()

      Overrides:
        `toString` in class `java.lang.Object`

Copyright © 1998-2019 Apache Software Foundation. All Rights Reserved.