org.appng.core.controller.messaging

## Class RequestNodeState

- java.lang.Object
- - org.appng.api.messaging.Event
  - - org.appng.core.controller.messaging.RequestNodeState

- All Implemented Interfaces:
    Serializable

      public class RequestNodeState
      extends Event

  An `Event` that triggers the `Receiver` to notify about the current status of the node by sending a `NodeEvent`.
  Author:
    Matthias Müller
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `RequestNodeState(String siteName)`
    `RequestNodeState(String siteName, String nodeId)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `perform(Environment environment, Site site)` Performs the event

    - ### Methods inherited from class org.appng.api.messaging.Event

      `getNodeId, getSiteName, setNodeId, toString`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### RequestNodeState

          public RequestNodeState(String siteName)

    - #### RequestNodeState

          public RequestNodeState(String siteName,
                                  String nodeId)

  - ### Method Detail

    - #### perform

          public void perform(Environment environment,
                              Site site)
                       throws InvalidConfigurationException

      Description copied from class: `Event`
      Performs the event
      Specified by:
        `perform` in class `Event`
      Parameters:
        `environment` - then `Environment` to use
        `site` - the `Site` where the event occurred
      Throws:
        `InvalidConfigurationException` - if there's a configuration error

Copyright © 2011–2023 aiticon GmbH. All rights reserved.