Package one.microstream.com
Interface ComHostChannelAcceptor<C>
-
- All Known Implementing Classes:
ComHostChannelAcceptor.Wrapper
- 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 ComHostChannelAcceptor<C>
Gateway/relay to the actual application/framework communication logic. Potentially in another, maybe even dedicated thread.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
ComHostChannelAcceptor.Wrapper<C>
-
Method Summary
Modifier and Type Method Description void
acceptChannel(ComHostChannel<C> channel)
static <C> ComHostChannelAcceptor.Wrapper<C>
Wrap(Consumer<? super ComHostChannel<C>> acceptor)
-
-
-
Method Detail
-
acceptChannel
void acceptChannel(ComHostChannel<C> channel)
-
Wrap
static <C> ComHostChannelAcceptor.Wrapper<C> Wrap(Consumer<? super ComHostChannel<C>> acceptor)
-
-