ゲームサーバーとの通信を行う Client 機能のルートクラスです。 [詳解]
#include <RendezVous/Core/src/Client/ServiceClient.h>
公開メンバ関数 | |
ServiceClient (qUnsignedInt32 uiServiceID) | |
virtual | ~ServiceClient () |
Only classes that inherit from the ServiceClient object should be destroyed and not the ServiceClient object itself. [詳解] | |
virtual qBool | Bind (Credentials *pCredentials) |
サービスを利用するための証明書を登録します。 [詳解] | |
Credentials * | GetCredentials () const |
Bind() された Credentials オブジェクトを取得します。 [詳解] | |
void | SetDefaultCredentials (Credentials *pCredentials) |
virtual qBool | Unbind () |
証明書の登録を解除します。 [詳解] | |
ゲームサーバーとの通信を行う Client 機能のルートクラスです。
nn::nex::ServiceClient::ServiceClient | ( | qUnsignedInt32 | uiServiceID | ) |
uiServiceID | The ServiceID of the service. |
|
virtual |
Only classes that inherit from the ServiceClient object should be destroyed and not the ServiceClient object itself.
ServiceClient objects should be destroyed before the client logs out of the lobby (via RendezVous::Logout). Refer to the Integration page for further details as to the correct order of calls.
void nn::nex::ServiceClient::SetDefaultCredentials | ( | Credentials * | pCredentials | ) |
pCredentials | The default Credentials for this service. |
|
virtual |
サービスを利用するための証明書を登録します。
サービスを利用するための証明書をセットします。 機能を利用する前にセットする必要があります。NgsFacade::Login() の非同期処理に成功後、 NgsFacade::GetCredentials() で取得した証明書を引数に指定してください。 Bind() で証明書をセットした後もう一度 Bind() を呼び出すと証明書を差し替える事ができます。
[in] | pCredentials | サービスにアクセスするための証明書。 |
true 成功。pCredentials が NULL でない場合は必ず成功します。
false pCredentials に NULL が指定された。
|
virtual |
Credentials* nn::nex::ServiceClient::GetCredentials | ( | ) | const |
Bind() された Credentials オブジェクトを取得します。