Version: 8.3.0
ReceiverFactory Class Reference

This class internally builds a receiver associated with the sender given. More...

#include <ReceiverFactory.hxx>

Static Public Member Functions

static double * getValue (SALOME::SenderDouble_ptr sender, long &size) throw (MultiCommException)
 This method performs the transfert of double array with the remote SenderDouble given. More...
 
static int * getValue (SALOME::SenderInt_ptr sender, long &size) throw (MultiCommException)
 This method performs the transfert of int array with the remote SenderInt given. More...
 

Static Private Member Functions

static double * getValueOneShot (SALOME::SenderDouble_ptr sender, long &size) throw (MultiCommException)
 This method performs the transfert with the remote SenderDouble given. More...
 
static int * getValueOneShot (SALOME::SenderInt_ptr sender, long &size) throw (MultiCommException)
 This method performs the transfert with the remote SenderInt given. More...
 

Detailed Description

This class internally builds a receiver associated with the sender given.

It also performs transfert completely and clean up the objects. This is the only class used client side of an array.

Member Function Documentation

double * ReceiverFactory::getValue ( SALOME::SenderDouble_ptr  sender,
long &  size 
) throw (MultiCommException)
static

This method performs the transfert of double array with the remote SenderDouble given.

If it fails with this SenderDouble it tries with an another protocol (CORBA by default).

References SALOME::CORBA_, and MESSAGE.

Referenced by MatrixClient::getValue().

int * ReceiverFactory::getValue ( SALOME::SenderInt_ptr  sender,
long &  size 
) throw (MultiCommException)
static

This method performs the transfert of int array with the remote SenderInt given.

If it fails with this SenderInt it tries with an another protocol (CORBA by default).

References SALOME::CORBA_, and MESSAGE.

double * ReceiverFactory::getValueOneShot ( SALOME::SenderDouble_ptr  sender,
long &  size 
) throw (MultiCommException)
staticprivate

This method performs the transfert with the remote SenderDouble given.

If it fails an exception is thrown.

int * ReceiverFactory::getValueOneShot ( SALOME::SenderInt_ptr  sender,
long &  size 
) throw (MultiCommException)
staticprivate

This method performs the transfert with the remote SenderInt given.

If it fails an exception is thrown.