efficom.runningjoe.services
Class SoapManager

java.lang.Object
  extended by efficom.runningjoe.services.SoapManager

public class SoapManager
extends java.lang.Object


Method Summary
 ArrayOfScore GetHighScores()
          Retrieving high scores from the web service
 ArrayOfString GetHighScoresStrings()
          Retrieving high scores from the web service
static SoapManager getInstance()
           
 boolean getIsConnected()
           
 java.lang.String Login(java.lang.String prmName, java.lang.String prmPassword)
          Try to log the user into the server
 java.lang.String RecordScore(int score)
          Try to record the score on the server
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static final SoapManager getInstance()

getIsConnected

public boolean getIsConnected()
Returns:
Return true if the client is connected

Login

public java.lang.String Login(java.lang.String prmName,
                              java.lang.String prmPassword)
Try to log the user into the server

Parameters:
Name - of the player
Password - of the player
Returns:
Success: null or error description

RecordScore

public java.lang.String RecordScore(int score)
Try to record the score on the server

Parameters:
The - score value
Returns:
Success: null, Error: description

GetHighScores

public ArrayOfScore GetHighScores()
Retrieving high scores from the web service

Returns:
Array of score

GetHighScoresStrings

public ArrayOfString GetHighScoresStrings()
Retrieving high scores from the web service

Returns:
Array of score