CoordinatorServer

class CoordinatorServer(comm: InetSocketAddress, logs: InetSocketAddress) : Server

Serves task-execution requests over the coordinator's comm and logs sockets.

Constructors

Link copied to clipboard
constructor(comm: InetSocketAddress, logs: InetSocketAddress)

Functions

Link copied to clipboard
fun serve(bundle: Bundle)

Blocking entry point: connects to the coordinator and serves task-execution requests from the given bundle.

Link copied to clipboard
open suspend override fun serveAsync(bundle: Bundle)

Suspending entry point: connects to the coordinator and serves task-execution requests from the given bundle.