AdventNet Web NMS 4 DMS API Specification

com.adventnet.nms.extranet.remote.communication.fw
Interface ModuleListener
public interface ModuleListener

Registered implementation class of this interface is responsible to handle all the data with the registered module ID coming from DMS or Central Server. To listen to a custom module's data, implementation of this interface has to be registered with the framework.


Method Summary
 int getModuleID()
          Returns the module ID.
 void setRequest(DataObject dataObject)
          This method will be invoked by the communication framework when DataObject with registered module ID is received from the other end (DMS or Central Server).
 void shutDown()
          Shutdown notification is given to this method, to take necessary actions.
 

Method Detail

setRequest

public void setRequest(DataObject dataObject)
This method will be invoked by the communication framework when DataObject with registered module ID is received from the other end (DMS or Central Server).
Parameters:
dataObject - DataObject sent by the communication framework.

getModuleID

public int getModuleID()
Returns the module ID.
Returns:
The module ID.

shutDown

public void shutDown()
Shutdown notification is given to this method, to take necessary actions.

AdventNet Web NMS 4 DMS API Specification