Decrease visibility of internals to private[io], clean up imports
This commit is contained in:
parent
79accb810e
commit
570b02f569
9 changed files with 49 additions and 44 deletions
|
|
@ -7,21 +7,21 @@ package akka.io
|
|||
import java.net.InetSocketAddress
|
||||
import java.io.IOException
|
||||
import java.nio.channels.SocketChannel
|
||||
import java.nio.ByteBuffer
|
||||
import scala.annotation.tailrec
|
||||
import scala.util.control.NonFatal
|
||||
import scala.collection.immutable
|
||||
import scala.concurrent.duration._
|
||||
import akka.actor._
|
||||
import akka.util.ByteString
|
||||
import Tcp._
|
||||
import annotation.tailrec
|
||||
import java.nio.ByteBuffer
|
||||
import TcpSelector._
|
||||
|
||||
/**
|
||||
* Base class for TcpIncomingConnection and TcpOutgoingConnection.
|
||||
*/
|
||||
abstract class TcpConnection(val selector: ActorRef,
|
||||
val channel: SocketChannel,
|
||||
val tcp: TcpExt) extends Actor with ActorLogging with WithBufferPool {
|
||||
private[io] abstract class TcpConnection(val selector: ActorRef,
|
||||
val channel: SocketChannel,
|
||||
val tcp: TcpExt) extends Actor with ActorLogging with WithBufferPool {
|
||||
import tcp.Settings._
|
||||
var pendingWrite: PendingWrite = null
|
||||
|
||||
|
|
@ -277,4 +277,4 @@ abstract class TcpConnection(val selector: ActorRef,
|
|||
private[TcpConnection] case class CloseInformation(
|
||||
notificationsTo: Set[ActorRef],
|
||||
closedEvent: ConnectionClosed)
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue