net.rim.device.api.system
Interface GlobalEventListener

All Known Implementing Classes:
DatagramTransportBase, ServiceRecord, ServiceBook

public interface GlobalEventListener

The listener interface for receiving global events.


Method Summary
 void eventOccurred(long guid, int data0, int data1, Object object0, Object object1)
          Invoked when the specified global event occured.
 

Method Detail

eventOccurred

public void eventOccurred(long guid,
                          int data0,
                          int data1,
                          Object object0,
                          Object object1)
Invoked when the specified global event occured.

The eventOccurred method provides two object parameters and two integer parameters for supplying details about the event itself. The developer determines how the parameters will be used.

For example, if the event corresponded to sending or receiving a mail message, the object0 parameter might specify the mail message itself, while the data0 parameter might specify the identification details of the message, such as an address value.

Parameters:
guid - The GUID of the event.
data0 - Integer value specifying information associated with the event.
data1 - Integer value specifying information associated with the event.
object0 - Object specifying information associated with the event.
object1 - Object specifying information associated with the event.
Since:
JDE 4.0.2


Copyright 1999-2004 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Copyright 1993-2003 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A.
Copyright 2002-2003 Nokia Corporation All Rights Reserved.
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.