Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

BulkDataReceiverImpl< TCallback > Class Template Reference

#include <bulkDataReceiverImpl.h>

Inheritance diagram for BulkDataReceiverImpl< TCallback >:

Inheritance graph
[legend]
Collaboration diagram for BulkDataReceiverImpl< TCallback >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 BulkDataReceiverImpl (const ACE_CString &name, maci::ContainerServices *containerServices)
virtual ~BulkDataReceiverImpl ()
void cleanUp ()
virtual AcsBulkdata::BulkDataReceiver<
TCallback > * 
getReceiver ()
virtual void openReceiver ()
bulkdata::BulkDataReceiverConfig * getReceiverConfig ()
virtual void closeReceiver ()
virtual ACSErr::CompletiongetCbStatus (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 Attributes

AcsBulkdata::BulkDataReceiver<
TCallback > 
receiver
maci::ContainerServicescontainerServices_p

template<class TCallback>
class BulkDataReceiverImpl< TCallback >


Constructor & Destructor Documentation

template<class TCallback>
BulkDataReceiverImpl< TCallback >::BulkDataReceiverImpl const ACE_CString &  name,
maci::ContainerServices containerServices
 

Constructor

Parameters:
poa Poa which will activate this and also all other Components.
name component name.

template<class TCallback>
virtual BulkDataReceiverImpl< TCallback >::~BulkDataReceiverImpl  )  [virtual]
 

Destructor


Member Function Documentation

template<class TCallback>
void BulkDataReceiverImpl< TCallback >::cleanUp  )  [virtual]
 

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.

Returns:
void *

*

Reimplemented from acscomponent::ACSComponentImpl.

Reimplemented in BulkDataReceiver1PerfImpl< TCallback >, BulkDataReceiverDistr1Impl< TCallback >, BulkDataReceiverDistr2Impl, BulkDataReceiverEx2Impl< TCallback >, and BulkDataReceiverEx3Impl< TCallback >.

template<class TCallback>
virtual void BulkDataReceiverImpl< TCallback >::closeReceiver  )  [virtual]
 

Exceptions:
ACSBulkDataError::AVCloseReceiverErrorEx 

template<class TCallback>
virtual ACSErr::Completion* BulkDataReceiverImpl< TCallback >::getCbStatus CORBA::ULong  flowNumber  )  [virtual]
 

Exceptions:
ACSBulkDataError::AVInvalidFlowNumberEx 
ACSBulkDataError::AVFlowEndpointErrorEx 

template<class TCallback>
virtual AcsBulkdata::BulkDataReceiver<TCallback>* BulkDataReceiverImpl< TCallback >::getReceiver  )  [inline, virtual]
 

template<class TCallback>
bulkdata::BulkDataReceiverConfig* BulkDataReceiverImpl< TCallback >::getReceiverConfig  ) 
 

Exceptions:
ACSBulkDataError::AVReceiverConfigErrorEx 

template<class TCallback>
virtual void BulkDataReceiverImpl< TCallback >::openReceiver  )  [virtual]
 

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.

Exceptions:
ACSBulkDataError::AVOpenReceiverErrorEx 
Returns:
void

template<class TCallback>
virtual void BulkDataReceiverImpl< TCallback >::setRecvName const char *  recvName  )  [virtual]
 

Exceptions:
ACSBulkDataError::AVSetReceiverNameErrorEx 

template<class TCallback>
virtual void BulkDataReceiverImpl< TCallback >::setTimeout CORBA::ULong  flowNumber,
CORBA::ULong  timeout
[virtual]
 

Exceptions:
ACSBulkDataError::AVInvalidFlowNumberEx 
ACSBulkDataError::AVFlowEndpointErrorEx 

template<class TCallback>
virtual void BulkDataReceiverImpl< TCallback >::subscribeNotification ACS::CBvoid_ptr  notifCb  )  [virtual]
 

Exceptions:
ACSBulkDataError::AVNotificationMechanismErrorEx 


Member Data Documentation

template<class TCallback>
maci::ContainerServices* BulkDataReceiverImpl< TCallback >::containerServices_p [private]
 

template<class TCallback>
AcsBulkdata::BulkDataReceiver<TCallback> BulkDataReceiverImpl< TCallback >::receiver [private]
 


The documentation for this class was generated from the following file:
Generated on Thu Apr 30 02:36:06 2009 for ACS C++ API by doxygen 1.3.8