1 #ifndef _SALOMEMULTICOMM_HXX_
2 #define _SALOMEMULTICOMM_HXX_
4 #include <SALOMEconfig.h>
5 #include CORBA_SERVER_HEADER(SALOME_Comm)
7 #if defined WNT && defined COMMUNICATION_EXPORTS
8 #define COMMUNICATION_EXPORT __declspec( dllexport )
10 #define COMMUNICATION_EXPORT
14 Class is designed to ease the use of multi communication.\n
15 Simply inherite from it your servant class you want to emit data with senders.
17 class COMMUNICATION_EXPORT SALOMEMultiComm : public virtual POA_SALOME::MultiCommClass {
19 SALOME::TypeOfCommunication _type;
22 SALOMEMultiComm(SALOME::TypeOfCommunication type);
23 virtual void setProtocol(SALOME::TypeOfCommunication type);
24 SALOME::TypeOfCommunication getProtocol() const;