org.mgif
Interface Application


public interface Application

An Application is the installed code, or logic of a game. The Application is used for creating specific running instances - boards. Application defines shared state for all application instances. It also contains Application ID which is used to manage this state.


Method Summary
 long getApplicationId()
          Return ID of installed Application
 java.lang.String getApplicationName()
          Return name of Application type.
 long getMasterApplicationInstanceId()
          Returns ID of MasterApplicationInstance object.
 

Method Detail

getApplicationId

public long getApplicationId()
Return ID of installed Application
Returns:
The system ID of this Application type

getApplicationName

public java.lang.String getApplicationName()
Return name of Application type. Names of installed Applications should be unique,
Returns:
Name if Application.

getMasterApplicationInstanceId

public long getMasterApplicationInstanceId()
Returns ID of MasterApplicationInstance object. This ID can be used as regular ApplicationInstance ID for all practical purposes.
Returns:
The system ID of ApplicationInstance object which is master ApplicationInstance for this Application


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