Class VserportChangeEvent

All Implemented Interfaces:
Future<Void>, Associator, Eligible

public class VserportChangeEvent extends MonitorEvent
Signals a virtual serial port’s open state change.
  • Constructor Details

    • VserportChangeEvent

      public VserportChangeEvent(MonitorEvent.Kind kind, com.fasterxml.jackson.databind.JsonNode data)
      Initializes a new instance.
      Parameters:
      kind - the kind
      data - the data
  • Method Details

    • id

      public String id()
      Return the channel’s id.
      Returns:
      the string
    • isOpen

      public boolean isOpen()
      Returns the open state of the port.
      Returns:
      true, if is open