Examples of PresenceWrapRelation


Examples of com.sissi.ucenter.relation.muc.impl.PresenceWrapRelation

public class PresenceMucJoinProcessor extends ProxyProcessor {

  @Override
  public boolean input(JIDContext context, Protocol protocol) {
    JID group = super.build(protocol.getTo());
    super.establish(context.jid(), new PresenceWrapRelation(group, protocol.cast(Presence.class).findField(XMuc.NAME, XMuc.class), super.ourRelation(context.jid(), group).cast(MucRelation.class)));
    return true;
  }
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.