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"
14namespace JsonRpc {
class JsonRpcError; }
15namespace mce {
class UUID; }
27 struct Destination :
public ::std::variant<::NetherNet::NetworkID, ::PlayerMessaging::NetworkID> {};
77 MCNAPI ::std::vector<::MessagePerformance>
_clear();
80 ::NetherNet::ESessionError result,
83 ::MessagePerformance::Status status
89 ::std::string
const& messageId,
93 MCNAPI
void add(::std::string
const& messageId, ::std::function<
void(::NetherNet::ESessionError)>&& onComplete);
99 MCNAPI
void messageError(::std::string
const& messageId, ::NetherNet::ESessionError error);
105 ::std::string
const& message,
106 ::std::string
const& messageId,
107 ::std::error_code error
Definition JsonRpcError.h:7
Definition MessageTracker.h:18
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 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 _continueTracking(::mce::UUID key, ::MessageTracker::MessageStatus &&value)
Definition MessageTracker.h:27
Definition MessageTracker.h:29
MCAPI::MessageTracker::MessageStatus & operator=(::MessageTracker::MessageStatus &&)