|
WSF
|
#include <WsfXIO_Destination.hpp>
Public Member Functions | |
| void | Add (WsfXIO_Connection *aConnectionPtr) |
| void | Remove (WsfXIO_Connection *aConnectionPtr) |
| Removes a connection from the list. | |
| void | RemoveAll (WsfXIO_Connection *aConnectionPtr) |
| bool | IsEmpty () const |
| Returns true if the destination is null. | |
| const std::vector< PakSocketIO * > & | GetIO_List () const |
| void | Send (WsfXIO_Packet &aPkt) |
| Sends a message to all connections in this destination. | |
| const std::vector< WsfXIO_Connection * > & | GetConnections () |
Maintains a list of connections and provides a method to send messages to all connections at once. A connection is allowed to be added multiple times.
| void WsfXIO_Destination::Add | ( | WsfXIO_Connection * | aConnectionPtr | ) |
Adds a connection to the list. A connection may be added more than once.
Referenced by WsfXIO_MessageService::HandleMessage(), WsfXIO_PlatformInfoService::HandleRequest(), and WsfXIO_PlatformPartInfoService::HandleRequest().
|
inline |
|
inline |
Returns a list of PakSocketIO objects used to send messages Each member in the list is guaranteed to be unique.
Referenced by WsfXIO_Interface::Send().
|
inline |
Returns true if the destination is null.
Referenced by WsfXIO_MessageService::HandleMessage(), WsfXIO_PlatformInfoService::SubscriptionCancelledT(), WsfXIO_PlatformPartInfoService::SubscriptionCancelledT(), and WsfXIO_TrackService::SubscriptionCancelledT().
| void WsfXIO_Destination::Remove | ( | WsfXIO_Connection * | aConnectionPtr | ) |
Removes a connection from the list.
Referenced by WsfXIO_PlatformInfoService::SubscriptionCancelledT(), WsfXIO_PlatformPartInfoService::SubscriptionCancelledT(), and WsfXIO_TrackService::SubscriptionCancelledT().
| void WsfXIO_Destination::RemoveAll | ( | WsfXIO_Connection * | aConnectionPtr | ) |
| void WsfXIO_Destination::Send | ( | WsfXIO_Packet & | aPkt | ) |
Sends a message to all connections in this destination.
Referenced by WsfXIO_PlatformInfoService::DR_Change(), and WsfXIO_MessageService::HandleMessage().