3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/deps/nether_net/ESessionError.h"
7#include "mc/deps/nether_net/NetworkID.h"
8#include "mc/network/services/signaling/MessagePerformance.h"
9#include "mc/network/services/signaling/player_messaging/NetworkID.h"
16namespace mce {
class UUID; }
28 struct Destination :
public ::std::variant<::NetherNet::NetworkID, ::PlayerMessaging::NetworkID> {};
30 struct MessageStatus {
42 MessageStatus& operator=(MessageStatus
const&);
43 MessageStatus(MessageStatus
const&);
73 MessageTracker& operator=(MessageTracker
const&);
74 MessageTracker(MessageTracker
const&);
80 MCNAPI
explicit MessageTracker(::gsl::not_null<::std::shared_ptr<::ISignalingServiceTelemetry>> telemetry);
82 MCNAPI ::std::vector<::MessagePerformance>
_clear();
85 ::NetherNet::ESessionError result,
88 ::MessagePerformance::Status status
94 ::std::string
const& messageId,
98 MCNAPI
void add(::std::string
const& messageId, ::std::function<
void(::NetherNet::ESessionError)>&& onComplete);
106 MCNAPI
void messageError(::std::string
const& messageId, ::NetherNet::ESessionError error);
110 ::std::string
const& message,
111 ::std::string
const& messageId,
112 ::std::error_code error
121 MCNAPI
void*
$ctor(::gsl::not_null<::std::shared_ptr<::ISignalingServiceTelemetry>> telemetry);
Definition ISignalingServiceTelemetry.h:14
Definition JsonRpcError.h:7
MCAPI void messageAccepted(::std::string const &messageId)
MCAPI ::std::vector<::MessagePerformance > _clear()
MCAPI void messageError(::std::string const &messageId, ::JsonRpc::JsonRpcError const &error)
MCAPI void add(::std::string const &messageId, ::std::function< void(::NetherNet::ESessionError)> &&onComplete)
MCAPI void messageError(::std::string const &messageId, ::NetherNet::ESessionError error)
MCAPI void messageDelivered(::std::string const &messageId)
MCAPI void _complete(::NetherNet::ESessionError result, ::mce::UUID key, ::MessageTracker::MessageStatus &&value, ::MessagePerformance::Status status)
MCAPI MessageTracker(::gsl::not_null<::std::shared_ptr<::ISignalingServiceTelemetry > > telemetry)
MCAPI void _tryGetValue(::std::string const &messageId, ::std::function< void(::mce::UUID, ::MessageTracker::MessageStatus &&)> &&fn)
MCAPI void messageSent(::MessageTracker::Destination to, ::std::string const &message, ::std::string const &messageId, ::std::error_code error)
MCAPI void * $ctor(::gsl::not_null<::std::shared_ptr<::ISignalingServiceTelemetry > > telemetry)
MCAPI void _continueTracking(::mce::UUID key, ::MessageTracker::MessageStatus &&value)
Definition MessageTracker.h:28
Definition MessageTracker.h:30
MCAPI::MessageTracker::MessageStatus & operator=(::MessageTracker::MessageStatus &&)