Channel


Object Hierarchy:

Object hierarchy for Channel

Description:

public class Channel : Object

A Channel object is used for bidirectional communication between tasklets.

Features: | * an object sent through an instance of Channel can be received only through the same instance of Channel; | * an instance of Channel can have a name, and can be obtained by that name (static method find); | * it is possible to send a message without blocking the current tasklet; not even scheduling; | * it is possible for a tasklet to wait for a message to be received from a Channel; | it is guaranteed that the order with which several tasklets wait a message is respected in the | dispatching of messages; it is also possible for the tasklet to specify a timeout when waiting for a message; | * it is possible to send a message and block the sending tasklet until the message is received; | * it is possible to know how many messages are in a Channel to be received or | how many tasklets are waiting to receive in a Channel (property balance)


Namespace: Ntk.Lib
Package: vd

Content:

Properties:

Static methods:

Creation methods:

Methods: