Пример #1
0
 /*
  * (non-Javadoc)
  *
  * @see org.mobicents.ss7.management.console.CommandHandler#isAvailable(org.mobicents
  * .ss7.management.console.CommandContext)
  */
 @Override
 public boolean isAvailable(CommandContext ctx) {
   if (!ctx.isControllerConnected()) {
     ctx.printLine("The command is not available in the current context. Please connnect first");
     return false;
   }
   return true;
 }