Enforce mailbox types on System actors. See #3273
This commit is contained in:
parent
d6ff7166d7
commit
539df2e98a
27 changed files with 123 additions and 49 deletions
|
|
@ -17,14 +17,17 @@ import akka.util.ByteString
|
|||
import akka.io.Inet.SocketOption
|
||||
import akka.io.Tcp._
|
||||
import akka.io.SelectionHandler._
|
||||
import akka.dispatch.{ UnboundedMessageQueueSemantics, RequiresMessageQueue }
|
||||
|
||||
/**
|
||||
* Base class for TcpIncomingConnection and TcpOutgoingConnection.
|
||||
*
|
||||
* INTERNAL API
|
||||
*/
|
||||
private[io] abstract class TcpConnection(val channel: SocketChannel,
|
||||
val tcp: TcpExt) extends Actor with ActorLogging {
|
||||
private[io] abstract class TcpConnection(
|
||||
val channel: SocketChannel,
|
||||
val tcp: TcpExt)
|
||||
extends Actor with ActorLogging with RequiresMessageQueue[UnboundedMessageQueueSemantics] {
|
||||
import tcp.Settings._
|
||||
import tcp.bufferPool
|
||||
import TcpConnection._
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue