This class handles a list of destination addresses.
More...
#include <oqueue.h>
List of all members.
Detailed Description
This class handles a list of destination addresses.
Stores network addresses as InetAddress objects.
- Author:
- Federico Montesino Pouzols <fedemp@altern.org>
Constructor & Destructor Documentation
DestinationListHandler::DestinationListHandler |
( |
|
) |
|
DestinationListHandler::~DestinationListHandler |
( |
|
) |
|
Member Function Documentation
bool DestinationListHandler::addDestinationToList |
( |
const InetAddress & |
ia, |
|
|
tpport_t |
data, |
|
|
tpport_t |
control | |
|
) |
| | [protected] |
Locks the object before modifying it.
TransportAddress* DestinationListHandler::getFirstDestination |
( |
|
) |
const [inline] |
bool DestinationListHandler::isSingleDestination |
( |
|
) |
const [inline] |
Get whether there is only a destination in the list.
void DestinationListHandler::lockDestinationList |
( |
|
) |
const [inline] |
bool DestinationListHandler::removeDestinationFromList |
( |
const InetAddress & |
ia, |
|
|
tpport_t |
dataPort, |
|
|
tpport_t |
controlPort | |
|
) |
| | [protected] |
Locks the object before modifying it.
void DestinationListHandler::unlockDestinationList |
( |
|
) |
const [inline] |
void DestinationListHandler::writeLockDestinationList |
( |
|
) |
const [inline, protected] |
Member Data Documentation
The documentation for this class was generated from the following file: