using namespace anna::diameter::codec;
-void MessagesDeque::clear() throw () {
+void MessagesDeque::clear() {
try {
anna::diameter::codec::EngineManager &em = anna::diameter::codec::EngineManager::instantiate();
anna::diameter::codec::Engine *engine;
}
}
-void MessagesDeque::dump(const char *filenamePrefix) throw () {
+void MessagesDeque::dump(const char *filenamePrefix) {
std::string outfilename, xmlString;
for (messages_const_iterator it = a_deques.begin();
it != a_deques.end(); it++) {
}
}
-void MessagesDeque::addMessage(int code, anna::diameter::codec::Message *message) throw () {
+void MessagesDeque::addMessage(int code, anna::diameter::codec::Message *message) {
if (!message)
return; // just in case
}
}
-anna::diameter::codec::Message* MessagesDeque::getMessage(int code) const throw () { //get the front message (begin()), returns NULL if deque is empty
+anna::diameter::codec::Message* MessagesDeque::getMessage(int code) const { //get the front message (begin()), returns NULL if deque is empty
anna::diameter::codec::Message *result = NULL;
messages_const_iterator it = a_deques.find(code);
if (it != a_deques.end()) {
return result;
}
-void MessagesDeque::nextMessage(int code) throw () { //pops the deque and release the message (when deque is not empty: deque::empty)
+void MessagesDeque::nextMessage(int code) { //pops the deque and release the message (when deque is not empty: deque::empty)
anna::diameter::codec::Engine *engine;
try {
}
}
-std::string MessagesDeque::asString(const char *queueName) const throw () {
+std::string MessagesDeque::asString(const char *queueName) const {
std::string result = "";
std::string aux = "FIFO QUEUE '";
aux += queueName;