Module: nintendo.nex.health

Provides a client and server for the HealthProtocol. This page was generated automatically from health.proto.

class HealthClient
The client for the HealthProtocol.

class HealthServer
The server for the HealthProtocol.

HealthClient

def __init__(client: RMCClient / HppClient)
Creates a new HealthClient.

async def ping_daemon() -> bool
Calls method 1 on the server.

async def ping_database() -> bool
Calls method 2 on the server.

async def run_sanity_check() -> bool
Calls method 3 on the server.

async def fix_sanity_errors() -> bool
Calls method 4 on the server.

HealthServer

def __init__()
Creates a new HealthServer.

async def logout(client: RMCClient) -> None
Called whenever a client is disconnected. May be overridden by a subclass.

async def ping_daemon(client: RMCClient) -> bool
Handler for method 1. This method should be overridden by a subclass.

async def ping_database(client: RMCClient) -> bool
Handler for method 2. This method should be overridden by a subclass.

async def run_sanity_check(client: RMCClient) -> bool
Handler for method 3. This method should be overridden by a subclass.

async def fix_sanity_errors(client: RMCClient) -> bool
Handler for method 4. This method should be overridden by a subclass.