13 #ifndef vtkPVSessionServer_h 14 #define vtkPVSessionServer_h 49 virtual bool Connect(
const char* url);
70 GATHER_INFORMATION = 15,
74 SERVER_NOTIFICATION_MESSAGE_RMI = 55624,
75 CLIENT_SERVER_MESSAGE_RMI = 55625,
76 CLOSE_SESSION = 55626,
77 REPLY_GATHER_INFORMATION_TAG = 55627,
79 REPLY_LAST_RESULT = 55629,
80 EXECUTE_STREAM_TAG = 55630,
81 STREAM_EXECUTED = 55631
91 vtkBooleanMacro(MultipleConnection,
bool);
92 vtkSetMacro(MultipleConnection,
bool);
93 vtkGetMacro(MultipleConnection,
bool);
101 vtkBooleanMacro(DisableFurtherConnections,
bool);
102 vtkGetMacro(DisableFurtherConnections,
bool);
103 void SetDisableFurtherConnections(
bool disable);
111 void SetConnectID(
int newConnectID);
115 void OnClientServerMessageRMI(
void* message,
int message_length);
116 void OnCloseSessionRMI();
135 void GatherInformationInternal(
141 void SendLastResultToClient();
150 friend class vtkInternals;
bool DisableFurtherConnections
#define VTKREMOTINGSERVERMANAGER_EXPORT
void PrintSelf(ostream &os, vtkIndent indent) override
vtkMPIMToNSocketConnection * MPIMToNSocketConnection
virtual void NotifyOtherClients(const vtkSMMessage *)=0
Sends the message to all but the active client-session.
Header class that setup every thing in order to use Protobuf messages in a transparent manner...
class to create socket connections between two servers
virtual bool GetIsAlive()=0
Returns true is this session is active/alive/valid.
virtual void NotifyAllClients(const vtkSMMessage *)=0
Sends the message to all clients.
vtkSMSessionServer is a session used on data and/or render servers.
Abstract class used to provide the main implementation of the ParaView session methods for the follow...
virtual vtkMultiProcessController * GetController(ServerFlags processType)
Returns the controller used to communicate with the process.