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
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- Author:
- Quickstone Technologies
- See Also:
AltingChannelInput
,ChannelInput
,NetChannelInput
,NetChannel
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
NetAltingChannelInput(AltingChannelInput<T> in)
Creates 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, startRead
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jcsp.lang.ChannelInput
endRead, read, startRead
-
Methods inherited from interface org.jcsp.net2.NetChannelInput
setDecoder
-
Methods inherited from interface org.jcsp.net2.Networked
destroy, getLocation
-
Methods inherited from interface org.jcsp.lang.Poisonable
poison
-
-
-
-
Constructor Detail
-
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
-
-