SocketServer

Constructor

new(aPort:Int)

Methods

Inherited Variables

Defined by SocketServerBase

@:value([])read onlyclients:Array<SocketClient> = []

@:value(false)isAbleToSend:Bool = false

@:value(true)@:allow(pony.net.SocketClientBase)isWithLength:Bool = true

read onlyonClose:Signal0

read onlyonData:Signal2<BytesInput, SocketClient>

read onlyonOpen:Signal0

read onlyonString:Signal2<String, SocketClient>

read onlyopened:Bool

Defined by Logable

read onlyerrorActive:Bool

read onlylogActive:Bool

read onlyonError:Signal2<String, Null<PosInfos>>

read onlyonLog:Signal2<String, Null<PosInfos>>

Inherited Methods

Defined by SocketServerBase

send(data:BytesOutput):Void

Sends a data to all the clients.

send2other(data:BytesOutput, exception:SocketClient):Void

Sends a data to all the clients except chosen one.

Defined by Logable

inlinebench(?name:String, f:() ‑> Void, ?p:Null<PosInfos>):Void

inlinebenchAsync(?name:String, f:() ‑> Void ‑> Void, ?p:Null<PosInfos>):Void

inlinebenchComplete(name:String, ?p:Null<PosInfos>):Void

inlinebenchStart(name:String, ?p:Null<PosInfos>):Void

inlineerror(s:String, ?p:Null<PosInfos>):Void

inlineerrorf(fn:() ‑> String, ?p:Null<PosInfos>):Void

inlinelistenError(l:ILogable, ?id:String):Void

inlinelistenErrorAndLog(l:ILogable, ?id:String):Void

inlinelistenLog(l:ILogable, ?id:String):Void

inlinelog(s:String, ?p:Null<PosInfos>):Void

inlinelogf(fn:() ‑> String, ?p:Null<PosInfos>):Void

inlinestopTraceAll():Void

inlinestopTraceErrors():Void

inlinestopTraceLogs():Void

inlinetraceAll():Void

@:value({ date : false, time : true })inlinetraceErrors(time:Bool = true, date:Bool = false):Void

@:value({ date : false, time : true })inlinetraceLogs(time:Bool = true, date:Bool = false):Void