NetGroup

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

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部