Class ConnectionHistoryRecord

java.lang.Object
org.netxms.client.topology.ConnectionHistoryRecord

public class ConnectionHistoryRecord extends Object
Connection history record
  • Field Details

  • Constructor Details

    • ConnectionHistoryRecord

      public ConnectionHistoryRecord(NXCPMessage msg, long baseId)
      Create from NXCP message.
      Parameters:
      msg - NXCP message
      baseId - base field ID
  • Method Details

    • getRecordId

      public long getRecordId()
      Returns:
      the recordId
    • getTimestamp

      public Date getTimestamp()
      Returns:
      the timestamp
    • getMacAddress

      public MacAddress getMacAddress()
      Returns:
      the macAddress
    • getIpAddress

      public String 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

      public String getEventTypeText()
      Get event type as text
      Returns:
      event type text