]> SALOME platform Git repositories - modules/kernel.git/blob - src/Communication/SALOMEMultiComm.cxx
Salome HOME
c832478ab51721a721724ab4b5518c1b8af591be
[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