2015-03-05 Paolo Carlini <paolo.carlini@oracle.com>
[official-gcc.git] / libjava / java / lang / PosixProcess.h
blob3254f5224cea46095c97bd67b05e382678d5161a
2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __java_lang_PosixProcess__
5 #define __java_lang_PosixProcess__
7 #pragma interface
9 #include <java/lang/Process.h>
10 #include <gcj/array.h>
13 class java::lang::PosixProcess : public ::java::lang::Process
16 public:
17 void destroy();
18 private:
19 void nativeDestroy();
20 public:
21 jint exitValue();
22 public: // actually package-private
23 void processTerminationCleanup();
24 public:
25 ::java::io::InputStream * getErrorStream();
26 ::java::io::InputStream * getInputStream();
27 ::java::io::OutputStream * getOutputStream();
28 jint waitFor();
29 public: // actually package-private
30 void spawn(::java::lang::PosixProcess$ProcessManager *);
31 private:
32 void nativeSpawn();
33 public: // actually package-private
34 PosixProcess(JArray< ::java::lang::String * > *, JArray< ::java::lang::String * > *, ::java::io::File *, jboolean);
35 static ::java::lang::Object * access$0();
36 static void access$1(::java::lang::PosixProcess$ProcessManager *);
37 private:
38 JArray< ::java::lang::String * > * __attribute__((aligned(__alignof__( ::java::lang::Process)))) progarray;
39 JArray< ::java::lang::String * > * envp;
40 ::java::io::File * dir;
41 jboolean redirect;
42 ::java::lang::Throwable * exception;
43 public: // actually package-private
44 jlong pid;
45 static const jint STATE_WAITING_TO_START = 0;
46 static const jint STATE_RUNNING = 1;
47 static const jint STATE_TERMINATED = 2;
48 jint state;
49 jint status;
50 private:
51 ::java::io::InputStream * errorStream;
52 ::java::io::InputStream * inputStream;
53 ::java::io::OutputStream * outputStream;
54 ::java::io::InputStream * returnedErrorStream;
55 ::java::io::InputStream * returnedInputStream;
56 static ::java::lang::Object * queueLock;
57 static ::java::lang::PosixProcess$ProcessManager * processManager;
58 public:
59 static ::java::lang::Class class$;
62 #endif // __java_lang_PosixProcess__