public abstract class Event extends Object implements Serializable
Sender,
Receiver,
Site.sendEvent(Event),
Serialized Form| Modifier | Constructor and Description |
|---|---|
protected |
Event() |
protected |
Event(String siteName)
Creates a new event
|
| Modifier and Type | Method and Description |
|---|---|
String |
getNodeId()
Returns the node id of this event, i.e.
|
String |
getSiteName()
Returns the name of the origin
Site this event was created for |
abstract void |
perform(Environment environment,
Site site)
Performs the event
|
protected void |
setNodeId(String nodeId) |
String |
toString() |
public String getNodeId()
Serializer when serializing the event.protected void setNodeId(String nodeId)
public String getSiteName()
Site this event was created forSitepublic abstract void perform(Environment environment, Site site) throws InvalidConfigurationException, BusinessException
environment - then Environment to usesite - the Site where the event occurredInvalidConfigurationException - if there's a configuration errorBusinessException - if an error occurs while performing the eventCopyright © 2011–2020 aiticon GmbH. All rights reserved.