nn::nex::MatchMakingClient::GetSessionURLs Member Function

Syntax

qBool GetSessionURLs(
     ProtocolCallContext * pContext,
     GatheringID gid,
     qList< StationURL > * lstUrls
);

Parameters

Name Description
in pContext Call information.
in gid ID of the gathering to be obtained.
out lstUrls List of host URLs.

Return Values

Returns true on success and false on failure. If true is returned, lstURLs gives the list of session host station URLs.

Description

Gets the URL of the gathering host.

Gets the URL of the gathering host. This function can only be called by gathering participants. Pass the URL list obtained with this function to the SessionJoinSession function without processing.

The following results may be returned as a result of asynchronous operation. Use the application to handle these results.

QERROR(RendezVous, SessionVoid): The gathering does not exist.
QERROR(RendezVous, PermissionDenied): Not a participant in the gathering.

Revision History

2014/03/28
The description previously stated that the local station could call the function on a gathering where they are not a participant, but the function actually returned QERROR(RendezVous, SessionVoid). The function was revised to return QERROR(RendezVous, PermissionDenied) instead.
2012/10/23
Added a description about handling URLs obtained with this function.
2011/01/27
Initial version.

CONFIDENTIAL