Package dev.relism.flash.transport
Interface ConnectionProtocol
- All Known Implementing Classes:
Http1Connection,Http2Connection
public interface ConnectionProtocol
ALPN/preface detection (
ConnectionRunner), and dispatches to one implementation of
this interface. After that point neither implementation knows the other exists.-
Method Summary
Modifier and TypeMethodDescriptionvoidrun(ConnectionContext ctx) Runs this connection to completion.
-
Method Details
-
run
Runs this connection to completion. Returns when the connection should be closed.- Throws:
IOException
-