AcsBulkdata::BulkDataReceiver< TReceiverCallback > Class Template Reference
#include <bulkDataReceiver.h>
List of all members.
Classes |
struct | FepsCfgB |
Public Member Functions |
| BulkDataReceiver () |
virtual | ~BulkDataReceiver () |
void | initialize () |
void | createSingleFlow () |
void | createMultipleFlows (const char *fepsConfig) |
bulkdata::BulkDataReceiverConfig * | getReceiverConfig () |
void | getFlowCallback (ACE_CString &flowName, TReceiverCallback *&cb_p) |
void | getFlowCallback (CORBA::ULong flowNumber, TReceiverCallback *&cb_p) |
void | closeReceiver () |
std::vector< std::string > | getFlowNames () |
void | setReceiverName (ACE_CString recvName) |
void | subscribeNotification (ACS::CBvoid_ptr notifCb) |
void | notifySender (const ACSErr::Completion &comp) |
void | addHandle (ACE_CString flowName, ACE_HANDLE handle) |
void | setCbTimeout (const char *cbTimeout) |
bulkdata::Connection | checkFlowCallbacks () |
bulkdata::Connection | getSenderConnectionState () |
Private Types |
typedef ACE_Hash_Map_Manager
< ACE_CString,
BulkDataFlowConsumer
< TReceiverCallback >
*, ACE_Null_Mutex > | FepObjects |
typedef ACE_Hash_Map_Iterator
< ACE_CString,
BulkDataFlowConsumer
< TReceiverCallback >
*, ACE_Null_Mutex > | FepObjectsIterator |
typedef ACE_Hash_Map_Manager
< ACE_CString, ACE_HANDLE,
ACE_Null_Mutex > | HandleMap |
typedef ACE_Hash_Map_Iterator
< ACE_CString, ACE_HANDLE,
ACE_Null_Mutex > | HandleMapIterator |
Private Member Functions |
void | initPartB () |
AVStreams::StreamEndPoint_B_ptr | createSepB () |
AVStreams::FlowConsumer_ptr | createFepConsumerB (ACE_CString &flowName, AVStreams::protocolSpec protocols, ACE_CString &format) |
void | addFepToSep (AVStreams::StreamEndPoint_B_ptr locSepB_p, AVStreams::FlowConsumer_ptr locFepB_p) |
AVStreams::StreamEndPoint_B_ptr | getStreamEndPointB () |
AVStreams::flowSpec * | getFepsConfig () |
void | deleteFepsB () |
void | deleteSepB () |
void | deleteAcceptor () |
void | deleteHandler () |
void | closeSocket () |
const char * | createFlowSpec (ACE_CString &flowName, ACE_CString &fepProtocol) |
Private Attributes |
FepObjects | fepMap_m |
HandleMap | handleMap_m |
TAO_AV_Endpoint_Reactive_Strategy_B
< TAO_StreamEndPoint_B,
TAO_VDev, AV_Null_MediaCtrl > | reactiveStrategy_m |
AVStreams::StreamEndPoint_B_var | sepB_p |
AVStreams::flowSpec | fepsData |
bulkdata::BulkDataReceiverConfig * | recvConfig_p |
TAO_StreamEndPoint_B * | sepRefCount_p |
CORBA::Boolean | closeReceiverFlag |
ACS::CBvoid_ptr | locNotifCb_p |
ACE_Time_Value | cbTimeout_m |
template<class TReceiverCallback>
class AcsBulkdata::BulkDataReceiver< TReceiverCallback >
Member Typedef Documentation
template<class TReceiverCallback>
template<class TReceiverCallback>
template<class TReceiverCallback>
template<class TReceiverCallback>
Constructor & Destructor Documentation
template<class TReceiverCallback>
template<class TReceiverCallback>
Member Function Documentation
template<class TReceiverCallback>
void AcsBulkdata::BulkDataReceiver< TReceiverCallback >::addFepToSep |
( |
AVStreams::StreamEndPoint_B_ptr |
locSepB_p, |
|
|
AVStreams::FlowConsumer_ptr |
locFepB_p | |
|
) |
| | [private] |
Add the Flow End Point to the Stream End Point
- Parameters:
-
| AVStreams::StreamEndPoint_B_ptr | |
| AVStreams::FlowConsumer_ptr | |
- Returns:
- void
template<class TReceiverCallback>
template<class TReceiverCallback>
- Exceptions:
-
| ACSBulkDataError::AVFlowEndpointErrorExImpl | |
template<class TReceiverCallback>
Close the Receiver
- Exceptions:
-
| ACSBulkDataError::AVCloseReceiverErrorExImpl | |
- Returns:
- void
template<class TReceiverCallback>
template<class TReceiverCallback>
AVStreams::FlowConsumer_ptr AcsBulkdata::BulkDataReceiver< TReceiverCallback >::createFepConsumerB |
( |
ACE_CString & |
flowName, |
|
|
AVStreams::protocolSpec |
protocols, |
|
|
ACE_CString & |
format | |
|
) |
| | [private] |
Create the Consumer Flow End Point
- Parameters:
-
| flowname | |
| AVStreams::protocolSpec | |
| format | |
- Returns:
- AVStreams::FlowConsumer_ptr
template<class TReceiverCallback>
Create the Flow Specifications
- Parameters:
-
- Returns:
- const char *
template<class TReceiverCallback>
Create multiple flows (user defined)
- Parameters:
-
- Exceptions:
-
| ACSBulkDataError::AVStreamEndpointErrorExImpl | |
| ACSBulkDataError::AVInvalidFlowNumberExImpl | |
| ACSBulkDataError::AVFlowEndpointErrorExImpl | |
- Returns:
- void
template<class TReceiverCallback>
Create the part B Stream End Point
- Returns:
- AVStreams::StreamEndPoint_B_ptr
template<class TReceiverCallback>
Create single flow (TCP, A/V default port)
- Exceptions:
-
| ACSBulkDataError::AVStreamEndpointErrorExImpl | |
| ACSBulkDataError::AVFlowEndpointErrorExImpl | |
- Returns:
- void
template<class TReceiverCallback>
template<class TReceiverCallback>
Delete allocated feps
- Returns:
- void
template<class TReceiverCallback>
template<class TReceiverCallback>
Delete allocated sep
- Returns:
- void
template<class TReceiverCallback>
Accessor for the part B configuration
- Returns:
- AVStreams::StreamEndPoint_B_ptr
template<class TReceiverCallback>
Accessor to allocated receiver callback
- Parameters:
-
| CORBA::ULong | |
| TReceiverCallback | |
- Exceptions:
-
| ACSBulkDataError::AVInvalidFlowNumberExImpl | |
| ACSBulkDataError::AVFlowEndpointErrorExImpl | |
- Returns:
- void
template<class TReceiverCallback>
Accessor to allocated receiver callback
- Parameters:
-
| ACE_CString | |
| TReceiverCallback | |
- Exceptions:
-
| ACSBulkDataError::AVFlowEndpointErrorExImpl | |
- Returns:
- void
template<class TReceiverCallback>
Get the names of the connected flows
- Returns:
- vector<string>
template<class TReceiverCallback>
Get the receiver flow and sep configuration
- Exceptions:
-
| ACSBulkDataError::AVReceiverConfigErrorExImpl | |
- Returns:
- bulkdata::BulkDataReceiverConfig *
template<class TReceiverCallback>
template<class TReceiverCallback>
Accessor for the part B Stream End Point
- Returns:
- AVStreams::StreamEndPoint_B_ptr
template<class TReceiverCallback>
Initialize the A/V
- Exceptions:
-
| ACSBulkDataError::AVInitErrorExImpl | |
- Returns:
- void
template<class TReceiverCallback>
Initialize the A/V part B
- Returns:
- void
template<class TReceiverCallback>
template<class TReceiverCallback>
template<class TReceiverCallback>
Set receiver name in receiver callback
- Parameters:
-
- Returns:
- void
template<class TReceiverCallback>
Subscribe to the Notification Mechanism
- Exceptions:
-
| ACSBulkDataError::AVNotificationMechanismErrorExImpl | |
- Parameters:
-
- Returns:
- void
Member Data Documentation
template<class TReceiverCallback>
template<class TReceiverCallback>
template<class TReceiverCallback>
template<class TReceiverCallback>
template<class TReceiverCallback>
template<class TReceiverCallback>
template<class TReceiverCallback>
The endpoint strategy used by the receiver
template<class TReceiverCallback>
template<class TReceiverCallback>
template<class TReceiverCallback>
The documentation for this class was generated from the following file: