org.demac.event
Class MulticastEvent

java.lang.Object
  extended by org.demac.event.Event
      extended by org.demac.event.MulticastEvent
Direct Known Subclasses:
MulticastEventImpl, ProcessEvent, RemoteContextRequestEvent, RemoteServiceDiscoveryEvent

public abstract class MulticastEvent
extends Event

This class is the basis for all multicast events. It can either implement original multicast events or it can be the basis for an event container which converts non-multicast into multivast events.


Field Summary
static int ALL
          This constant indecates a global scope of the multicast event.
static int PERIPHERY
          This constant indecates a periphery scope of the multicast event.
 
Fields inherited from class org.demac.event.Event
GLOBAL_SCOPE, LOCAL_EVENT, LOCAL_SCOPE, PERIPERY_SCOPE, REMOTE_EVENT
 
Constructor Summary
MulticastEvent()
           
 
Method Summary
abstract  int getMulticastScope()
          Method to get the multicast scope of the event.
 
Methods inherited from class org.demac.event.Event
getEventHandle, getOriginHandle, getPayload, getPriority, getScope
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ALL

public static final int ALL
This constant indecates a global scope of the multicast event. The event will be send to all known devices.

See Also:
Constant Field Values

PERIPHERY

public static final int PERIPHERY
This constant indecates a periphery scope of the multicast event. The event will be send to all devices in the direct vicinity.

See Also:
Constant Field Values
Constructor Detail

MulticastEvent

public MulticastEvent()
Method Detail

getMulticastScope

public abstract int getMulticastScope()
Method to get the multicast scope of the event.