code: public void setLinks(List<Mtp2> channels) {
          for (Mtp2 link : channels) {
              if (link != null) {
                  link.mtp3 = this;
                  this.links.add(link);
              }
          }
  
      }
docs: /*
  (non-Javadoc)
  
  @see org.restcomm.protocols.ss7.mtp.Mtp3#setLinks(java.util.List)