vtkNetworkAccessManager.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkNetworkAccessManager.h
5 
6  Copyright (c) Kitware, Inc.
7  All rights reserved.
8  See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
24 #ifndef vtkNetworkAccessManager_h
25 #define vtkNetworkAccessManager_h
26 
27 #include "vtkObject.h"
28 #include "vtkRemotingCoreModule.h" //needed for exports
29 
31 
33 {
34 public:
36  void PrintSelf(ostream& os, vtkIndent indent) override;
37 
64  virtual vtkMultiProcessController* NewConnection(const char* url) = 0;
65 
70  virtual void AbortPendingConnection() = 0;
71 
75  virtual int ProcessEvents(unsigned long timeout_msecs) = 0;
76 
82  virtual bool GetNetworkEventsAvailable() = 0;
83 
87  virtual bool GetPendingConnectionsPresent() = 0;
88 
92  virtual void DisableFurtherConnections(int port, bool disable) = 0;
93 
97  virtual bool GetWrongConnectID() = 0;
98 
99 protected:
101  ~vtkNetworkAccessManager() override;
102 
103 private:
105  void operator=(const vtkNetworkAccessManager&) = delete;
106 };
107 
108 #endif
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
#define VTKREMOTINGCORE_EXPORT
vtkNetworkAccessManager is used to create new connections and monitor activity of those connections...
void operator=(const vtkObjectBase &)