Package-level declarations
Types
Link copied to clipboard
data class Entity(val entityName: String, val id: String? = null, val metadata: Map<String, String> = emptyMap())
Represents the entity that the Protocol is communicating with. An Entity is characterized by a entityName and an optional id. The id is used to distinguish between multiple entities with the same entityName. The metadata is used to store additional information about the entity.
Link copied to clipboard
Defines the effective protocol used to communicate between two entities remotely. The protocol is responsible for setting up the communication channel between the two Entity and for sending and receiving messages.