23 #ifndef _SALOME_COMM_I_HXX_
24 #define _SALOME_COMM_I_HXX_
32 #include <SALOMEconfig.h>
33 #include CORBA_SERVER_HEADER(SALOME_Comm)
56 SALOME_Sender_i(
const void *tabToSend,
long lgrTabToSend,
int sizeOf,
bool ownTabToSend=
false);
58 const void *getData(
long &size)
const;
59 int getSizeOf()
const;
60 void setOwnerShip(
bool own);
96 CORBA::ULong getSize();
109 CORBA::ULong getSize();
121 CORBA::ULong getSize();
134 CORBA::ULong getSize();
146 static unsigned long _tag1;
147 static unsigned long _tag2;
160 omni_thread *_newThr;
164 SALOME_MPISender_i(
const void *tabToSend,
long lgrTabToSend,
int sizeOf,
bool ownTabToSend=
false);
165 ~SALOME_MPISender_i();
170 static void* myThread(
void *args);
175 public SALOME_MPISender_i
178 SALOME_MPISenderDouble_i(
const double *tabToSend,
long lgrTabToSend,
bool ownTabToSend=
false);
183 public SALOME_MPISender_i
186 SALOME_MPISenderInt_i(
const int *tabToSend,
long lgrTabToSend,
bool ownTabToSend=
false);
202 std::string _IPAddress;
204 omni_thread *_newThr;
209 SALOME_SocketSender_i(
const void *tabToSend,
long lgrTabToSend,
int sizeOf,
bool ownTabToSend=
false);
210 ~SALOME_SocketSender_i();
214 void acceptCom() throw(SALOME::SALOME_Exception);
218 static
void* myThread(
void *args);
219 std::
string inetAddress();
224 public SALOME_SocketSender_i
227 SALOME_SocketSenderDouble_i(
const double *tabToSend,
long lgrTabToSend,
bool ownTabToSend=
false);
232 public SALOME_SocketSender_i
235 SALOME_SocketSenderInt_i(
const int *tabToSend,
long lgrTabToSend,
bool ownTabToSend=
false);