Class OpenSocketAction

  • All Implemented Interfaces:
    java.security.PrivilegedExceptionAction<java.net.Socket>

    class OpenSocketAction
    extends java.lang.Object
    implements java.security.PrivilegedExceptionAction<java.net.Socket>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private int clientSSLMode_  
      private int port_  
      private java.lang.String server_  
    • Constructor Summary

      Constructors 
      Constructor Description
      OpenSocketAction​(java.lang.String server, int port, int clientSSLMode)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.net.Socket run()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • server_

        private java.lang.String server_
      • port_

        private int port_
      • clientSSLMode_

        private int clientSSLMode_
    • Constructor Detail

      • OpenSocketAction

        OpenSocketAction​(java.lang.String server,
                         int port,
                         int clientSSLMode)
    • Method Detail

      • run

        public java.net.Socket run()
                            throws java.net.UnknownHostException,
                                   java.io.IOException,
                                   java.security.NoSuchAlgorithmException,
                                   java.security.KeyManagementException,
                                   java.security.NoSuchProviderException,
                                   java.security.KeyStoreException,
                                   java.security.UnrecoverableKeyException,
                                   java.security.cert.CertificateException
        Specified by:
        run in interface java.security.PrivilegedExceptionAction<java.net.Socket>
        Throws:
        java.net.UnknownHostException
        java.io.IOException
        java.security.NoSuchAlgorithmException
        java.security.KeyManagementException
        java.security.NoSuchProviderException
        java.security.KeyStoreException
        java.security.UnrecoverableKeyException
        java.security.cert.CertificateException