org.demac.impl.event
Class MulticastEventImpl

java.lang.Object
  extended by org.demac.event.Event
      extended by org.demac.event.MulticastEvent
          extended by org.demac.impl.event.MulticastEventImpl

public class MulticastEventImpl
extends MulticastEvent

TODO


Field Summary
 
Fields inherited from class org.demac.event.MulticastEvent
ALL, PERIPHERY
 
Fields inherited from class org.demac.event.Event
GLOBAL_SCOPE, LOCAL_EVENT, LOCAL_SCOPE, PERIPERY_SCOPE, REMOTE_EVENT
 
Constructor Summary
MulticastEventImpl(Event ev, int scope)
           
 
Method Summary
 EventHandle getEventHandle()
          Method to get the type of the event.
 int getMulticastScope()
          Method to get the multicast scope of the event.
 DeviceHandle getOriginHandle()
          Method to get the origin device of the event.
 java.lang.Object getPayload()
          Method to get the payload of the event.
 int getPriority()
          Method to get the priority of the event.
 int getScope()
          Method to get the scope of the event.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MulticastEventImpl

public MulticastEventImpl(Event ev,
                          int scope)
Method Detail

getOriginHandle

public DeviceHandle getOriginHandle()
Description copied from class: Event
Method to get the origin device of the event.

Specified by:
getOriginHandle in class Event
Returns:
the type of this event
See Also:
Event.getOriginHandle()

getEventHandle

public EventHandle getEventHandle()
Description copied from class: Event
Method to get the type of the event.

Specified by:
getEventHandle in class Event
Returns:
the type of this event
See Also:
Event.getEventHandle()

getScope

public int getScope()
Description copied from class: Event
Method to get the scope of the event.

Specified by:
getScope in class Event
Returns:
the scope of this event
See Also:
Event.getScope()

getPriority

public int getPriority()
Description copied from class: Event
Method to get the priority of the event.

Specified by:
getPriority in class Event
Returns:
the priority of this event
See Also:
Event.getPriority()

getPayload

public java.lang.Object getPayload()
Description copied from class: Event
Method to get the payload of the event.

Specified by:
getPayload in class Event
Returns:
the payload of the event.
See Also:
Event.getPayload()

getMulticastScope

public int getMulticastScope()
Description copied from class: MulticastEvent
Method to get the multicast scope of the event.

Specified by:
getMulticastScope in class MulticastEvent
See Also:
MulticastEvent.getMulticastScope()