Salome HOME
Porting to Mandrake 10.1 and new products:
[modules/kernel.git] / src / Communication / SALOMEMultiComm.hxx
1 #ifndef _SALOMEMULTICOMM_HXX_
2 #define _SALOMEMULTICOMM_HXX_
3
4 #include <SALOMEconfig.h>
5 #include CORBA_SERVER_HEADER(SALOME_Comm)
6
7 /*!
8   Class is designed to ease the use of multi communication.\n
9   Simply inherite from it your servant class you want to emit data with senders.
10  */
11 class SALOMEMultiComm : public virtual POA_SALOME::MultiCommClass {
12 protected:
13   SALOME::TypeOfCommunication _type;
14 public:
15   SALOMEMultiComm();
16   SALOMEMultiComm(SALOME::TypeOfCommunication type);
17   virtual void setProtocol(SALOME::TypeOfCommunication type);
18   SALOME::TypeOfCommunication getProtocol() const;
19 };
20
21 #endif