W3cubDocs

/Haxe Flash

NetGroup

package flash.net

extends EventDispatcher

Available on flash

Constructor

new (connection:NetConnection, groupspec:String)

Variables

read only estimatedMemberCount:Float

read only info:NetGroupInfo

read only localCoverageFrom:String

read only localCoverageTo:String

read only neighborCount: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–2016 Haxe Foundation
Licensed under a MIT license.
http://api.haxe.org/flash/net/NetGroup.html