it.jnrpe.plugins
Interface IPluginInterfaceEx

All Superinterfaces:
IPluginInterface
All Known Implementing Classes:
PluginBase, PluginProxy

public interface IPluginInterfaceEx
extends IPluginInterface

This interface must be implemented by all the plugins that needs to send events that must be intercepted by the JNRPE Server. If you plan to handle the events independently from JNRPE server, you can avoid implementing this interface.

Author:
Massimiliano Ziccardi

Method Summary
 void addListener(IJNRPEEventListener listener)
          Adds a new listener to the list of objects that will receive the messages sent by this class.
 void addListeners(Collection<IJNRPEEventListener> listeners)
          Adds a whole collection of listeners to the plugin.
 
Methods inherited from interface it.jnrpe.plugins.IPluginInterface
execute
 

Method Detail

addListener

void addListener(IJNRPEEventListener listener)
Adds a new listener to the list of objects that will receive the messages sent by this class.

Parameters:
listener - The new listener

addListeners

void addListeners(Collection<IJNRPEEventListener> listeners)
Adds a whole collection of listeners to the plugin.

Parameters:
listeners - The list of listeners


Copyright © 2014. All Rights Reserved.