Package no.marec.api.korona
Interface Ping
-
public interface PingA ping consisting ofChannels.All pings in the same file has the same number of channels.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ChannelgetChannel(int channelNumber)Return the channel for a given channel number.java.util.Collection<Channel>getChannels()Returns all channels in this ping.
-
-
-
Method Detail
-
getChannel
Channel getChannel(int channelNumber)
Return the channel for a given channel number.Note: channels are numbered starting at 1.
- Parameters:
channelNumber- the channel number- Returns:
- the channel
-
getChannels
java.util.Collection<Channel> getChannels()
Returns all channels in this ping.- Returns:
- all channels
-
-