code: public void registerLink(Mtp2 mtp2) {
          try {
              mtp2.getLayer1().register(selector);
          } catch (IOException ex) {
              ex.printStackTrace();
          }
      }
docs: /*
  (non-Javadoc)
  
  @see org.restcomm.protocols.ss7.mtp.Mtp2Listener#registerLink(org.restcomm.protocols.ss7.mtp.Mtp2)