Package org.jcsp.net2
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 org.jcsp.lang.AltingChannelInputWrapper
endRead, getChannel, pending, poison, read, setChannel, startReadMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jcsp.lang.ChannelInput
endRead, read, startReadMethods inherited from interface org.jcsp.net2.NetChannelInput
setDecoderMethods inherited from interface org.jcsp.net2.Networked
destroy, getLocationMethods inherited from interface org.jcsp.lang.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
-