Interface TNCEventReceiverIfc
- All Superinterfaces:
Remote
- All Known Implementing Classes:
AdminServerAPI
,AdminTNCCallbackHandler
,ASProxy
,TNCCallbackHandler
The TNCEventReceiverIfc interface extends java.rmi.Remote and defines methods
for receiving various types of events with respect to TNC callbacks.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onBulkEvents
(List<BaseEventIfc> events) Handles bulk events.void
onFreeUpTestResources
(String testId) Will be called when the sender is cleaning up the resources allocated for this test.void
onNodeOutputFileAvailable
(NodeOutputFileAvailableEvent nodeOutputFileAvailable) Handles changes in output file availabilityvoid
onNodeStatisticsChange
(List<NodeUpdateEvent> nodeData) Handles changes in node statistics.void
onNodeStatusChange
(NodeStatusUpdateEventIfc nodeStatus) Handles changes in node status.void
onRemoveReceiver
(String receiverId) Will be called when the sender is removing this listener enttirelyvoid
onRemoveTestListener
(String testId) Will be called when the sender is removing this listener from test mapping.void
Handles the event when a test is about to timeout.void
onTestStatusChange
(TestStatusChangeEventIfc testStatus) Handles changes in test status.
-
Method Details
-
onNodeStatisticsChange
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
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
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
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
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
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
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
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.
-