org.jcsp.net2
Interface NetChannelInput<T>

All Superinterfaces:
ChannelInput<T>, Networked, Poisonable
All Known Subinterfaces:
NetSharedChannelInput<T>
All Known Implementing Classes:
MobileChannelInput, 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

Author:
Kevin Chalmers (updated from Quickstone Technologies)
See Also:
ChannelInput, Networked, NetChannel

Method Summary
 void setDecoder(NetworkMessageFilter.FilterRx decoder)
          Sets the underlying decoder for the channel
 
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
 

Method Detail

setDecoder

void setDecoder(NetworkMessageFilter.FilterRx decoder)
Sets the underlying decoder for the channel

Parameters:
decoder - The new decoder to use.


Copyright © 1996-2012. All Rights Reserved.