Examples of unBlockAll()


Examples of com.sissi.protocol.iq.block.UnBlock.unBlockAll()

   * @see com.sissi.pipeline.Input#input(com.sissi.context.JIDContext, com.sissi.protocol.Protocol)
   */
  @Override
  public boolean input(JIDContext context, Protocol protocol) {
    UnBlock ub = protocol.cast(UnBlock.class);
    return ub.unBlockAll() ? this.unblockAndReturn(context) : this.unblockAndReturn(context, ub.getItem());
  }

  private boolean unblockAndReturn(JIDContext context, List<BlockListItem> item) {
    for (BlockListItem each : item) {
      this.blockContext.unblock(context.jid(), super.build(each.getJid()));
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.