org.jcsp.net2
Class NetAltingChannelInput<T>

java.lang.Object
  extended by org.jcsp.lang.Guard
      extended by org.jcsp.lang.AltingChannelInput<T>
          extended by org.jcsp.lang.AltingChannelInputWrapper<T>
              extended by 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
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 org.jcsp.lang.Guard
schedule
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jcsp.net2.NetChannelInput
setDecoder
 
Methods inherited from interface org.jcsp.lang.ChannelInput
endRead, read, startRead
 
Methods inherited from interface org.jcsp.lang.Poisonable
poison
 
Methods inherited from interface org.jcsp.net2.Networked
destroy, getLocation
 

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


Copyright © 1996-2012. All Rights Reserved.