Esempio n. 1
0
 /** {@inheritDoc} */
 public void disconnect(final ConnectionInformation info) {
   LOGGER.info(".. with ConnectionInformation:" + info);
   final MobicentsConnectionInformation vnxivrInfo = (MobicentsConnectionInformation) info;
   terminal = vnxivrInfo.getTerminal();
   terminal.disconnect();
   terminal.removeListener(this);
 }
Esempio n. 2
0
 /** {@inheritDoc} */
 public void connect(final ConnectionInformation info) throws IOException {
   LOGGER.info(".. with ConnectionInformation:" + info);
   final MobicentsConnectionInformation vnxivrInfo = (MobicentsConnectionInformation) info;
   terminal = vnxivrInfo.getTerminal();
   terminal.addListener(this);
 }