33 #ifndef vtkMPIMToNSocketConnection_h 34 #define vtkMPIMToNSocketConnection_h 36 #include "vtkObject.h" 37 #include "vtkPVClientServerCoreCoreModule.h" 38 class vtkMultiProcessController;
39 class vtkServerSocket;
40 class vtkSocketCommunicator;
42 class vtkMPIMToNSocketConnectionInternals;
49 void PrintSelf(ostream& os, vtkIndent indent);
51 void Initialize(
int waiting_process_type);
62 void SetNumberOfConnections(
int);
63 vtkGetMacro(NumberOfConnections,
int);
69 void SetPortInformation(
unsigned int processNumber,
int portNumber,
const char* hostName);
75 vtkGetObjectMacro(SocketCommunicator, vtkSocketCommunicator);
87 vtkGetMacro(PortNumber,
int);
91 vtkSetMacro(PortNumber,
int);
97 void SetupWaitForConnection();
103 void WaitForConnection();
110 virtual void SetController(vtkMultiProcessController*);
111 virtual void SetSocketCommunicator(vtkSocketCommunicator*);
118 vtkServerSocket* ServerSocket;
119 int NumberOfConnections;
120 vtkMPIMToNSocketConnectionInternals* Internals;
121 vtkMultiProcessController* Controller;
122 vtkSocketCommunicator* SocketCommunicator;
class to create socket connections between two servers