1 // java wrapper for vtkSocketCommunicator object
7 public class vtkSocketCommunicator extends vtkCommunicator
10 private native int IsTypeOf_0(String id0);
11 public int IsTypeOf(String id0)
12 { return IsTypeOf_0(id0); }
14 private native int IsA_1(String id0);
15 public int IsA(String id0)
16 { return IsA_1(id0); }
18 private native int WaitForConnection_2(int id0);
19 public int WaitForConnection(int id0)
20 { return WaitForConnection_2(id0); }
22 private native int WaitForConnection_3(vtkServerSocket id0,int id1);
23 public int WaitForConnection(vtkServerSocket id0,int id1)
24 { return WaitForConnection_3(id0,id1); }
26 private native void CloseConnection_4();
27 public void CloseConnection()
28 { CloseConnection_4(); }
30 private native int ConnectTo_5(String id0,int id1);
31 public int ConnectTo(String id0,int id1)
32 { return ConnectTo_5(id0,id1); }
34 private native int GetSwapBytesInReceivedData_6();
35 public int GetSwapBytesInReceivedData()
36 { return GetSwapBytesInReceivedData_6(); }
38 private native int GetIsConnected_7();
39 public int GetIsConnected()
40 { return GetIsConnected_7(); }
42 private native void SetNumberOfProcesses_8(int id0);
43 public void SetNumberOfProcesses(int id0)
44 { SetNumberOfProcesses_8(id0); }
46 private native void Barrier_9();
50 private native void SetPerformHandshake_10(int id0);
51 public void SetPerformHandshake(int id0)
52 { SetPerformHandshake_10(id0); }
54 private native int GetPerformHandshakeMinValue_11();
55 public int GetPerformHandshakeMinValue()
56 { return GetPerformHandshakeMinValue_11(); }
58 private native int GetPerformHandshakeMaxValue_12();
59 public int GetPerformHandshakeMaxValue()
60 { return GetPerformHandshakeMaxValue_12(); }
62 private native void PerformHandshakeOn_13();
63 public void PerformHandshakeOn()
64 { PerformHandshakeOn_13(); }
66 private native void PerformHandshakeOff_14();
67 public void PerformHandshakeOff()
68 { PerformHandshakeOff_14(); }
70 private native int GetPerformHandshake_15();
71 public int GetPerformHandshake()
72 { return GetPerformHandshake_15(); }
74 private native int LogToFile_16(String id0);
75 public int LogToFile(String id0)
76 { return LogToFile_16(id0); }
78 private native int LogToFile_17(String id0,int id1);
79 public int LogToFile(String id0,int id1)
80 { return LogToFile_17(id0,id1); }
82 private native void SetReportErrors_18(int id0);
83 public void SetReportErrors(int id0)
84 { SetReportErrors_18(id0); }
86 private native int GetReportErrors_19();
87 public int GetReportErrors()
88 { return GetReportErrors_19(); }
90 private native long GetSocket_20();
91 public vtkClientSocket GetSocket() {
92 long temp = GetSocket_20();
94 if (temp == 0) return null;
95 return (vtkClientSocket)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
98 private native void SetSocket_21(vtkClientSocket id0);
99 public void SetSocket(vtkClientSocket id0)
100 { SetSocket_21(id0); }
102 private native int Handshake_22();
103 public int Handshake()
104 { return Handshake_22(); }
106 private native int ServerSideHandshake_23();
107 public int ServerSideHandshake()
108 { return ServerSideHandshake_23(); }
110 private native int ClientSideHandshake_24();
111 public int ClientSideHandshake()
112 { return ClientSideHandshake_24(); }
114 private native int GetIsServer_25();
115 public int GetIsServer()
116 { return GetIsServer_25(); }
118 private native int GetVersion_26();
119 public int GetVersion()
120 { return GetVersion_26(); }
122 private native void BufferCurrentMessage_27();
123 public void BufferCurrentMessage()
124 { BufferCurrentMessage_27(); }
126 private native boolean HasBufferredMessages_28();
127 public boolean HasBufferredMessages()
128 { return HasBufferredMessages_28(); }
130 public vtkSocketCommunicator() { super(); }
132 public vtkSocketCommunicator(long id) { super(id); }
133 public native long VTKInit();