-
- Type Parameters:
L- the concrete type for the listener.
- All Known Implementing Classes:
EdgeBuilder,HttpBuilder,TcpBuilder,TlsBuilder
- Enclosing interface:
- Listener<C extends Connection>
public static interface Listener.Builder<L extends Listener>Represents a builder that can create newListenerinstances.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Llisten()Starts listening and accepting new connections.
-
-
-
Method Detail
-
listen
L listen() throws IOException
Starts listening and accepting new connections.- Returns:
- the concrete
Listenerinstance - Throws:
IOException- if an I/O error occurs
-
-