You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We must create Transport constructors for HTTP and TChannel, that will eventually implement peer.Transport, but for now they will need to implement transport.Transport for lifecycle methods Start() Stop(). We must have the Dispatcher collect the transports and manage their lifecycle. Inbounds and outbounds need to expose lists of Transports() that they use, so the dispatcher can collect them.
With this change, it becomes possible to consolidate dependency options on the Transport, and for each transport protocol to manage its global lifecycle and inbound/outbound lifecycles separately. For example HTTP needs to listen in inbound.Start(), but TChannel with an existing channel needs to close in transport.Stop(). Lifecycle methods should block until completion.
The text was updated successfully, but these errors were encountered:
We must create Transport constructors for HTTP and TChannel, that will eventually implement peer.Transport, but for now they will need to implement transport.Transport for lifecycle methods Start() Stop(). We must have the Dispatcher collect the transports and manage their lifecycle. Inbounds and outbounds need to expose lists of Transports() that they use, so the dispatcher can collect them.
With this change, it becomes possible to consolidate dependency options on the Transport, and for each transport protocol to manage its global lifecycle and inbound/outbound lifecycles separately. For example HTTP needs to listen in inbound.Start(), but TChannel with an existing channel needs to close in transport.Stop(). Lifecycle methods should block until completion.
The text was updated successfully, but these errors were encountered: