Skip to content

Commit

Permalink
Merge recent master
Browse files Browse the repository at this point in the history
  • Loading branch information
JackyWoo committed Jan 4, 2024
1 parent 1afefe5 commit 69708e6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/Common/NIO/SocketAcceptor.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
namespace RK
{

using Poco::Net::ServerSocket;
using Poco::Net::Socket;
using Poco::Net::ServerSocket;
using Poco::Net::StreamSocket;

/// This class implements the Acceptor part of the Acceptor-Connector design pattern.
Expand Down
7 changes: 4 additions & 3 deletions src/Common/NIO/SocketReactor.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
#include <Common/NIO/SocketNotification.h>
#include <Common/NIO/SocketNotifier.h>
#include <Common/setThreadName.h>
#include <common/types.h>


using Poco::Net::Socket;
Expand Down Expand Up @@ -160,8 +161,8 @@ class SocketReactor : public Poco::Runnable
class AsyncSocketReactor : public SocketReactor
{
public:
explicit AsyncSocketReactor(const std::string & name = "");
explicit AsyncSocketReactor(const Poco::Timespan & timeout, const std::string & name = "");
explicit AsyncSocketReactor(const String & name = "");
explicit AsyncSocketReactor(const Poco::Timespan & timeout, const String & name = "");

~AsyncSocketReactor() override;

Expand All @@ -174,7 +175,7 @@ class AsyncSocketReactor : public SocketReactor
void startup();

Poco::Thread thread;
const std::string name;
const String name;
};


Expand Down
Empty file removed src/Common/NIO/SvsSocketReactor.h
Empty file.

0 comments on commit 69708e6

Please sign in to comment.