net.groboclown.eventbus.v2.rmi
Class RemoteEventBusEvent

java.lang.Object
  |
  +--net.groboclown.eventbus.v2.EventBusEvent
        |
        +--net.groboclown.eventbus.v2.rmi.RemoteEventBusEvent
All Implemented Interfaces:
Serializable

public class RemoteEventBusEvent
extends EventBusEvent

The event object which is passed around.

The source of the event should be a Remoteable object - the network face of the object (if one exists), so that the event can be sent over the network correctly.

Version:
Alpha 0.9.0
Author:
Matt Albrecht
See Also:
Serialized Form

Field Summary
(package private) static long serialVersionUID
           
private  LinkedList visitedBusses
           
 
Fields inherited from class net.groboclown.eventbus.v2.EventBusEvent
eventData, eventSource
 
Constructor Summary
RemoteEventBusEvent()
          Deprecated. this isn't really deprecated, but a class should never use this method explicitly.
RemoteEventBusEvent(EventBusEvent ebe, String currentBusId)
          Real constructor.
 
Method Summary
 boolean hasBeenTo(String busId)
           
 
Methods inherited from class net.groboclown.eventbus.v2.EventBusEvent
getEventData, getEventSource, readObject, toString, writeObject
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

serialVersionUID

static final long serialVersionUID

visitedBusses

private LinkedList visitedBusses
Constructor Detail

RemoteEventBusEvent

public RemoteEventBusEvent()
Deprecated. this isn't really deprecated, but a class should never use this method explicitly.

Default constructor - should only be used for serialization.

RemoteEventBusEvent

public RemoteEventBusEvent(EventBusEvent ebe,
                           String currentBusId)
Real constructor. Only called by EventBus and distributors.
Parameters:
data - may be null.
Method Detail

hasBeenTo

public boolean hasBeenTo(String busId)


Written under the LGPL