Interface ComHostCreator<C>
- Type Parameters:
C
- the communication layer type
- All Known Implementing Classes:
ComHostCreator.Default
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface ComHostCreator<C>
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
ComHostCreator.Default<C>
-
Method Summary
Modifier and Type Method Description ComHost<C>
createComHost(InetSocketAddress address, ComConnectionHandler<C> connectionHandler, ComConnectionAcceptor<C> connectionAcceptor)
static <C> ComHostCreator<C>
New()
-
Method Details
-
createComHost
ComHost<C> createComHost(InetSocketAddress address, ComConnectionHandler<C> connectionHandler, ComConnectionAcceptor<C> connectionAcceptor) -
New
-