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
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 Summary
Modifier and TypeMethodDescriptionvoidsetDecoder(NetworkMessageFilter.FilterRx decoder) Sets the underlying decoder for the channelMethods inherited from interface org.jcsp.lang.ChannelInput
endRead, read, startReadMethods inherited from interface org.jcsp.net2.Networked
destroy, getLocationMethods inherited from interface org.jcsp.lang.Poisonable
poison
-
Method Details
-
setDecoder
Sets the underlying decoder for the channel- Parameters:
decoder- The new decoder to use.
-