11 #ifndef vtkTCPNetworkAccessManager_h 12 #define vtkTCPNetworkAccessManager_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;
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)
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...
ConnectionResult
Possible result of connection when creating a new connection CONNECTION_SUCCESS: Connection was suces...