test_class.file: cosmic-common/src/test/java/com/cloud/utils/ssh/SshHelperTest.java
test_class.identifier: SshHelperTest
test_case.body: @Test
      public void isChannelConditionEofTestEof() {
          Assert.assertTrue(SshHelper.isChannelConditionEof(ChannelCondition.EOF));
      }
test_case.class_method_signature: SshHelperTest.isChannelConditionEofTestEof()
test_case.full_signature: @Test public void isChannelConditionEofTestEof()
test_case.identifier: isChannelConditionEofTestEof
test_case.invocations: assertTrue isChannelConditionEof
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void isChannelConditionEofTestEof()
focal_class.declarator: DEFAULT_CONNECT_TIMEOUT = 180000
focal_class.modifier: private static final
focal_class.original_string: private static final int DEFAULT_CONNECT_TIMEOUT = 180000;
focal_class.type: int
focal_class.var_name: DEFAULT_CONNECT_TIMEOUT
focal_class.declarator: DEFAULT_KEX_TIMEOUT = 60000
focal_class.modifier: private static final
focal_class.original_string: private static final int DEFAULT_KEX_TIMEOUT = 60000;
focal_class.type: int
focal_class.var_name: DEFAULT_KEX_TIMEOUT
focal_class.declarator: s_logger = LoggerFactory.getLogger(SshHelper.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Logger s_logger = LoggerFactory.getLogger(SshHelper.class);
focal_class.type: Logger
focal_class.var_name: s_logger
focal_class.file: cosmic-common/src/main/java/com/cloud/utils/ssh/SshHelper.java
focal_class.identifier: SshHelper
focal_class.class_method_signature: SshHelper.sshExecute(final String host, final int port, final String user, final File pemKeyFile, final String password, final String command)
focal_class.full_signature: public static Pair<Boolean, String> sshExecute(final String host, final int port, final String user, final File pemKeyFile, final String password, final String command)
focal_class.identifier: sshExecute
focal_class.modifiers: public static
focal_class.parameters: (final String host, final int port, final String user, final File pemKeyFile, final String password, final String command)
focal_class.return: Pair<Boolean, String>
focal_class.signature: Pair<Boolean, String> sshExecute(final String host, final int port, final String user, final File pemKeyFile, final String password, final String command)
focal_class.class_method_signature: SshHelper.sshExecute(final String host, final int port, final String user, final File pemKeyFile, final String password, final String command,
                                                     final int connectTimeoutInMs,
                                                     final int kexTimeoutInMs,
                                                     final int waitResultTimeoutInMs)
focal_class.full_signature: public static Pair<Boolean, String> sshExecute(final String host, final int port, final String user, final File pemKeyFile, final String password, final String command,
                                                     final int connectTimeoutInMs,
                                                     final int kexTimeoutInMs,
                                                     final int waitResultTimeoutInMs)
focal_class.identifier: sshExecute
focal_class.modifiers: public static
focal_class.parameters: (final String host, final int port, final String user, final File pemKeyFile, final String password, final String command,
                                                     final int connectTimeoutInMs,
                                                     final int kexTimeoutInMs,
                                                     final int waitResultTimeoutInMs)
focal_class.return: Pair<Boolean, String>
focal_class.signature: Pair<Boolean, String> sshExecute(final String host, final int port, final String user, final File pemKeyFile, final String password, final String command,
                                                     final int connectTimeoutInMs,
                                                     final int kexTimeoutInMs,
                                                     final int waitResultTimeoutInMs)
focal_class.class_method_signature: SshHelper.openConnectionSession(final Connection conn)
focal_class.full_signature: protected static Session openConnectionSession(final Connection conn)
focal_class.identifier: openConnectionSession
focal_class.modifiers: protected static
focal_class.parameters: (final Connection conn)
focal_class.return: Session
focal_class.signature: Session openConnectionSession(final Connection conn)
focal_class.class_method_signature: SshHelper.throwSshExceptionIfStdoutOrStdeerIsNull(final InputStream stdout, final InputStream stderr)
focal_class.full_signature: protected static void throwSshExceptionIfStdoutOrStdeerIsNull(final InputStream stdout, final InputStream stderr)
focal_class.identifier: throwSshExceptionIfStdoutOrStdeerIsNull
focal_class.modifiers: protected static
focal_class.parameters: (final InputStream stdout, final InputStream stderr)
focal_class.return: void
focal_class.signature: void throwSshExceptionIfStdoutOrStdeerIsNull(final InputStream stdout, final InputStream stderr)
focal_class.class_method_signature: SshHelper.throwSshExceptionIfConditionsTimeout(final int conditions)
focal_class.full_signature: protected static void throwSshExceptionIfConditionsTimeout(final int conditions)
focal_class.identifier: throwSshExceptionIfConditionsTimeout
focal_class.modifiers: protected static
focal_class.parameters: (final int conditions)
focal_class.return: void
focal_class.signature: void throwSshExceptionIfConditionsTimeout(final int conditions)
focal_class.class_method_signature: SshHelper.canEndTheSshConnection(final int waitResultTimeoutInMs, final com.trilead.ssh2.Session sess, final int conditions)
focal_class.full_signature: protected static boolean canEndTheSshConnection(final int waitResultTimeoutInMs, final com.trilead.ssh2.Session sess, final int conditions)
focal_class.identifier: canEndTheSshConnection
focal_class.modifiers: protected static
focal_class.parameters: (final int waitResultTimeoutInMs, final com.trilead.ssh2.Session sess, final int conditions)
focal_class.return: boolean
focal_class.signature: boolean canEndTheSshConnection(final int waitResultTimeoutInMs, final com.trilead.ssh2.Session sess, final int conditions)
focal_class.class_method_signature: SshHelper.isChannelConditionEof(final int conditions)
focal_class.full_signature: protected static boolean isChannelConditionEof(final int conditions)
focal_class.identifier: isChannelConditionEof
focal_class.modifiers: protected static
focal_class.parameters: (final int conditions)
focal_class.return: boolean
focal_class.signature: boolean isChannelConditionEof(final int conditions)
focal_class.class_method_signature: SshHelper.scpTo(final String host, final int port, final String user, final File pemKeyFile, final String password, final String remoteTargetDirectory, final String
              localFile, final String fileMode)
focal_class.full_signature: public static void scpTo(final String host, final int port, final String user, final File pemKeyFile, final String password, final String remoteTargetDirectory, final String
              localFile, final String fileMode)
focal_class.identifier: scpTo
focal_class.modifiers: public static
focal_class.parameters: (final String host, final int port, final String user, final File pemKeyFile, final String password, final String remoteTargetDirectory, final String
              localFile, final String fileMode)
focal_class.return: void
focal_class.signature: void scpTo(final String host, final int port, final String user, final File pemKeyFile, final String password, final String remoteTargetDirectory, final String
              localFile, final String fileMode)
focal_class.class_method_signature: SshHelper.scpTo(final String host, final int port, final String user, final File pemKeyFile, final String password, final String remoteTargetDirectory, final String
              localFile, final String fileMode,
                               final int connectTimeoutInMs, final int kexTimeoutInMs)
focal_class.full_signature: public static void scpTo(final String host, final int port, final String user, final File pemKeyFile, final String password, final String remoteTargetDirectory, final String
              localFile, final String fileMode,
                               final int connectTimeoutInMs, final int kexTimeoutInMs)
focal_class.identifier: scpTo
focal_class.modifiers: public static
focal_class.parameters: (final String host, final int port, final String user, final File pemKeyFile, final String password, final String remoteTargetDirectory, final String
              localFile, final String fileMode,
                               final int connectTimeoutInMs, final int kexTimeoutInMs)
focal_class.return: void
focal_class.signature: void scpTo(final String host, final int port, final String user, final File pemKeyFile, final String password, final String remoteTargetDirectory, final String
              localFile, final String fileMode,
                               final int connectTimeoutInMs, final int kexTimeoutInMs)
focal_class.class_method_signature: SshHelper.scpTo(final String host, final int port, final String user, final File pemKeyFile, final String password, final String remoteTargetDirectory, final byte[]
              data, final String remoteFileName,
                               final String fileMode)
focal_class.full_signature: public static void scpTo(final String host, final int port, final String user, final File pemKeyFile, final String password, final String remoteTargetDirectory, final byte[]
              data, final String remoteFileName,
                               final String fileMode)
focal_class.identifier: scpTo
focal_class.modifiers: public static
focal_class.parameters: (final String host, final int port, final String user, final File pemKeyFile, final String password, final String remoteTargetDirectory, final byte[]
              data, final String remoteFileName,
                               final String fileMode)
focal_class.return: void
focal_class.signature: void scpTo(final String host, final int port, final String user, final File pemKeyFile, final String password, final String remoteTargetDirectory, final byte[]
              data, final String remoteFileName,
                               final String fileMode)
focal_class.class_method_signature: SshHelper.scpTo(final String host, final int port, final String user, final File pemKeyFile, final String password, final String remoteTargetDirectory, final byte[]
              data, final String remoteFileName,
                               final String fileMode, final int connectTimeoutInMs, final int kexTimeoutInMs)
focal_class.full_signature: public static void scpTo(final String host, final int port, final String user, final File pemKeyFile, final String password, final String remoteTargetDirectory, final byte[]
              data, final String remoteFileName,
                               final String fileMode, final int connectTimeoutInMs, final int kexTimeoutInMs)
focal_class.identifier: scpTo
focal_class.modifiers: public static
focal_class.parameters: (final String host, final int port, final String user, final File pemKeyFile, final String password, final String remoteTargetDirectory, final byte[]
              data, final String remoteFileName,
                               final String fileMode, final int connectTimeoutInMs, final int kexTimeoutInMs)
focal_class.return: void
focal_class.signature: void scpTo(final String host, final int port, final String user, final File pemKeyFile, final String password, final String remoteTargetDirectory, final byte[]
              data, final String remoteFileName,
                               final String fileMode, final int connectTimeoutInMs, final int kexTimeoutInMs)
focal_method.body: protected static boolean isChannelConditionEof(final int conditions) {
          if ((conditions & ChannelCondition.EOF) != 0) {
              return true;
          }
          return false;
      }
focal_method.class_method_signature: SshHelper.isChannelConditionEof(final int conditions)
focal_method.full_signature: protected static boolean isChannelConditionEof(final int conditions)
focal_method.identifier: isChannelConditionEof
focal_method.modifiers: protected static
focal_method.parameters: (final int conditions)
focal_method.return: boolean
focal_method.signature: boolean isChannelConditionEof(final int conditions)