11class ServerCommunicationInterface {
21 ServerCommunicationInterface& operator=(ServerCommunicationInterface
const&);
22 ServerCommunicationInterface(ServerCommunicationInterface
const&);
23 ServerCommunicationInterface();
28 MCNAPI_S
void communicate(::std::string
const& method,
::Json::Value const& params);
30 MCNAPI_S
void sendBandwidthMetric(
31 uint64 connectionTotalBytesReceived,
32 uint64 connectionTotalBytesSent,
33 uint64 playerDeltaBytesReceived,
34 uint64 playerDeltaBytesSent,
35 ::std::string
const& xuid
38 MCNAPI_S
void sendServerStarted();
44 MCNAPI_S static ::std::unique_ptr<::ServerCommunicationInterface> create(
::NetworkAddress const& address);