001package jmri.jmrix.jserialcomm; 002 003import jmri.jmrix.SerialPortEvent; 004 005/** 006 * Implementation of serial port event using jSerialComm. 007 * 008 * @author Daniel Bergqvist (C) 2024 009 */ 010public class JSerialPortEvent implements SerialPortEvent { 011 012 private final com.fazecast.jSerialComm.SerialPortEvent event; 013 014 JSerialPortEvent(com.fazecast.jSerialComm.SerialPortEvent event) { 015 this.event = event; 016 } 017 018 @Override 019 public int getEventType() { 020 return event.getEventType(); 021 } 022 023}