Interface PollingTarget
- All Known Implementing Classes:
- AbstractNode,- AccessPoint,- BaseBusinessService,- BusinessService,- BusinessServicePrototype,- Circuit,- Cluster,- Collector,- Container,- Dashboard,- DashboardBase,- DashboardTemplate,- NetworkMap,- Node,- Sensor,- Template,- WirelessDomain
public interface PollingTarget
Common interface for all objects that can be polled
- 
Method SummaryModifier and TypeMethodDescriptionbooleanIdentify if this object can have NetXMS agent.booleanIdentify if this object can have network interfaces.booleanIdentify if this object can have poller node property.booleanIdentify if this object can use EtherNet/IP for communications.booleanIdentify if this object can use Modbus for communications.Get agent cache mode.intgetFlags()Get object flags.intGet ifXTable usage policy.longGet object ID.Get object namelongGet poller node ID.Get poll states.
- 
Method Details- 
getObjectIdlong getObjectId()Get object ID.- Returns:
- object ID
 
- 
getObjectNameObject getObjectName()Get object name- Returns:
- object name
 
- 
getIfXTablePolicyint getIfXTablePolicy()Get ifXTable usage policy.- Returns:
- ifXTable usage policy
 
- 
getAgentCacheModeAgentCacheMode getAgentCacheMode()Get agent cache mode.- Returns:
- agent cache mode
 
- 
getFlagsint getFlags()Get object flags.- Returns:
- object flags
 
- 
getPollerNodeIdlong getPollerNodeId()Get poller node ID.- Returns:
- poller node ID or 0 if object cannot have poler node
 
- 
canHaveAgentboolean canHaveAgent()Identify if this object can have NetXMS agent.- Returns:
- true if this object can have NetXMS agent
 
- 
canHaveInterfacesboolean canHaveInterfaces()Identify if this object can have network interfaces.- Returns:
- true if this object can have network interfaces
 
- 
canHavePollerNodeboolean canHavePollerNode()Identify if this object can have poller node property.- Returns:
- true if this object can have poller node property
 
- 
canUseEtherNetIPboolean canUseEtherNetIP()Identify if this object can use EtherNet/IP for communications.- Returns:
- true if this object can use EtherNet/IP for communications
 
- 
canUseModbusboolean canUseModbus()Identify if this object can use Modbus for communications.- Returns:
- true if this object can use Modbus for communications
 
- 
getPollStatesPollState[] getPollStates()Get poll states.- Returns:
- array of poll states or null if object doesn't have any
 
 
-