23 #ifndef vtkTCPNetworkAccessManager_h 24 #define vtkTCPNetworkAccessManager_h 114 int ProcessEventsInternal(
unsigned long timeout_msecs,
bool do_processing);
120 const char* hostname,
int port,
const char* handshake,
int timeout_in_seconds);
126 int port,
bool once,
const char* handshake,
bool nonblocking);
130 HANDSHAKE_NO_ERROR = 0,
135 HANDSHAKE_UNKNOWN_ERROR
138 int ParaViewHandshake(
140 void PrintHandshakeError(
int errorcode,
bool server_side);
141 int AnalyzeHandshakeAndGetErrorCode(
const char* clientHS,
const char* serverHS);
151 vtkInternals* Internals;
virtual bool GetNetworkEventsAvailable()=0
Peeks to check if any activity is available.
void PrintSelf(ostream &os, vtkIndent indent) override
vtkTCPNetworkAccessManager is a concrete implementation of vtkNetworkAccessManager that uses tcp/ip s...
bool AbortPendingConnectionFlag
virtual int ProcessEvents(unsigned long timeout_msecs)=0
Process any network activity.
virtual bool GetPendingConnectionsPresent()=0
Returns true is the manager is currently waiting for any connections.
#define VTKREMOTINGCORE_EXPORT
virtual bool GetWrongConnectID()=0
Returns true if the last check of connect ids was wrong.
virtual void DisableFurtherConnections(int port, bool disable)=0
Enable/disable further connections for given port.
virtual vtkMultiProcessController * NewConnection(const char *url)=0
Creates a new connection given the url.
virtual void AbortPendingConnection()=0
Used to abort pending connection creation, if any.
vtkNetworkAccessManager is used to create new connections and monitor activity of those connections...