Salome HOME
ENV: Windows porting.
[modules/kernel.git] / src / Communication / SALOMEMultiComm.cxx
1 #include "SALOMEMultiComm.hxx"
2 #ifndef WNT
3 using namespace std;
4 #endif
5
6 SALOMEMultiComm::SALOMEMultiComm():_type(SALOME::CORBA_)
7 {
8 }
9
10 SALOMEMultiComm::SALOMEMultiComm(SALOME::TypeOfCommunication type):_type(type)
11 {
12 }
13
14 void SALOMEMultiComm::setProtocol(SALOME::TypeOfCommunication type)
15 {
16   _type=type;
17 }
18
19 SALOME::TypeOfCommunication SALOMEMultiComm::getProtocol() const
20 {
21   return _type;
22 }
23
24