de.heineken.studienarbeit

Class Information


public class Information
extends java.lang.Object

The class Information builds the elements for the linked list

Field Summary

(package private) String
aid
(package private) int
gesamt
(package private) int
puffer
(package private) int
richtig
(package private) int
rzeit

Constructor Summary

Information(String aid, int Puffer)
Konstruktor of the class Information

Method Summary

int
punkte()
amount of correct attempts measured against the amout of all attempts (in percent)
String
senden(String username, String pw)
Senden creates a new Sendeprotokoll an corrects the time if required Data is being sent to the specified server
void
zaehlefalsch()
Used if I have done a wrong attempt
void
zaehlerichtig(int neuzeit)
Used if there is a correct answer for an attempt

Field Details

aid

(package private)  String aid

gesamt

(package private)  int gesamt

puffer

(package private)  int puffer

richtig

(package private)  int richtig

rzeit

(package private)  int rzeit

Constructor Details

Information

public Information(String aid,
                   int Puffer)
Konstruktor of the class Information
Parameters:
aid - Applet ID
Puffer - buffersize

Method Details

punkte

public int punkte()
amount of correct attempts measured against the amout of all attempts (in percent)
Returns:
the per cent number

senden

public String senden(String username,
                     String pw)
Senden creates a new Sendeprotokoll an corrects the time if required Data is being sent to the specified server
Parameters:
username - name of the user
pw - Password
Returns:
returns the error if issued

zaehlefalsch

public void zaehlefalsch()
Used if I have done a wrong attempt

zaehlerichtig

public void zaehlerichtig(int neuzeit)
Used if there is a correct answer for an attempt
Parameters: