nn::nex::NgsFacade Class

Syntax

class NgsFacade : public nn::nex::RendezVous

Description

Conducts login processes.

This class uses a single nn::os::Event object internally.

The Scheduler::Dispatch function must be called periodically as long as a NgsFacade object exists.

Member Functions

NgsFacade Constructor.
V ~NgsFacade Destructor.
Login Logs in.
LoginAndRequestAuthenticationToken Performs login processing and requests the authentication token of an independent server.
Logout Logs out.
TestConnectivity Runs a test of Internet connectivity.
GetLastLoginErrorCode Gets the network error code of an error that occurred during login. A valid value is set only when the NgsFacade::Login asynchronous process has failed.
GetNgsBridge Gets an interface for connecting with Pia.
GetGameServerTime Gets the game server time (UTC).(Inherited from RendezVous.)
GetServerTime Gets the game server time (UTC).(Inherited from RendezVous.)
IsConnected Gets the status of the connection to the game server. (Inherits BackEndServices.)
Terminate Terminates NgsFacade, and transitions to a state in which deletion is possible. (Inherits BackEndServices.)
GetCredentials Gets the Credentials (the certificate information for the client). (Inherits BackEndServices.)
RegisterNotificationEventHandler Registers a notification event handler. (Inherits BackEndServices.)
UnregisterNotificationEventHandler Deletes the registered notification event handler. (Inherits BackEndServices.)
S EnableLoginDataCache Caches a portion of the information needed for logging in, shortening the time it takes to log in thereafter. (Derived from BackEndServices ).
S DisableLoginDataCache Clears the cache storing information needed for logging in. (Derived from BackEndServices ).
S IsAbleLoginDataCache Determines whether the cache is enabled for the information needed to log in. (Derived from BackEndServices ).

Class Hierarchy

nn::nex::RootObject
  nn::nex::BackEndServices
    nn::nex::RendezVous
      nn::nex::NgsFacade

Revision History

2012/07/13
Removed the description of thread mode, which is not used.
2011/03/04
Added the nn::nex::NgsFacade::LoginAndRequestAuthenticationToken function.
2011/01/27
Initial version.

CONFIDENTIAL