namespace codec {
class Engine;
}
+ namespace stack {
+ class Dictionary;
+ }
namespace comm {
class Message;
}
int a_burstPopCounter;
public:
- RealmNode(const std::string &originRealm, unsigned int applicationId, anna::diameter::codec::Engine *codecEngine);
+ RealmNode(const std::string &originRealm, unsigned int applicationId, const anna::diameter::stack::Dictionary *baseProtocolDictionary);
~RealmNode() {;}
+ const std::string &getName() const throw() { return a_originRealm; }
+
// Core resources:
MyDiameterEngine* getMyDiameterEngine() const throw() { return a_commEngine; }
+ unsigned int getApplicationId() const throw() { return a_applicationId; }
anna::diameter::codec::Engine *getCodecEngine() const throw() { return a_codecEngine; }
- void createEntity(const std::string &entityRepresentation, const anna::Millisecond &bindTimeout, const anna::Millisecond &applicationTimeout) throw();
+
+ void createEntity(const std::string &entityRepresentation, const anna::Millisecond &bindTimeout, const anna::Millisecond &applicationTimeout) throw(anna::RuntimeException);
MyDiameterEntity *getEntity() const throw() { return a_entity; }
void startDiameterServer(const std::string &serverRepresentation, int sessions, const anna::Millisecond &inactivityTimeout) throw(anna::RuntimeException);
MyLocalServer* getDiameterServer() throw() { return a_diameterServer; }