ALPNServerSelector
Dynamically inject an appropriate pipeline using ALPN negotiation.
Value parameters
- builder
-
builds the appropriate pipeline based on the negotiated protocol
- engine
-
the
SSLEnginein use for the connection - selector
-
selects the preferred protocol from the sequence of supported clients. May receive an empty sequence.
Attributes
- Source
- ALPNServerSelector.scala
- Graph
-
- Supertypes
-
trait TailStage[ByteBuffer]trait Tail[ByteBuffer]trait Stageclass Objecttrait Matchableclass AnyShow all
Members list
Value members
Concrete methods
Attributes
- Definition Classes
- Source
- ALPNServerSelector.scala
Start the stage, allocating resources etc.
Start the stage, allocating resources etc.
This method should not effect other stages by sending commands etc unless it creates them. It is not impossible that the stage will receive other commands besides Connected before this method is called. It is not impossible for this method to be called multiple times by misbehaving stages. It is therefore recommended that the method be idempotent.
Attributes
- Definition Classes
- Source
- ALPNServerSelector.scala
Inherited methods
Attributes
- Inherited from:
- Tail
- Source
- Stages.scala
Write a collection of outbound messages to the pipeline with a timeout
Write a collection of outbound messages to the pipeline with a timeout
Attributes
- Inherited from:
- Tail
- Source
- Stages.scala
Write a collection of outbound messages to the pipeline
Write a collection of outbound messages to the pipeline
Attributes
- Inherited from:
- Tail
- Source
- Stages.scala
Write a single outbound message to the pipeline with a timeout
Write a single outbound message to the pipeline with a timeout
Attributes
- Inherited from:
- Tail
- Source
- Stages.scala
Write a single outbound message to the pipeline
Attributes
- Inherited from:
- Tail
- Source
- Stages.scala
Find the next outbound Stage of type C, if it exists.
Find the next outbound Stage of type C, if it exists.
Attributes
- Inherited from:
- Tail
- Source
- Stages.scala
Find the next outbound Stage with the given name, if it exists.
Find the next outbound Stage with the given name, if it exists.
Attributes
- Inherited from:
- Tail
- Source
- Stages.scala
Handle basic startup and shutdown commands.
Handle basic startup and shutdown commands.
Value parameters
- cmd
-
a command originating from the channel
Attributes
- Inherited from:
- Stage
- Source
- Stages.scala
Replace all downstream Stages, including this Stage.
Replace all downstream Stages, including this Stage.
If this was a MidStage, its inbound element is notified via a Disconnected Command.
Attributes
- Inherited from:
- Tail
- Source
- Stages.scala
Insert the MidStage before this Stage
Shuts down the stage, deallocating resources, etc.
Shuts down the stage, deallocating resources, etc.
It will be called when the stage receives a Disconnected command unless inboundCommand is overridden. This method should not send or Disconnected commands.
It is possible that this will not be called due to failure of other stages to propagate shutdown commands. Conversely, it is also possible for this to be called more than once due to the reception of multiple shutdown commands. It is therefore recommended that the method be idempotent.
Attributes
- Inherited from:
- Stage
- Source
- Stages.scala
Inherited fields
Attributes
- Inherited from:
- Stage
- Source
- Stages.scala