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