Package org.netxms.client.topology
Class ConnectionHistoryRecord
java.lang.Object
org.netxms.client.topology.ConnectionHistoryRecord
Connection history record
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final int -
Constructor Summary
ConstructorsConstructorDescriptionConnectionHistoryRecord(NXCPMessage msg, long baseId) Create from NXCP message. -
Method Summary
Modifier and TypeMethodDescriptionintGet event type as textlonglonglonglonglonglongint
-
Field Details
-
CONNECT
public static final int CONNECT- See Also:
-
DISCONNECT
public static final int DISCONNECT- See Also:
-
MOVE
public static final int MOVE- See Also:
-
-
Constructor Details
-
ConnectionHistoryRecord
Create from NXCP message.- Parameters:
msg- NXCP messagebaseId- base field ID
-
-
Method Details
-
getRecordId
public long getRecordId()- Returns:
- the recordId
-
getTimestamp
- Returns:
- the timestamp
-
getMacAddress
- Returns:
- the macAddress
-
getIpAddress
- Returns:
- the ipAddress
-
getNodeId
public long getNodeId()- Returns:
- the nodeId
-
getSwitchId
public long getSwitchId()- Returns:
- the switchId
-
getInterfaceId
public long getInterfaceId()- Returns:
- the interfaceId
-
getVlanId
public int getVlanId()- Returns:
- the vlanId
-
getEventType
public int getEventType()- Returns:
- the eventType
-
getOldSwitchId
public long getOldSwitchId()- Returns:
- the oldSwitchId
-
getOldInterfaceId
public long getOldInterfaceId()- Returns:
- the oldInterfaceId
-
getEventTypeText
Get event type as text- Returns:
- event type text
-