org.mgif
Interface User


public interface User

Users are subscribers who have cellular accounts and can access the MGIF platform. The term user represents a specific person connecting to the system via a cellular phone or another communication device. The user is, therefore, an object that exists independently of any game. It is the user who places requests to the system to play a particular game. Normally a user is identified with a SIM (Subscriber Identity Module) or User Name and Password. Each user has an internal unique UserID on the platform. When the user is connected to a specific game, an instance of the Player class is created (by the Platform) for the user, and joined to that game in the form of a player object. It is therefore possible for multiple player objects to exist simultaneously for a particular user, when each player object is attached to a different game instance but controlled by the same user.


Method Summary
 long getUserId()
          Returns the system ID of the user.
 

Method Detail

getUserId

public long getUserId()
Returns the system ID of the user.
Returns:
The system ID of the user


Copyright © 2002 Mobile Games Interoperability Forum. All rights reserved.
This source code is protected by the legal notice posted at http://www.mgif.org/docs/notice.html