use of io.joynr.messaging.info.Channel in project joynr by bmwcarit.
the class ChannelServiceImpl method listChannels.
/*
* (non-Javadoc)
*
* @see io.joynr.messaging.service.ChannelServiceDelegate#listChannels()
*/
@Override
public List<ChannelInformation> listChannels() {
List<Channel> channels = channelDirectory.getChannels();
List<ChannelInformation> channelInformationList = new LinkedList<ChannelInformation>();
for (Channel channel : channels) {
ChannelInformation channelInfo = new ChannelInformation(channel.getChannelId(), 0, 0);
channelInformationList.add(channelInfo);
}
return channelInformationList;
}
Aggregations