# include <iostream>
#endif // DEBUG
-PlaQui::Server::Connection::~Connection(void) {
+using namespace std;
+
+namespace PlaQui {
+
+namespace Server {
+
+Connection::~Connection(void) {
#ifdef DEBUG
- std::cerr << __FILE__ << ": destructor." << std::endl;
+ cerr << __FILE__ << ": destructor." << endl;
#endif // DEBUG
}
-PlaQui::Server::Connection::Connection(const sockbuf::sockdesc& sd):
+Connection::Connection(const sockbuf::sockdesc& sd):
socket(sd) {
#ifdef DEBUG
- std::cerr << __FILE__ << ": sd = " << sd.sock << std::endl;
+ cerr << __FILE__ << ": sd = " << sd.sock << endl;
#endif // DEBUG
}
-PlaQui::Server::Connection::Connection(sockbuf::type type):
+Connection::Connection(sockbuf::type type):
socket(type) {
#ifdef DEBUG
- std::cerr << __FILE__ << ": type = " << type << std::endl;
+ cerr << __FILE__ << ": type = " << type << endl;
#endif // DEBUG
}
+} // namespace Server
+
+} // namespace PlaQui
+