| Home | Trees | Index | Help |
|
|---|
| Package AccessGrid :: Module MulticastAddressAllocator :: Class MulticastAddressAllocator |
|
NetworkAddressAllocator --+
|
MulticastAddressAllocator
This class provides a clean API for allocating multicast addresses. It can provide addresses either randomly from the predefined SDP pool or randomly from a pool provided by the user.
| Method Summary | |
|---|---|
We initialize this class with the information needed to allocate addresses. | |
AllocateAddress(self)
| |
GetAddressMask(self)
| |
GetBaseAddress(self)
| |
RecycleAddress(self,
address)
| |
SetAddressMask(self,
addressMaskSize)
| |
SetBaseAddress(self,
baseAddress)
| |
| Inherited from NetworkAddressAllocator | |
if the even flag is set we allocate only an even port to support RTP standard use cases. | |
| |
| |
| |
| |
| |
| |
| Class Variable Summary | |
|---|---|
str |
INTERVAL = 'interval'
|
str |
RANDOM = 'random'
|
str |
SDR_BASE_ADDRESS = '224.2.128.0'
|
int |
SDR_MASK_SIZE = 17 |
| Method Details |
|---|
__init__(self,
baseAddress=None,
addressMaskSize=24,
portBase=49152)
|
| Class Variable Details |
|---|
INTERVAL
|
RANDOM
|
SDR_BASE_ADDRESS
|
SDR_MASK_SIZE
|
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Mon Jan 09 13:23:47 2006 | http://epydoc.sf.net |