#include <RoutingSchema.h>
|
| | RoutingSchema () |
| |
| void | Load () |
| |
| void | LoadSchema (const string &schemaName, long schemaId, const string &sessionCode) |
| |
| RoutingSchema * | Duplicate (bool createPlans=false) |
| |
| | ~RoutingSchema () |
| |
| string | getName () const |
| |
| void | Explain (void) |
| |
| void | DisplayPlan (RoutingPlan *plan, unsigned int level) |
| |
| bool | ApplyPlanRouting (RoutingJob *job, RoutingMessage *theMessage, const RoutingPlan *plan, const int userId, const bool isBulk, const bool fastpath=false) const |
| |
| bool | ApplyQueueRouting (RoutingJob *job, RoutingMessage *theMessage, const long queueId, const int userId, const bool isBulk, const bool fastpath=false) |
| |
| void | ApplyRouting (RoutingJob *job, RoutingMessage *theMessage, RoutingMessage(*messageProviderCallback)()=NULL, bool fastpath=false) |
| |
| void | ApplyRouting (RoutingJob *job, RoutingMessage(*messageProviderCallback)()=NULL, bool fastpath=false) |
| |
| bool | RouteBatchReply (RoutingJob *job, RoutingMessage *theMessage, bool fastpath=false) |
| |
| bool | RouteBatch (RoutingJob *job, RoutingMessage *theMessage, bool fastpath=false) |
| |
| void | PerformInitRoutine (long schemaId) |
| |
| void | PerformTearRoutine (long schemaId) |
| |
| void | DeletePlans () |
| |
| void | CreatePlans () |
| |
| RoutingPlan * | CreatePlan (RoutingPlan *plan, const long queue, const long sequence, const unsigned char depth) |
| |
| void | InsertPlan (RoutingPlan *plan) |
| |
| const map< string, RoutingPlan * > & | Plans () const |
| |
| RoutingPlan * | Plan (const string &name) |
| |
| void | UsePlan (const string &name) |
| |
| RoutingPlan * | getPlan (long queue, RoutingMessage *theMessage) |
| |
| const vector< RoutingMessage > & | GetRBatchItems () const |
| |
| bool | isDirty () const |
| |
| void | setDirty (const bool value) |
| |
| bool | RouteDelayedReply (RoutingJob *job, RoutingMessage *theMessage, bool fastpath=false) |
| |
| RoutingSchema::RoutingSchema |
( |
| ) |
|
| RoutingSchema::~RoutingSchema |
( |
| ) |
|
| bool RoutingSchema::ApplyPlanRouting |
( |
RoutingJob * |
job, |
|
|
RoutingMessage * |
theMessage, |
|
|
const RoutingPlan * |
plan, |
|
|
const int |
userId, |
|
|
const bool |
isBulk, |
|
|
const bool |
fastpath = false |
|
) |
| const |
| bool RoutingSchema::ApplyQueueRouting |
( |
RoutingJob * |
job, |
|
|
RoutingMessage * |
theMessage, |
|
|
const long |
queueId, |
|
|
const int |
userId, |
|
|
const bool |
isBulk, |
|
|
const bool |
fastpath = false |
|
) |
| |
| void RoutingSchema::ApplyRouting |
( |
RoutingJob * |
job, |
|
|
RoutingMessage(*)() |
messageProviderCallback = NULL, |
|
|
bool |
fastpath = false |
|
) |
| |
| RoutingPlan * RoutingSchema::CreatePlan |
( |
RoutingPlan * |
plan, |
|
|
const long |
queue, |
|
|
const long |
sequence, |
|
|
const unsigned char |
depth |
|
) |
| |
| void RoutingSchema::CreatePlans |
( |
| ) |
|
| void RoutingSchema::DeletePlans |
( |
| ) |
|
| void RoutingSchema::DisplayPlan |
( |
RoutingPlan * |
plan, |
|
|
unsigned int |
level |
|
) |
| |
| RoutingSchema * RoutingSchema::Duplicate |
( |
bool |
createPlans = false | ) |
|
| void RoutingSchema::Explain |
( |
void |
| ) |
|
| string RoutingSchema::getName |
( |
| ) |
const |
|
inline |
| const vector< RoutingMessage >& RoutingSchema::GetRBatchItems |
( |
| ) |
const |
|
inline |
| bool RoutingSchema::isDirty |
( |
| ) |
const |
|
inline |
| void RoutingSchema::Load |
( |
| ) |
|
| void RoutingSchema::LoadSchema |
( |
const string & |
schemaName, |
|
|
long |
schemaId, |
|
|
const string & |
sessionCode |
|
) |
| |
| void RoutingSchema::PerformInitRoutine |
( |
long |
schemaId | ) |
|
| void RoutingSchema::PerformTearRoutine |
( |
long |
schemaId | ) |
|
| RoutingPlan * RoutingSchema::Plan |
( |
const string & |
name | ) |
|
| const map< string, RoutingPlan* >& RoutingSchema::Plans |
( |
| ) |
const |
|
inline |
NOSEQFAULT (is bulk nack) always return true
| void RoutingSchema::setDirty |
( |
const bool |
value | ) |
|
|
inline |
| void RoutingSchema::UsePlan |
( |
const string & |
name | ) |
|
| bool RoutingSchema::m_Copy |
|
private |
| string RoutingSchema::m_Description |
|
private |
| bool RoutingSchema::m_Dirty |
|
private |
| map< long, vector< RoutingRule > > RoutingSchema::m_InitRulesByQueue |
|
private |
| map< long, int > RoutingSchema::m_InnerSchemas |
|
private |
| map< long, vector< RoutingRule > > RoutingSchema::m_RulesByQueue |
|
private |
| string RoutingSchema::m_SchemaName |
|
private |
| map< long, vector< RoutingRule > > RoutingSchema::m_TearRulesByQueue |
|
private |
The documentation for this class was generated from the following files: