Package io.bytestreams.exchange.core
Interface TransportFactory
- All Known Implementing Classes:
ClientSocketTransportFactory,ServerSocketTransportFactory
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
-
Method Details
-
create
Creates a new transport.- Returns:
- the new transport
- Throws:
IOException- if the transport cannot be created
-