private GroupChannelId buildChannelId(GroupVoiceChannelGrant grant, Double frequency) { return new GroupChannelId( followRequest.getChannelId().getWacn(), followRequest.getChannelId().getSystemId(), followRequest.getChannelId().getRfSubsystemId(), grant.getSourceId(), grant.getGroupId(), frequency); }
private void followGroupChannelGrant(GroupVoiceChannelGrant grant) { Integer channelId = grant.getChannelId(); Optional<IdUpdateBlock> idBlock = channelIdMap.getBlockForId(channelId); if (!idBlock.isPresent()) { log.debug( followRequest.getChannelId() + " unable to process voice channel grant, id map missing " + channelId); } else { sendRequest(buildCaptureRequest(grant, grant.getDownlinkFreq(idBlock.get()))); } }