模块  jdk.jdi

Class TransportService.ListenKey

  • Enclosing class:
    TransportService

    public abstract static class TransportService.ListenKey
    extends Object
    键听

    TransportService可以同时监听多个但不同的地址。 唯一标识每个listener一听关键是每一个时间创建startListening被调用。 listen键用于调用accept方法以接受与该侦听器的入站连接。 监听密钥有效,直到它被用作stopListening的参数,以阻止传输服务侦听地址。

    • 构造方法详细信息

      • ListenKey

        public ListenKey()
    • 方法详细信息

      • address

        public abstract String address()
        返回listen键的字符串表示形式。