projects
/
anna.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove dynamic exceptions
[anna.git]
/
include
/
anna
/
diameter
/
codec
/
Engine.hpp
diff --git
a/include/anna/diameter/codec/Engine.hpp
b/include/anna/diameter/codec/Engine.hpp
index
4485319
..
022bbef
100644
(file)
--- a/
include/anna/diameter/codec/Engine.hpp
+++ b/
include/anna/diameter/codec/Engine.hpp
@@
-43,11
+43,13
@@
class Engine : public EngineImpl {
public:
public:
- static const char* getClassName() throw() { return "anna::diameter::codec::Engine"; }
+ /**
+ Constructor
+ @param className Logical name for the class.
+ */
+ Engine(const char *className, const stack::Dictionary * dictionary) : EngineImpl(className, dictionary) {;}
- Engine() : EngineImpl(getClassName()) {;}
-
- void releaseAvp(Avp* avp) throw() {
+ void releaseAvp(Avp* avp) {
if(avp == NULL) return;
//Avp* aux = static_cast <Avp*> (avp);
if(avp == NULL) return;
//Avp* aux = static_cast <Avp*> (avp);
@@
-55,7
+57,7
@@
public:
a_avps.release(avp/*aux*/);
}
a_avps.release(avp/*aux*/);
}
- void releaseMessage(Message* message)
throw()
{
+ void releaseMessage(Message* message) {
if(message == NULL) return;
//Message* aux = static_cast <Message*> (message);
if(message == NULL) return;
//Message* aux = static_cast <Message*> (message);
@@
-68,8
+70,8
@@
protected:
anna::Recycler<Avp> a_avps;
anna::Recycler<Message> a_messages;
anna::Recycler<Avp> a_avps;
anna::Recycler<Message> a_messages;
- anna::diameter::codec::Avp* allocateAvp()
throw()
{ return a_avps.create(); }
- anna::diameter::codec::Message* allocateMessage()
throw()
{ return a_messages.create(); }
+ anna::diameter::codec::Avp* allocateAvp() { return a_avps.create(); }
+ anna::diameter::codec::Message* allocateMessage() { return a_messages.create(); }
friend class Message;
friend class Avp;
friend class Message;
friend class Avp;