ProtocolComposer

abstract class ProtocolComposer

Functions

canCommunicate
Link copied to clipboard
fun canCommunicate(source: Protocol, destination: Protocol): Boolean
communicate
Link copied to clipboard
fun communicate(source: Protocol, destination: Protocol): ProtocolCommunication
communicateOrNull
Link copied to clipboard
abstract fun communicateOrNull(source: Protocol, destination: Protocol): ProtocolCommunication?
mandatoryParticipatingHosts
Link copied to clipboard
abstract fun mandatoryParticipatingHosts(protocol: Protocol, statement: SimpleStatementNode): Set<Host>
visibleGuardHosts
Link copied to clipboard
abstract fun visibleGuardHosts(protocol: Protocol): Set<Host>

Inheritors

AbstractProtocolComposer
Link copied to clipboard

Extensions

cached
Link copied to clipboard
fun ProtocolComposer.cached(): ProtocolComposer

Caches values returned by ProtocolComposer.communicateOrNull so it is called once per source/destination pair.