using namespace anna;
bool comm::AccessPoint::operator == (const comm::AccessPoint& rhs) const
-throw() {
+{
if(rhs.isNull() && this->isNull())
return true;
}
comm::AccessPoint& comm::AccessPoint::operator = (const INetAddress & inetAddress)
-throw() {
+{
if(a_path != NULL) {
delete a_path;
a_path = NULL;
}
comm::AccessPoint& comm::AccessPoint::operator = (const std::string & path)
-throw() {
+{
if(a_path == &path)
return *this;
}
comm::AccessPoint& comm::AccessPoint::operator = (const AccessPoint & rhs)
-throw() {
+{
if(this == &rhs)
return *this;
}
void comm::AccessPoint::translate(const comm::Socket& socket, sockaddr*& s, int& len)
-throw(RuntimeException) {
+noexcept(false) {
switch(socket.getDomain()) {
case Socket::Domain::Inet:
}
void comm::AccessPoint::asString(std::string& msg) const
-throw() {
+{
msg += "{ ";
if(a_inetAddress.isNull() == false)
}
void comm::AccessPoint::asXML(const char* name, xml::Node* parent) const
-throw(RuntimeException) {
+noexcept(false) {
xml::Node* accessPoint = parent->createChild(name);
if(a_inetAddress.isNull() == false)
}
std::string comm::AccessPoint::serialize() const
-throw() {
+{
std::string result;
if(a_inetAddress.isNull() == false)