Package org.netxms.client.topology
Class ConnectionPoint
java.lang.Object
org.netxms.client.topology.ConnectionPoint
Connection point information
- 
Constructor SummaryConstructorsConstructorDescriptionConnectionPoint(long localNodeId, long localInterfaceId) Create unconnected connection point informationConnectionPoint(MacAddress macAddress) Create not found connection pointCreate connection point information from NXCP messageConnectionPoint(NXCPMessage msg, long base) Create connection point information from NXCP message
- 
Method SummaryModifier and TypeMethodDescriptiongetData()Get user data.longintlonglonglonggetType()booleanvoidSet user data.voidsetHistorical(boolean historical) voidsetInterfaceId(long interfaceId) Set interface IDvoidsetInterfaceIndex(int interfaceIndex) Set interface insexvoidsetNodeId(long nodeId) Set node IDtoString()
- 
Constructor Details- 
ConnectionPointCreate connection point information from NXCP message- Parameters:
- msg- NXCP message
 
- 
ConnectionPointCreate connection point information from NXCP message- Parameters:
- msg- NXCP message
- base- NXCP message field base for lists
 
- 
ConnectionPointpublic ConnectionPoint(long localNodeId, long localInterfaceId) Create unconnected connection point information- Parameters:
- localNodeId- Local node id
- localInterfaceId- Local interface id
 
- 
ConnectionPointCreate not found connection point- Parameters:
- macAddress- MAC address search was done for
 
 
- 
- 
Method Details- 
getNodeIdpublic long getNodeId()- Returns:
- the nodeId
 
- 
setNodeIdpublic void setNodeId(long nodeId) Set node ID- Parameters:
- nodeId- node id
 
- 
getInterfaceIdpublic long getInterfaceId()- Returns:
- the interfaceId
 
- 
setInterfaceIdpublic void setInterfaceId(long interfaceId) Set interface ID- Parameters:
- interfaceId- interface id
 
- 
getInterfaceIndexpublic int getInterfaceIndex()- Returns:
- the interfaceIndex
 
- 
setInterfaceIndexpublic void setInterfaceIndex(int interfaceIndex) Set interface insex- Parameters:
- interfaceIndex- interface index
 
- 
getLocalNodeIdpublic long getLocalNodeId()- Returns:
- the localNodeId
 
- 
getLocalInterfaceIdpublic long getLocalInterfaceId()- Returns:
- the localInterfaceId
 
- 
getLocalMacAddress- Returns:
- the localMacAddress
 
- 
getDataGet user data.- Returns:
- user data
 
- 
setDataSet user data.- Parameters:
- data- user data
 
- 
getLocalIpAddress- Returns:
- the localIpAddress
 
- 
getType- Returns:
- the type
 
- 
isHistoricalpublic boolean isHistorical()- Returns:
- the historical
 
- 
setHistoricalpublic void setHistorical(boolean historical) - Parameters:
- historical- the historical to set
 
- 
toString
 
-