|
m2etis
0.4
|
#include <NullPartition.h>

Public Types | |
| enum | TreeName { ALL } |
| typedef boost::shared_ptr< EventType > | PayloadPtr |
Public Types inherited from m2etis::pubsub::partition::BasePartition< NetworkType, EventType > | |
| typedef boost::shared_ptr< EventType > | PayloadPtr |
Public Member Functions | |
| NullPartition () | |
| virtual | ~NullPartition () |
| void | createRendezvousPartition (const typename NetworkType::Key &) |
| creates a base partition for the RP (dynamic) More... | |
| std::vector< int > | getTreeNames () |
| returns amount of partitions this strategy contains (static & dynamic) More... | |
| std::vector< int >::size_type | getPublishTree (const PayloadPtr, const typename NetworkType::Key &) |
| returns the tree index the given node with the given payload should publish on (static & dynamic) More... | |
| std::vector< unsigned int > | getSubscribeTrees (boost::shared_ptr< filter::FilterExp< EventType >>) |
| returns the tree indices of all trees matching the predicate to subscribe on (static & dynamic) More... | |
| boost::shared_ptr< filter::FilterExp< EventType > > | getPredicate (size_t) |
| returns the predicate for the given partition id (dynamic) More... | |
| bool | createPartition (const typename NetworkType::Key &) |
| can create a new partition for this channel if a new node (root) joins, return true, if a new partition was created, otherwise false (dynamic) More... | |
| void | addPartition (boost::shared_ptr< filter::FilterExp< EventType >>, const typename NetworkType::Key &) |
| void | removePartition (size_t) |
| removes the partition with the given id (dynamic) More... | |
| void | changePredicate (size_t, boost::shared_ptr< filter::FilterExp< EventType >>) |
| changes the filter predicate for the partition with the given id (dynamic) More... | |
| void | changeRoot (size_t, typename NetworkType::Key &) |
Public Member Functions inherited from m2etis::pubsub::partition::BasePartition< NetworkType, EventType > | |
| BasePartition () | |
| virtual | ~BasePartition () |
| virtual void | addPartition (boost::shared_ptr< filter::FilterExp< EventType > > predicate, const typename NetworkType::Key &root)=0 |
| adds a new partition to the strategy at nodes not being RP (dynamic) More... | |
| virtual std::string | toString () |
Static Public Attributes | |
| static const bool | DYNAMIC_PARTITION |
Definition at line 34 of file NullPartition.h.
| typedef boost::shared_ptr<EventType> m2etis::pubsub::partition::NullPartition< NetworkType, EventType >::PayloadPtr |
Definition at line 36 of file NullPartition.h.
|
inline |
Definition at line 44 of file NullPartition.h.
|
inlinevirtual |
Definition at line 47 of file NullPartition.h.
|
inline |
Definition at line 75 of file NullPartition.h.
|
inlinevirtual |
changes the filter predicate for the partition with the given id (dynamic)
Implements m2etis::pubsub::partition::BasePartition< NetworkType, EventType >.
Definition at line 81 of file NullPartition.h.
|
inlinevirtual |
Implements m2etis::pubsub::partition::BasePartition< NetworkType, EventType >.
Definition at line 84 of file NullPartition.h.
|
inlinevirtual |
can create a new partition for this channel if a new node (root) joins, return true, if a new partition was created, otherwise false (dynamic)
Implements m2etis::pubsub::partition::BasePartition< NetworkType, EventType >.
Definition at line 71 of file NullPartition.h.
|
inlinevirtual |
creates a base partition for the RP (dynamic)
Implements m2etis::pubsub::partition::BasePartition< NetworkType, EventType >.
Definition at line 49 of file NullPartition.h.
|
inlinevirtual |
returns the predicate for the given partition id (dynamic)
Implements m2etis::pubsub::partition::BasePartition< NetworkType, EventType >.
Definition at line 67 of file NullPartition.h.
|
inlinevirtual |
returns the tree index the given node with the given payload should publish on (static & dynamic)
Implements m2etis::pubsub::partition::BasePartition< NetworkType, EventType >.
Definition at line 57 of file NullPartition.h.
|
inlinevirtual |
returns the tree indices of all trees matching the predicate to subscribe on (static & dynamic)
Implements m2etis::pubsub::partition::BasePartition< NetworkType, EventType >.
Definition at line 61 of file NullPartition.h.
|
inlinevirtual |
returns amount of partitions this strategy contains (static & dynamic)
Implements m2etis::pubsub::partition::BasePartition< NetworkType, EventType >.
Definition at line 52 of file NullPartition.h.
|
inlinevirtual |
removes the partition with the given id (dynamic)
Implements m2etis::pubsub::partition::BasePartition< NetworkType, EventType >.
Definition at line 78 of file NullPartition.h.
|
static |
Definition at line 38 of file NullPartition.h.