classTcpPipelineHandler[Ctx <: PipelineContext, Cmd, Evt] extends Actor with RequiresMessageQueue[UnboundedMessageQueueSemantics]
This actor wraps a pipeline and forwards commands and events between that
one and a Tcp connection actor. In order to inject commands into the
pipeline send an TcpPipelineHandler.Init.Command message to this actor; events will be sent
to the designated handler wrapped in TcpPipelineHandler.Init.Event messages.
When the designated handler terminates the TCP connection is aborted. When
the connection actor terminates this actor terminates as well; the designated
handler may want to watch this actor’s lifecycle.
IMPORTANT:
Proper function of this actor (and of other pipeline stages like TcpReadWriteAdapter
depends on the fact that stages handling TCP commands and events pass unknown
subtypes through unaltered. There are more commands and events than are declared
within the Tcp object and you can even define your own.
Linear Supertypes
RequiresMessageQueue[UnboundedMessageQueueSemantics], Actor, AnyRef, Any
This actor wraps a pipeline and forwards commands and events between that one and a Tcp connection actor. In order to inject commands into the pipeline send an TcpPipelineHandler.Init.Command message to this actor; events will be sent to the designated handler wrapped in TcpPipelineHandler.Init.Event messages.
When the designated handler terminates the TCP connection is aborted. When the connection actor terminates this actor terminates as well; the designated handler may want to watch this actor’s lifecycle.
IMPORTANT:
Proper function of this actor (and of other pipeline stages like TcpReadWriteAdapter depends on the fact that stages handling TCP commands and events pass unknown subtypes through unaltered. There are more commands and events than are declared within the Tcp object and you can even define your own.