Package com.sissi.protocol.iq.block

Examples of com.sissi.protocol.iq.block.BlockList


    this.blockContext = blockContext;
  }

  @Override
  public boolean input(JIDContext context, Protocol protocol) {
    BlockList list = protocol.cast(BlockList.class).clear();
    for (JID each : this.blockContext.iBlockWho(context.jid())) {
      // Same domain
      list.add(new BlockListItem(each.domain(context.domain())));
    }
    context.write(list.parent().reply().setType(ProtocolType.RESULT));
    return true;
  }
View Full Code Here

TOP

Related Classes of com.sissi.protocol.iq.block.BlockList

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.