Listeners provide a method, listen, to expose a server on the
the given SocketAddress. serveTransport is called for each new
connection. It is furnished with a typed Transport representing
this connection.
The returned ListeningServer is used to inspect the server, and
is also used to shut it down.
Listeners provide a method,
listen
, to expose a server on the the given SocketAddress.serveTransport
is called for each new connection. It is furnished with a typedTransport
representing this connection.The returned
ListeningServer
is used to inspect the server, and is also used to shut it down.