public abstract static class TransportService.ListenKey extends Object
TransportService可以同时监听多个但不同的地址。 唯一标识每个listener一听关键是每一个时间创建startListening被调用。 listen键用于调用accept方法以接受与该侦听器的入站连接。 监听密钥有效,直到它被用作stopListening的参数,以阻止传输服务侦听地址。
TransportService
listener
startListening
accept
stopListening
ListenKey()
abstract String
address()
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public ListenKey()
public abstract String address()