W3cubDocs

/Haxe Flash

NetGroup

package flash.net

extends EventDispatcher

Available on flash

Constructor

new(connection:NetConnection, groupspec:String)

Variables

read onlyestimatedMemberCount:Float

read onlyinfo:NetGroupInfo

read onlylocalCoverageFrom:String

read onlylocalCoverageTo:String

read onlyneighborCount:Float

receiveMode:String

replicationStrategy:String

Methods

addHaveObjects(startIndex:Float, endIndex:Float):Void

addMemberHint(peerID:String):Bool

addNeighbor(peerID:String):Bool

addWantObjects(startIndex:Float, endIndex:Float):Void

close():Void

convertPeerIDToGroupAddress(peerID:String):String

denyRequestedObject(requestID:Int):Void

post(message:Object):String

removeHaveObjects(startIndex:Float, endIndex:Float):Void

removeWantObjects(startIndex:Float, endIndex:Float):Void

sendToAllNeighbors(message:Object):String

sendToNearest(message:Object, groupAddress:String):String

sendToNeighbor(message:Object, sendMode:String):String

writeRequestedObject(requestID:Int, object:Object):Void

© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/flash/net/NetGroup.html