Package org.jcsp.net2

Class NetAltingChannelInput<T>

All Implemented Interfaces:
ChannelInput<T>, Poisonable, NetChannelInput<T>, Networked
Direct Known Subclasses:
Net2OneChannel

public abstract class NetAltingChannelInput<T> extends AltingChannelInputWrapper<T> implements NetChannelInput<T>
A NetChannelInput that may be used as a guard. This class describes the abstract interface of such a channel. To create an instance of this class, use the standard NetChannel factory, or the CNS. For information on the usage of this object, see AltingChannelInput
See Also:
  • Constructor Details

    • NetAltingChannelInput

      protected NetAltingChannelInput(AltingChannelInput<T> in)
      Creates a new NetAltingChannelInput, with the given channel as the guard
      Parameters:
      in - The channel that is used within the alternative