Class NetAltingChannelInput<T>
java.lang.Object
org.jcsp.lang.Guard
org.jcsp.lang.AltingChannelInput<T>
org.jcsp.lang.AltingChannelInputWrapper<T>
org.jcsp.net2.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 Summary
ConstructorsModifierConstructorDescriptionprotectedCreates a new NetAltingChannelInput, with the given channel as the guard -
Method Summary
Methods inherited from class AltingChannelInputWrapper
endRead, getChannel, pending, poison, read, setChannel, startReadMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ChannelInput
endRead, read, startReadMethods inherited from interface NetChannelInput
setDecoderMethods inherited from interface Networked
destroy, getLocationMethods inherited from interface Poisonable
poison
-
Constructor Details
-
NetAltingChannelInput
Creates a new NetAltingChannelInput, with the given channel as the guard- Parameters:
in- The channel that is used within the alternative
-