aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/messagebus/remote_server_session.h
diff options
context:
space:
mode:
authornga <nga@yandex-team.ru>2022-02-10 16:48:09 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:48:09 +0300
commitc2a1af049e9deca890e9923abe64fe6c59060348 (patch)
treeb222e5ac2e2e98872661c51ccceee5da0d291e13 /library/cpp/messagebus/remote_server_session.h
parent1f553f46fb4f3c5eec631352cdd900a0709016af (diff)
downloadydb-c2a1af049e9deca890e9923abe64fe6c59060348.tar.gz
Restoring authorship annotation for <nga@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/messagebus/remote_server_session.h')
-rw-r--r--library/cpp/messagebus/remote_server_session.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/library/cpp/messagebus/remote_server_session.h b/library/cpp/messagebus/remote_server_session.h
index a0fdf3e2e3..f5c266a7f7 100644
--- a/library/cpp/messagebus/remote_server_session.h
+++ b/library/cpp/messagebus/remote_server_session.h
@@ -1,13 +1,13 @@
#pragma once
-#include "remote_server_session_semaphore.h"
-#include "session_impl.h"
+#include "remote_server_session_semaphore.h"
+#include "session_impl.h"
#ifdef _MSC_VER
#pragma warning(push)
#pragma warning(disable : 4250) // 'NBus::NPrivate::TRemoteClientSession' : inherits 'NBus::NPrivate::TBusSessionImpl::NBus::NPrivate::TBusSessionImpl::GetConfig' via dominance
#endif
-
+
namespace NBus {
namespace NPrivate {
class TRemoteServerSession: public TBusServerSession, public TBusSessionImpl {
@@ -15,37 +15,37 @@ namespace NBus {
private:
TObjectCounter<TRemoteServerSession> ObjectCounter;
-
+
TRemoteServerSessionSemaphore ServerOwnedMessages;
IBusServerHandler* const ServerHandler;
-
+
public:
TRemoteServerSession(TBusMessageQueue* queue, TBusProtocol* proto,
IBusServerHandler* handler,
const TBusSessionConfig& config, const TString& name);
-
+
void OnMessageReceived(TRemoteConnection* c, TVectorSwaps<TBusMessagePtrAndHeader>& newMsg) override;
void InvokeOnMessage(TBusMessagePtrAndHeader& request, TIntrusivePtr<TRemoteServerConnection>& conn);
-
+
EMessageStatus SendReply(const TBusIdentity& ident, TBusMessage* pRep) override;
-
+
EMessageStatus ForgetRequest(const TBusIdentity& ident) override;
-
+
int GetInFlight() const noexcept override;
void FillStatus() override;
-
+
void Shutdown() override;
-
+
void PauseInput(bool pause) override;
unsigned GetActualListenPort() override;
-
+
void AcquireInWorkRequests(TArrayRef<const TBusMessagePtrAndHeader> requests);
void ReleaseInWorkResponses(TArrayRef<const TBusMessagePtrAndHeader> responses);
void ReleaseInWorkRequests(TRemoteConnection&, TBusMessage*);
void ReleaseInWork(TBusIdentity&);
void ConvertInWork(TBusIdentity& req, TBusMessage* reply);
};
-
+
#ifdef _MSC_VER
#pragma warning(pop)
#endif