25 #ifndef vtkPVSessionServer_h 26 #define vtkPVSessionServer_h 28 #include "vtkPVServerImplementationCoreModule.h" 31 class vtkMultiProcessController;
32 class vtkMultiProcessStream;
39 void PrintSelf(ostream& os, vtkIndent indent);
61 virtual bool Connect(
const char* url);
82 GATHER_INFORMATION = 15,
86 SERVER_NOTIFICATION_MESSAGE_RMI = 55624,
87 CLIENT_SERVER_MESSAGE_RMI = 55625,
88 CLOSE_SESSION = 55626,
89 REPLY_GATHER_INFORMATION_TAG = 55627,
91 REPLY_LAST_RESULT = 55629,
92 EXECUTE_STREAM_TAG = 55630
102 vtkBooleanMacro(MultipleConnection,
bool);
103 vtkSetMacro(MultipleConnection,
bool);
104 vtkGetMacro(MultipleConnection,
bool);
107 void OnClientServerMessageRMI(
void* message,
int message_length);
108 void OnCloseSessionRMI();
127 void GatherInformationInternal(
128 vtkTypeUInt32 location,
const char* classname, vtkTypeUInt32 globalid, vtkMultiProcessStream&);
133 void SendLastResultToClient();
141 friend class vtkInternals;
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
void PrintSelf(ostream &os, vtkIndent indent)
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.