GroupControl

[adoberuntime]Flash Media Server 4.5[/adoberuntime]

The GroupControl class represents an association between a remote peer and a NetGroup that it has joined.

Use the GroupControl class to distribute peer lookup requests across multiple servers.

GroupControl.addNeighbor()

gc.addNeighbor(peerID:String);

Directs the remote peer to connect directly to the specified peerID, which must already be in this group, and adds it as a neighbor.

This method advises the remote peer to connect to the specified neighbor. The connection process is separate and happens only after this method is called.

Throws an error if any arguments are omitted or if arguments are the wrong type.

Available

Flash Media Server 4.5

Parameters

peerID

A String. The peerID to connect to.

Returns

A Boolean value, true if the add neighbor request was dispatched to the remote peer, false otherwise.

GroupControl.addMemberHint()

gc.addMemberHint(peerID:String);

Directs the remote peer to add a record specifying that peerID is a member of the group. An immediate connection to it is attempted only if it is needed for the topology.

Throws an error if any arguments are omitted or if arguments are of the wrong type.

Available

Flash Media Server 4.5

Parameters

peerID

A String. The peerID to add to the set of potential neighbors.

Returns

A Boolean value, true if the add member hint request was dispatched to the remote peer, false otherwise.

GroupControl.groupspecDigest

Read-only; The digest of the canonical groupspec, which securely identifies the group this client has joined.

Available

Flash Media Server 4.5

 Adobe

Get help faster and easier

New user?

Adobe MAX 2024

Adobe MAX
The Creativity Conference

Oct 14–16 Miami Beach and online

Adobe MAX

The Creativity Conference

Oct 14–16 Miami Beach and online

Adobe MAX 2024

Adobe MAX
The Creativity Conference

Oct 14–16 Miami Beach and online

Adobe MAX

The Creativity Conference

Oct 14–16 Miami Beach and online