Package org.netxms.client.topology
Class ConnectionPoint
java.lang.Object
org.netxms.client.topology.ConnectionPoint
Connection point information
-
Constructor Summary
ConstructorsConstructorDescriptionConnectionPoint(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 Summary
Modifier 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
-
ConnectionPoint
Create connection point information from NXCP message- Parameters:
msg- NXCP message
-
ConnectionPoint
Create connection point information from NXCP message- Parameters:
msg- NXCP messagebase- NXCP message field base for lists
-
ConnectionPoint
public ConnectionPoint(long localNodeId, long localInterfaceId) Create unconnected connection point information- Parameters:
localNodeId- Local node idlocalInterfaceId- Local interface id
-
ConnectionPoint
Create not found connection point- Parameters:
macAddress- MAC address search was done for
-
-
Method Details
-
getNodeId
public long getNodeId()- Returns:
- the nodeId
-
setNodeId
public void setNodeId(long nodeId) Set node ID- Parameters:
nodeId- node id
-
getInterfaceId
public long getInterfaceId()- Returns:
- the interfaceId
-
setInterfaceId
public void setInterfaceId(long interfaceId) Set interface ID- Parameters:
interfaceId- interface id
-
getInterfaceIndex
public int getInterfaceIndex()- Returns:
- the interfaceIndex
-
setInterfaceIndex
public void setInterfaceIndex(int interfaceIndex) Set interface insex- Parameters:
interfaceIndex- interface index
-
getLocalNodeId
public long getLocalNodeId()- Returns:
- the localNodeId
-
getLocalInterfaceId
public long getLocalInterfaceId()- Returns:
- the localInterfaceId
-
getLocalMacAddress
- Returns:
- the localMacAddress
-
getData
Get user data.- Returns:
- user data
-
setData
Set user data.- Parameters:
data- user data
-
getLocalIpAddress
- Returns:
- the localIpAddress
-
getType
- Returns:
- the type
-
isHistorical
public boolean isHistorical()- Returns:
- the historical
-
setHistorical
public void setHistorical(boolean historical) - Parameters:
historical- the historical to set
-
toString
-