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