TCPServer

@native @JSGlobal("chrome.sockets.tcpServer") @JSType
object TCPServer extends Object
class Object
trait Any
class Object
trait Matchable
class Any

Value members

Concrete methods

def close(socketId: SocketId, callback: UndefOr[Function0[_]]): Unit
def create(properties: UndefOr[SocketProperties], callback: Function1[CreateInfo, _]): Unit
def disconnect(socketId: SocketId, callback: UndefOr[Function0[_]]): Unit
def getInfo(socketId: SocketId, callback: Function1[SocketInfo, _]): Unit
def getSockets(callback: Function1[Array[SocketInfo], _]): Unit
def listen(socketId: SocketId, address: String, port: Int, backlog: UndefOr[Int], callback: Function1[Int, _]): Unit
def setPaused(socketId: SocketId, paused: Boolean, callback: UndefOr[Function0[_]]): Unit
def update(socketId: SocketId, properties: SocketProperties, callback: UndefOr[Function0[_]]): Unit

Inherited methods

def hasOwnProperty(v: String): Boolean
Inherited from
Object
def isPrototypeOf(v: Object): Boolean
Inherited from
Object
def propertyIsEnumerable(v: String): Boolean
Inherited from
Object
def toLocaleString(): String
Inherited from
Object
def valueOf(): Any
Inherited from
Object

Concrete fields

val onAccept: Event[Function1[AcceptEvent, _]]