Nexus API Reference

ClusterTransport

Tags
psalm-api

TCP-based inter-node transport for multi-machine cluster communication. Addresses nodes by NodeAddress (cluster/datacenter/application/node). Implementations are deferred to a future remote transport package.

Table of Contents

Methods

close()  : void
Close and release resources.
listen()  : void
Register a listener for incoming messages.
send()  : void
Send serialized data to a target node.

Methods

listen()

Register a listener for incoming messages.

public listen(callable(string): void $onMessage) : void
Parameters
$onMessage : callable(string): void

        
On this page

Search results