Skip to content

Commit

Permalink
yannet: some clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
andreasdr committed Jan 10, 2025
1 parent a1ff35e commit a330668
Show file tree
Hide file tree
Showing 15 changed files with 0 additions and 72 deletions.
1 change: 0 additions & 1 deletion src/yannet/network/httpclient/HTTPClient.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ using std::vector;
namespace yannet {
namespace network {
namespace httpclient {
using ::yannet::network::httpclient::HTTPClientException;
using ::yannet::os::network::NetworkException;
}
}
Expand Down
1 change: 0 additions & 1 deletion src/yannet/network/httpclient/HTTPDownloadClient.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ using std::vector;
namespace yannet {
namespace network {
namespace httpclient {
using ::yannet::network::httpclient::HTTPClientException;
using ::yannet::os::network::NetworkException;
using ::yannet::os::threading::Mutex;
using ::yannet::os::threading::Thread;
Expand Down
2 changes: 0 additions & 2 deletions src/yannet/network/udpclient/UDPClient.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@ namespace udpclient {
using ::yannet::os::threading::Mutex;
using ::yannet::os::threading::Thread;
using ::yannet::network::udp::UDPPacket;
using ::yannet::network::udpclient::NetworkClientException;
using ::yannet::network::udpclient::UDPClientMessage;
}
}
}
Expand Down
3 changes: 0 additions & 3 deletions src/yannet/network/udpserver/ServerClientRequestHandlerHub.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ namespace yannet {
namespace network {
namespace udpserver {

using ::yannet::network::udpserver::ServerClientRequestHandler;
using ::yannet::network::udpserver::ServerClientRequestHandlerHubException;

/**
* @brief Network server client request handler hub
* @author Andreas Drewke
Expand Down
6 changes: 0 additions & 6 deletions src/yannet/network/udpserver/UDPServer.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,6 @@ namespace yannet {
namespace network {
namespace udpserver {
using ::yannet::network::udp::UDPPacket;
using ::yannet::network::udpserver::NetworkServerException;
using ::yannet::network::udpserver::Server;
using ::yannet::network::udpserver::ServerWorkerThreadPool;
using ::yannet::network::udpserver::UDPServerClient;
using ::yannet::network::udpserver::UDPServerGroup;
using ::yannet::network::udpserver::UDPServerIOThread;
using ::yannet::os::threading::Barrier;
using ::yannet::os::threading::ReadWriteLock;
using ::yannet::os::threading::Thread;
Expand Down
2 changes: 0 additions & 2 deletions src/yannet/network/udpserver/UDPServerClient.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ namespace yannet {
namespace network {
namespace udpserver {
using ::yannet::network::udp::UDPPacket;
using ::yannet::network::udpserver::UDPServer;
using ::yannet::network::udpserver::UDPServerIOThread;
using ::yannet::os::threading::Mutex;
using ::yannet::utilities::Exception;
}
Expand Down
2 changes: 0 additions & 2 deletions src/yannet/network/udpserver/UDPServerIOThread.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ namespace yannet {
namespace network {
namespace udpserver {
using ::yannet::network::udp::UDPPacket;
using ::yannet::network::udpserver::UDPServer;
using ::yannet::network::udpserver::UDPServerClient;
using ::yannet::os::network::KernelEventMechanism;
using ::yannet::os::network::UDPSocket;
using ::yannet::os::threading::Barrier;
Expand Down
11 changes: 0 additions & 11 deletions src/yannet/os/network/KernelEventMechanism.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,6 @@
#include <yannet/os/network/NetworkSocket.h>
#include <yannet/os/network/NIOInterest.h>

// namespaces
namespace yannet {
namespace os {
namespace network {
using ::yannet::os::network::NetworkKEMException;
using ::yannet::os::network::NetworkSocket;
using ::yannet::os::network::NIOInterest;
}
}
}

/**
* Interface to kernel event mechanismns
* @author Andreas Drewke
Expand Down
9 changes: 0 additions & 9 deletions src/yannet/os/network/NetworkSocket.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,6 @@

using std::string;

// namespaces
namespace yannet {
namespace os {
namespace network {
using ::yannet::os::network::NetworkSocketException;
}
}
}

/**
* Base class of network sockets
* @author Andreas Drewke
Expand Down
1 change: 0 additions & 1 deletion src/yannet/os/network/SecureTCPSocket.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ using std::vector;
namespace yannet {
namespace os {
namespace network {
using ::yannet::os::network::TCPSocket;
using ::yannet::os::threading::Mutex;
}
}
Expand Down
11 changes: 0 additions & 11 deletions src/yannet/os/network/UDPSocket.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,6 @@

using std::string;

// namespaces
namespace yannet {
namespace os {
namespace network {
using ::yannet::os::network::NetworkIOException;
using ::yannet::os::network::NetworkSocket;
using ::yannet::os::network::NetworkSocketException;
}
}
}

/**
* Class representing a UDP socket
* @author Andreas Drewke
Expand Down
10 changes: 0 additions & 10 deletions src/yannet/os/threading/Barrier.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,6 @@

using std::string;

// namespaces
namespace yannet {
namespace os {
namespace threading {
using ::yannet::os::threading::Condition;
using ::yannet::os::threading::Mutex;
}
}
}

/**
* Barrier implementation.
* @author Andreas Drewke
Expand Down
9 changes: 0 additions & 9 deletions src/yannet/os/threading/Condition.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,6 @@ using std::condition_variable_any;
using std::mutex;
using std::string;

// namespaces
namespace yannet {
namespace os {
namespace threading {
using ::yannet::os::threading::Mutex;
}
}
}

/**
* Threading condition variable implementation
* @author Andreas Drewke
Expand Down
3 changes: 0 additions & 3 deletions src/yannet/os/threading/Queue.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@ namespace yannet {
namespace os {
namespace threading {

using ::yannet::os::threading::Condition;
using ::yannet::os::threading::Mutex;

/**
* Consumer/producer queue.
* @author Andreas Drewke
Expand Down
1 change: 0 additions & 1 deletion src/yannet/utilities/UTF8CharacterIterator.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ using std::vector;
namespace yannet {
namespace utilities {
using ::yannet::math::Math;
using ::yannet::utilities::Console;
}
}

Expand Down

0 comments on commit a330668

Please sign in to comment.