IP*Works! V9 - Online Help
IP*Works! V9
Questions / Feedback?

SubscriptionRequest Event

This event fires when a subscription request is received.

Syntax

public void fireSubscriptionRequest(XmppSubscriptionRequestEvent event);

public class XmppSubscriptionRequestEvent {
  public String from;
  public String domain;
  public boolean accept;
}

Remarks

This event fires whenever another XMPP entity requests a subscription to this entity's presence. The XMPP bean will parse the requesting entity's Jabber ID into the From and Domain parameters. There is no need to know which resource sent the request, since all instances of the requesting entity's account have access to the same roster.

Accept will initially be false, but setting it to true will cause the XMPP bean to allow the remote subscription. Otherwise, the XMPP bean will actively deny the subscription request.

 
 
Copyright (c) 2018 /n software inc. - All rights reserved.
Build 9.0.6635.0