]> gerrit.simantics Code Review - simantics/3d.git/blob - vtk/src/vtk/vtkSocketCommunicator.java
Editor internal toolbar for Plant3D editor
[simantics/3d.git] / vtk / src / vtk / vtkSocketCommunicator.java
1 // java wrapper for vtkSocketCommunicator object
2 //
3
4 package vtk;
5 import vtk.*;
6
7 public class vtkSocketCommunicator extends vtkCommunicator
8 {
9
10   private native int IsTypeOf_0(String id0);
11   public int IsTypeOf(String id0)
12     { return IsTypeOf_0(id0); }
13
14   private native int IsA_1(String id0);
15   public int IsA(String id0)
16     { return IsA_1(id0); }
17
18   private native int WaitForConnection_2(int id0);
19   public int WaitForConnection(int id0)
20     { return WaitForConnection_2(id0); }
21
22   private native int WaitForConnection_3(vtkServerSocket id0,int id1);
23   public int WaitForConnection(vtkServerSocket id0,int id1)
24     { return WaitForConnection_3(id0,id1); }
25
26   private native void CloseConnection_4();
27   public void CloseConnection()
28     { CloseConnection_4(); }
29
30   private native int ConnectTo_5(String id0,int id1);
31   public int ConnectTo(String id0,int id1)
32     { return ConnectTo_5(id0,id1); }
33
34   private native int GetSwapBytesInReceivedData_6();
35   public int GetSwapBytesInReceivedData()
36     { return GetSwapBytesInReceivedData_6(); }
37
38   private native int GetIsConnected_7();
39   public int GetIsConnected()
40     { return GetIsConnected_7(); }
41
42   private native void SetNumberOfProcesses_8(int id0);
43   public void SetNumberOfProcesses(int id0)
44     { SetNumberOfProcesses_8(id0); }
45
46   private native void Barrier_9();
47   public void Barrier()
48     { Barrier_9(); }
49
50   private native void SetPerformHandshake_10(int id0);
51   public void SetPerformHandshake(int id0)
52     { SetPerformHandshake_10(id0); }
53
54   private native int GetPerformHandshakeMinValue_11();
55   public int GetPerformHandshakeMinValue()
56     { return GetPerformHandshakeMinValue_11(); }
57
58   private native int GetPerformHandshakeMaxValue_12();
59   public int GetPerformHandshakeMaxValue()
60     { return GetPerformHandshakeMaxValue_12(); }
61
62   private native void PerformHandshakeOn_13();
63   public void PerformHandshakeOn()
64     { PerformHandshakeOn_13(); }
65
66   private native void PerformHandshakeOff_14();
67   public void PerformHandshakeOff()
68     { PerformHandshakeOff_14(); }
69
70   private native int GetPerformHandshake_15();
71   public int GetPerformHandshake()
72     { return GetPerformHandshake_15(); }
73
74   private native int LogToFile_16(String id0);
75   public int LogToFile(String id0)
76     { return LogToFile_16(id0); }
77
78   private native int LogToFile_17(String id0,int id1);
79   public int LogToFile(String id0,int id1)
80     { return LogToFile_17(id0,id1); }
81
82   private native void SetReportErrors_18(int id0);
83   public void SetReportErrors(int id0)
84     { SetReportErrors_18(id0); }
85
86   private native int GetReportErrors_19();
87   public int GetReportErrors()
88     { return GetReportErrors_19(); }
89
90   private native long GetSocket_20();
91   public vtkClientSocket GetSocket() {
92     long temp = GetSocket_20();
93
94     if (temp == 0) return null;
95     return (vtkClientSocket)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
96 }
97
98   private native void SetSocket_21(vtkClientSocket id0);
99   public void SetSocket(vtkClientSocket id0)
100     { SetSocket_21(id0); }
101
102   private native int Handshake_22();
103   public int Handshake()
104     { return Handshake_22(); }
105
106   private native int ServerSideHandshake_23();
107   public int ServerSideHandshake()
108     { return ServerSideHandshake_23(); }
109
110   private native int ClientSideHandshake_24();
111   public int ClientSideHandshake()
112     { return ClientSideHandshake_24(); }
113
114   private native int GetIsServer_25();
115   public int GetIsServer()
116     { return GetIsServer_25(); }
117
118   private native int GetVersion_26();
119   public int GetVersion()
120     { return GetVersion_26(); }
121
122   private native void BufferCurrentMessage_27();
123   public void BufferCurrentMessage()
124     { BufferCurrentMessage_27(); }
125
126   private native boolean HasBufferredMessages_28();
127   public boolean HasBufferredMessages()
128     { return HasBufferredMessages_28(); }
129
130   public vtkSocketCommunicator() { super(); }
131
132   public vtkSocketCommunicator(long id) { super(id); }
133   public native long   VTKInit();
134
135 }