NioTCP

channels.NioTCP
class NioTCP

loopSelection and runSelection should not be called from multiple threads at the same time. Only one thread should send on a single connection at the same time.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Type members

Classlikes

class NioTCPConnection(clientChannel: SocketChannel) extends Connection[MessageBuffer]

Attributes

Supertypes
class Object
trait Matchable
class Any

Value members

Concrete methods

def connect(bindsocket: () => SocketChannel): LatentConnection[MessageBuffer]
def defaultServerSocketChannel(socketAddress: SocketAddress): () => ServerSocketChannel
def defaultSocketChannel(socketAddress: SocketAddress): () => SocketChannel
def handleConnection(clientChannel: SocketChannel, incoming: Receive[MessageBuffer]): NioTCPConnection
def listen(bindsocket: () => ServerSocketChannel): LatentConnection[MessageBuffer]
def loopSelection(abort: Abort): Unit
def readN(n: Int, clientChannel: SocketChannel): ByteBuffer
def runSelection(): Unit

Concrete fields

val selector: Selector