InitializedKrpcClient
abstract class InitializedKrpcClient(config: KrpcConfig.Client, transport: KrpcTransport) : KrpcClient(source)
Represents an initialized KrpcClient that wraps a predefined config and transport parameters.
Parameters
config
configuration provided for that specific client. Applied to all services that use this client. See KrpcClient.initializeConfig.
transport
KrpcTransport instance that will be used to send and receive RPC messages. See KrpcClient.initializeTransport.
Functions
Link copied to clipboard
Waits until the client is closed.
Link copied to clipboard
Link copied to clipboard
Called once to provide KrpcConfig.Client for this client. Called only after initializeTransport.
Link copied to clipboard
Called once to provide KrpcTransport for this client.