Interface TNCEventReceiverIfc

All Superinterfaces:
Remote
All Known Implementing Classes:
AdminServerAPI, AdminTNCCallbackHandler, ASProxy, TNCCallbackHandler

public interface TNCEventReceiverIfc extends Remote
The TNCEventReceiverIfc interface extends java.rmi.Remote and defines methods for receiving various types of events with respect to TNC callbacks.
  • Method Details

    • onNodeStatisticsChange

      void onNodeStatisticsChange(List<NodeUpdateEvent> nodeData) throws RemoteException
      Handles changes in node statistics.
      Parameters:
      nodeData - A List of NodeUpdateEvent objects representing the updated node statistics.
      Throws:
      RemoteException - If a remote exception occurs during the handling of node statistics changes.
    • onBulkEvents

      void onBulkEvents(List<BaseEventIfc> events) throws RemoteException
      Handles bulk events.
      Parameters:
      events - A List of BaseEventIfc objects representing the bulk events to be processed.
      Throws:
      RemoteException - If a remote exception occurs during the handling of bulk events.
    • onNodeStatusChange

      void onNodeStatusChange(NodeStatusUpdateEventIfc nodeStatus) throws RemoteException
      Handles changes in node status.
      Parameters:
      nodeStatus - The NodeStatusUpdateEventIfc object representing the updated node status.
      Throws:
      RemoteException - If a remote exception occurs during the handling of node status changes.
    • onTestStatusChange

      void onTestStatusChange(TestStatusChangeEventIfc testStatus) throws RemoteException
      Handles changes in test status.
      Parameters:
      nodeStatus - The TestStatusChangeEventIfc object representing the updated test status.
      Throws:
      RemoteException - If a remote exception occurs during the handling of node status changes.
    • onNodeOutputFileAvailable

      void onNodeOutputFileAvailable(NodeOutputFileAvailableEvent nodeOutputFileAvailable) throws RemoteException
      Handles changes in output file availability
      Parameters:
      nodeOutputFileAvailable - The NodeOutputFileAvailableEvent object containing the output files data
      Throws:
      RemoteException - If a remote exception occurs during the handling of node status changes.
    • onTestAboutToTimeout

      void onTestAboutToTimeout(TestTimeoutReminderEvent event) throws RemoteException
      Handles the event when a test is about to timeout.
      Parameters:
      event - The TestTimeoutReminderEvent containing information about the test about to timeout.
      Throws:
      RemoteException - If a remote exception occurs during the handling of node status changes.
    • onFreeUpTestResources

      void onFreeUpTestResources(String testId) throws RemoteException
      Will be called when the sender is cleaning up the resources allocated for this test.
      Parameters:
      testId - The identifier of the test being cleaned up.
      Throws:
      RemoteException - If there is a communication-related exception.
    • onRemoveTestListener

      void onRemoveTestListener(String testId) throws RemoteException
      Will be called when the sender is removing this listener from test mapping.
      Parameters:
      testId - The identifier of the test being cleaned up.
      Throws:
      RemoteException - If there is a communication-related exception.
    • onRemoveReceiver

      void onRemoveReceiver(String receiverId) throws RemoteException
      Will be called when the sender is removing this listener enttirely
      Parameters:
      testId - The identifier of the test being cleaned up.
      Throws:
      RemoteException - If there is a communication-related exception.