-
- 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 newListener
instances.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description L
listen()
Starts listening and accepting new connections.
-
-
-
Method Detail
-
listen
L listen() throws IOException
Starts listening and accepting new connections.- Returns:
- the concrete
Listener
instance - Throws:
IOException
- if an I/O error occurs
-
-