ProtocolCommunication

Constructors

Link copied to clipboard

Functions

Link copied to clipboard
open operator override fun contains(element: CommunicationEvent): Boolean
Link copied to clipboard
open override fun containsAll(elements: Collection<CommunicationEvent>): Boolean
Link copied to clipboard
Link copied to clipboard
fun getHostReceives(h: Host, portId: PortId? = null): Set<CommunicationEvent>
Link copied to clipboard
fun getHostSends(h: Host, portId: PortId? = null): Set<CommunicationEvent>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun isEmpty(): Boolean
Link copied to clipboard
open operator override fun iterator(): Iterator<CommunicationEvent>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun <T : Any> toArray(p0: IntFunction<Array<T>>): Array<T>

Properties

Link copied to clipboard
Link copied to clipboard
open override val size: Int

Extensions

Link copied to clipboard
Link copied to clipboard

Combines back ends for different protocols into one that supports all.

Combines multiple protocol composers into one.

fun <K, V> Iterable<Map<K, V>>.unions(): Map<K, V>

Returns the union of all given maps.

fun <T> Iterable<Set<T>>.unions(): Set<T>

Returns the union of all given sets.

Combines code generators for different protocols into one generator that can handle all protocols.

Combines given factories into a single factory that returns protocols from all of them.