zoukankan      html  css  js  c++  java
  • javax.comm的API

    在javax.comm下有13个类和接口,分别是

    4个接口:

    CommDriver 可负载设备(the loadable device)驱动程序接口的一部分

    CommPortOwnershipListener 传递各种通讯端口的所有权事件

    ParallelPortEventListener 传递并行端口事件

    SerialPortEventListener 传递串行端口事件

    6个类 :

    CommPort 通讯端口

    CommPortIdentifier通讯端口管理

    ParallelPort 并行通讯端口

    ParallelPortEvent 并行端口事件

    SerialPort RS-232串行通讯端口

    SerialPortEvent 串行端口事件

    3个异常类:

    NoSuchPortException 当驱动程序不能找到指定端口时抛出

    PortInUseException 当碰到指定端口正在使用中时抛出

    UnsupportedCommOperationException 驱动程序不允许指定操作时抛出

  • 相关阅读:
    端口查看netstat -tunpl |grep 25
    解释一下查找出文件并删除find /var/log -type f -mtime +7 -ok rm {} ;
    2021.6.2
    2021.6.1
    2021.5.31
    2021.5.30(每周总结)
    2021.5.28
    2021.5.27
    2021.5.26
    2021.5.25
  • 原文地址:https://www.cnblogs.com/BelieveFish/p/10239298.html
Copyright © 2011-2022 走看看