Package org.jcsp.net

Class NetAltingChannelInput

All Implemented Interfaces:
ChannelInput, Poisonable, NetChannelInput, Networked
Direct Known Subclasses:
MigratableAltingChannelInput

public abstract class NetAltingChannelInput extends AltingChannelInputWrapper implements NetChannelInput

An abstract class that is sub-classed by classes whose instances should be networked channel ends that can be used as an AltingChannelInput objects.

This class does not need to be sub-classed by JCSP users.

Author:
Quickstone Technologies Limited
  • Constructor Details

    • NetAltingChannelInput

      protected NetAltingChannelInput(AltingChannelInput channel)

      Constructs a channel end and takes the actual channel to use to deliver the data.

      Parameters:
      channel - the actual channel used to deliver data to the user.
    • NetAltingChannelInput

      protected NetAltingChannelInput()

      Constructs a channel end without supplying the actual channel to use. setChannel(AltingChannelInput) should be called before the channel end is actually used.