Class ClientLauncherProcess


  • public class ClientLauncherProcess
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      ClientLauncherProcess​(java.nio.file.Path executeFile, java.nio.file.Path workDir, java.nio.file.Path javaDir, java.lang.String mainClass)  
      ClientLauncherProcess​(java.nio.file.Path clientDir, java.nio.file.Path assetDir, java.nio.file.Path javaDir, java.nio.file.Path resourcePackDir, pro.gravit.launcher.profiles.ClientProfile profile, pro.gravit.launcher.profiles.PlayerProfile playerProfile, pro.gravit.launcher.profiles.optional.OptionalView view, java.lang.String accessToken, pro.gravit.launcher.hasher.HashedDir clientHDir, pro.gravit.launcher.hasher.HashedDir assetHDir, pro.gravit.launcher.hasher.HashedDir jvmHDir)  
      ClientLauncherProcess​(java.nio.file.Path clientDir, java.nio.file.Path assetDir, java.nio.file.Path javaDir, pro.gravit.launcher.profiles.ClientProfile profile, pro.gravit.launcher.profiles.PlayerProfile playerProfile, java.lang.String accessToken, pro.gravit.launcher.hasher.HashedDir clientHDir, pro.gravit.launcher.hasher.HashedDir assetHDir, pro.gravit.launcher.hasher.HashedDir jvmHDir)  
      ClientLauncherProcess​(java.nio.file.Path clientDir, java.nio.file.Path assetDir, pro.gravit.launcher.profiles.ClientProfile profile, pro.gravit.launcher.profiles.PlayerProfile playerProfile, java.lang.String accessToken, pro.gravit.launcher.hasher.HashedDir clientHDir, pro.gravit.launcher.hasher.HashedDir assetHDir, pro.gravit.launcher.hasher.HashedDir jvmHDir)  
    • Field Detail

      • jvmArgs

        public final java.util.List<java.lang.String> jvmArgs
      • systemClientArgs

        public final java.util.List<java.lang.String> systemClientArgs
      • systemClassPath

        public final java.util.List<java.lang.String> systemClassPath
      • systemEnv

        public final java.util.Map<java.lang.String,​java.lang.String> systemEnv
      • mainClass

        public final java.lang.String mainClass
      • executeFile

        public java.nio.file.Path executeFile
      • workDir

        public java.nio.file.Path workDir
      • javaDir

        public java.nio.file.Path javaDir
      • bits

        public int bits
      • useLegacyJavaClassPathProperty

        public boolean useLegacyJavaClassPathProperty
      • isStarted

        public boolean isStarted
    • Constructor Detail

      • ClientLauncherProcess

        public ClientLauncherProcess​(java.nio.file.Path executeFile,
                                     java.nio.file.Path workDir,
                                     java.nio.file.Path javaDir,
                                     java.lang.String mainClass)
      • ClientLauncherProcess

        public ClientLauncherProcess​(java.nio.file.Path clientDir,
                                     java.nio.file.Path assetDir,
                                     java.nio.file.Path javaDir,
                                     pro.gravit.launcher.profiles.ClientProfile profile,
                                     pro.gravit.launcher.profiles.PlayerProfile playerProfile,
                                     java.lang.String accessToken,
                                     pro.gravit.launcher.hasher.HashedDir clientHDir,
                                     pro.gravit.launcher.hasher.HashedDir assetHDir,
                                     pro.gravit.launcher.hasher.HashedDir jvmHDir)
      • ClientLauncherProcess

        public ClientLauncherProcess​(java.nio.file.Path clientDir,
                                     java.nio.file.Path assetDir,
                                     pro.gravit.launcher.profiles.ClientProfile profile,
                                     pro.gravit.launcher.profiles.PlayerProfile playerProfile,
                                     java.lang.String accessToken,
                                     pro.gravit.launcher.hasher.HashedDir clientHDir,
                                     pro.gravit.launcher.hasher.HashedDir assetHDir,
                                     pro.gravit.launcher.hasher.HashedDir jvmHDir)
      • ClientLauncherProcess

        public ClientLauncherProcess​(java.nio.file.Path clientDir,
                                     java.nio.file.Path assetDir,
                                     java.nio.file.Path javaDir,
                                     java.nio.file.Path resourcePackDir,
                                     pro.gravit.launcher.profiles.ClientProfile profile,
                                     pro.gravit.launcher.profiles.PlayerProfile playerProfile,
                                     pro.gravit.launcher.profiles.optional.OptionalView view,
                                     java.lang.String accessToken,
                                     pro.gravit.launcher.hasher.HashedDir clientHDir,
                                     pro.gravit.launcher.hasher.HashedDir assetHDir,
                                     pro.gravit.launcher.hasher.HashedDir jvmHDir)
    • Method Detail

      • getPathSeparator

        public static java.lang.String getPathSeparator()
      • start

        public void start​(boolean pipeOutput)
                   throws java.io.IOException,
                          java.lang.InterruptedException
        Throws:
        java.io.IOException
        java.lang.InterruptedException
      • runWriteParams

        public void runWriteParams​(java.net.SocketAddress address)
                            throws java.io.IOException
        Throws:
        java.io.IOException
      • getProcess

        public java.lang.Process getProcess()