Package org.jcsp.net2

Interface NetChannelInput<T>

All Superinterfaces:
ChannelInput<T>, Networked, Poisonable
All Known Subinterfaces:
NetSharedChannelInput<T>
All Known Implementing Classes:
MobileChannelInput, Net2AnyChannel, Net2OneChannel, NetAltingChannelInput

public interface NetChannelInput<T> extends ChannelInput<T>, Networked
This interface defines a ChannelInput that is also networked. For information on ChannelInput see the relevant class. For information on how to create a NetChannelInput, see the relevant factory class
See Also:
  • Method Details

    • setDecoder

      void setDecoder(NetworkMessageFilter.FilterRx decoder)
      Sets the underlying decoder for the channel
      Parameters:
      decoder - The new decoder to use.