#include <bulkDataDistributerImpl.h>
Inheritance diagram for BulkDataDistributerImpl< TReceiverCallback, TSenderCallback >:
Public Member Functions | |
BulkDataDistributerImpl (const ACE_CString &name, maci::ContainerServices *containerServices) | |
virtual | ~BulkDataDistributerImpl () |
virtual void | initialize () |
virtual void | cleanUp () |
virtual void | connect (bulkdata::BulkDataReceiver_ptr receiverObj_p) |
virtual void | multiConnect (bulkdata::BulkDataReceiver_ptr receiverObj_p) |
virtual void | connectByName (const char *receiverName_p) |
virtual void | disconnect () |
virtual void | multiDisconnect (bulkdata::BulkDataReceiver_ptr receiverObj_p) |
virtual void | disconnectByName (const char *receiverName_p) |
virtual void | startSend () |
virtual void | paceData () |
virtual void | stopSend () |
virtual void | openReceiver () |
bulkdata::BulkDataReceiverConfig * | getReceiverConfig () |
virtual void | closeReceiver () |
virtual void | setReceiver (const bulkdata::BulkDataReceiverConfig &receiverConfig) |
virtual AcsBulkdata::BulkDataDistributer< TReceiverCallback, TSenderCallback > * | getDistributer () |
virtual ACSErr::Completion * | getCbStatus (CORBA::ULong flowNumber) |
virtual ACSErr::Completion * | getReceiverCbStatus (const char *recvName, CORBA::ULong flowNumber) |
virtual void | setTimeout (CORBA::ULong flowNumber, CORBA::ULong timeout) |
virtual void | setRecvName (const char *recvName) |
virtual void | subscribeNotification (ACS::CBvoid_ptr notifCb) |
Private Types | |
typedef ACE_Pair< bulkdata::BulkDataReceiver_ptr, AcsBulkdata::BulkDataSender< TSenderCallback > * > | Sender_Map_Pair |
typedef ACE_Hash_Map_Manager< ACE_CString, Sender_Map_Pair, ACE_Null_Mutex > | Sender_Map |
typedef ACE_Hash_Map_Entry< ACE_CString, Sender_Map_Pair > | Sender_Map_Entry |
typedef ACE_Hash_Map_Iterator< ACE_CString, Sender_Map_Pair, ACE_Null_Mutex > | Sender_Map_Iterator |
Private Member Functions | |
void | rmEntryFromSenderMap (bulkdata::BulkDataReceiver_ptr receiverObj_p) |
void | rmEntryFromSenderMap (const char *receiverName_p) |
Private Attributes | |
maci::ContainerServices * | containerServices_p |
CDB::DAL_ptr | dal_p |
AcsBulkdata::BulkDataDistributer< TReceiverCallback, TSenderCallback > | distributer |
|
|
|
|
|
|
|
|
|
Constructor
|
|
Destructor |
|
Called after the last functional call to the component has finished. The component should then orderly release resources etc. If this method is overwritten in a subclass, the developer has to make sure that all cleanup performed by the implementation of the base class take place. The best way to do this is to call the implementation of the base itself explicitly, as would be done implicitly in a destructor chain.
Reimplemented from acscomponent::ACSComponentImpl.
|
|
|
|
Negotiate and initialize connection with the Sender object.
|
|
Negotiate and initialize connection with the Sender object.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Called to give the component time to initialize itself. For instance, the component could retrieve connections, read in configuration files/parameters, build up in-memory tables, ... Called before execute. In fact, this method might be called quite some time before functional requests can be sent to the component. Must be implemented as a synchronous (blocking) call.
Reimplemented from acscomponent::ACSComponentImpl.
|
|
Negotiate and initialize connection with the Sender object.
|
|
|
|
Opens connection creating an out-of-bound channel using TAO A/V services. It creates the Receiver Stream End Point and Flow End Point for the connection with the Sender. The Receiver Stream End Point can be retrieved as an attribute.
|
|
Sends data to the Receiver calling the receive_frame() method on the Receiver side. This method must be overriden by the user to send his own data.
|
|
|
|
|
|
|
|
|
|
|
|
Calls the Receiver handle_start() method once the connection is established.
|
|
Calls the Receiver handle_stop() method.
|
|
|
|
|
|
|
|
|