Go to the documentation of this file.
11 #ifndef vtkTCPNetworkAccessManager_h
12 #define vtkTCPNetworkAccessManager_h
15 #include "vtkRemotingCoreModule.h"
108 int ProcessEventsInternal(
unsigned long timeout_msecs,
bool do_processing);
124 HANDSHAKE_NO_ERROR = 0,
129 HANDSHAKE_UNKNOWN_ERROR
132 int ParaViewHandshake(
134 void PrintHandshakeError(
int errorcode,
bool server_side);
135 int AnalyzeHandshakeAndGetErrorCode(
const char* clientHS,
const char* serverHS);
145 vtkInternals* Internals;
@ HANDSHAKE_DIFFERENT_CONNECTION_IDS
virtual void AbortPendingConnection()=0
Used to abort pending connection creation, if any.
@ HANDSHAKE_SOCKET_COMMUNICATOR_DIFFERENT
virtual bool GetPendingConnectionsPresent()=0
Returns true is the manager is currently waiting for any connections.
virtual int ProcessEvents(unsigned long timeout_msecs)=0
Process any network activity.
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)
Creates a new connection given the url.
ConnectionResult
Possible result of connection when creating a new connection CONNECTION_SUCCESS: Connection was suces...
@ HANDSHAKE_DIFFERENT_PV_VERSIONS
void PrintSelf(ostream &os, vtkIndent indent) override
virtual bool GetNetworkEventsAvailable()=0
Peeks to check if any activity is available.
bool AbortPendingConnectionFlag
@ HANDSHAKE_DIFFERENT_RENDERING_BACKENDS