Package org.netxms.client.datacollection
Class ConditionDciInfo
java.lang.Object
org.netxms.client.datacollection.ConditionDciInfo
- All Implemented Interfaces:
NodeItemPair
DCI information used in condition objects
-
Constructor Summary
ConstructorsConstructorDescriptionConditionDciInfo(long nodeId, long dciId, int type, int function, int polls) ConditionDciInfo(NXCPMessage msg, long baseId) Create DCI information from NXCP messageCopy constructor -
Method Summary
Modifier and TypeMethodDescriptionlonggetDciId()Get DCI idintlongGet node IDintgetPolls()intgetType()voidsetFunction(int function) voidsetPolls(int polls)
-
Constructor Details
-
ConditionDciInfo
public ConditionDciInfo(long nodeId, long dciId, int type, int function, int polls) - Parameters:
nodeId- The node iddciId- The dci idtype- The typefunction- The functionpolls- The polls
-
ConditionDciInfo
Create DCI information from NXCP message- Parameters:
msg- The NXCPMessagebaseId- The base id
-
ConditionDciInfo
Copy constructor- Parameters:
src- source object
-
-
Method Details
-
getNodeId
public long getNodeId()Description copied from interface:NodeItemPairGet node ID- Specified by:
getNodeIdin interfaceNodeItemPair- Returns:
- the nodeId
-
getDciId
public long getDciId()Description copied from interface:NodeItemPairGet DCI id- Specified by:
getDciIdin interfaceNodeItemPair- Returns:
- the dciId
-
getType
public int getType()- Returns:
- the type
-
getFunction
public int getFunction()- Returns:
- the function
-
getPolls
public int getPolls()- Returns:
- the polls
-
setFunction
public void setFunction(int function) - Parameters:
function- the function to set
-
setPolls
public void setPolls(int polls) - Parameters:
polls- the polls to set
-