This method of the DirectPlay2 Class sets the name of a group after it has been created. A DPSYS_SETPLAYERORGROUPNAME system message will be sent to all the other players notifying them of the change, unless DPSESSION_NODATAMESSAGES is set in the session description.
public void setGroupName(int groupId, String friendlyName, String formalName, int flags);
groupId | The ID of the group for which the name is being set. |
friendlyName | The friendly name of the group. |
formalName | The formal name of the group. |
flags | If this parameter is set to 0, the name will be propagated to all the remote systems by using nonguaranteed message passing. See also: |