IP*Works! V9

ipworks
Class XmppSubscriptionRequestEvent

java.lang.Object
  extended by java.util.EventObject
      extended by ipworks.XmppSubscriptionRequestEvent
All Implemented Interfaces:
java.io.Serializable

public class XmppSubscriptionRequestEvent
extends java.util.EventObject

This event fires when a subscription request is received.

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.

See Also:
Xmpp, Xmpp.SubscriptionRequestEvent, Serialized Form

Field Summary
 boolean accept
           
 java.lang.String domain
           
 java.lang.String from
           
 
Fields inherited from class java.util.EventObject
source
 
Method Summary
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

from

public java.lang.String from

domain

public java.lang.String domain

accept

public boolean accept

IP*Works! V9

Copyright (c) 2013 /n software inc. - All rights reserved.