
112
SERVER-SIDE ACTIONSCRIPT LANGUAGE REFERENCE FOR ADOBE MEDIA SERVER 5.0.1
Server-Side ActionScript Language Reference
Last updated 7/2/2013
If authorized, sends the message to all other members of the group. All messages must be unique; a message that is
identical to one posted earlier might not be propagated.
This method returns the messageID for this message, or null on error. The messageID is the hex of the SHA256 of the
raw bytes of the serialization of the message.
This method sends "NetGroup.Posting.Notify" to NetStream.onStatus() with two additional properties:
e.info.message, an Object containing the message, and e.info.messageID, a String containing the message's
messageID.
For more information, see Post messages to a groupin the Adobe Media Server Developer’s Guide.
Availability
Flash Media Server 4
Parameters
message An Object. The message to send to all other members of the group. The message can be an Object, an int, a
Number, or a String.
Returns
A String. The messageID of the message if posted, or null on error.
NetGroup.receiveMode
groupSpecifier.receiveMode
Specifies the routing receive mode for this node. Use a property of the NetGroupReceiveMode class. The value can be
either
NetGroupReceiveMode.EXACT or NetGroupReceiveMode.NEAREST. See the “NetGroupReceiveMode class”
on page 115 for more information.
Availability
Flash Media Server 4
NetGroup.removePermanentNeighborByName()
netGroup.removePermanentNeighborByName(rtmfpEndpointName:String);
Manually removes the "permanent" status for a neighbor by RTMFP endpoint name. This method call does not cause
an existing neighbor connection to be dropped immediately. However, if either end chooses to drop the connection at
a future point the drop is allowed.
Throws an error if any argument is of the wrong type or missing.
Availability
Flash Media Server 4.5
Parameters
rtmfpEndpointName A String. The name assigned to the RTMFP protocol stack at the target peer. See
NetConnection.rtmfpEndpointName.
Returns
A Boolean value. If successful, returns true. Otherwise, returns false.
Komentáře k této Příručce