|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.microedition.midlet.MIDlet
ClientGui
The ClientGui class is the front-end GUI of the client application. It is handling all the user interaction and setting up connections to the Service Provider and the Supplicant. The connections to the different components are set up by the inner thread classes
Nested Class Summary | |
(package private) class |
ClientGui.ConnectionThread
The ConnectionThread class connects to Service Provider, receives a redirect, interprets and sets up a connection to the local Supplicant. |
(package private) class |
ClientGui.ServiceProviderClient
The ServiceProviderClient class is setting up a connection to the Service Provider, when the user is auhenticated by the Supplicant. |
(package private) class |
ClientGui.SupplicantClient
The SupplicantClient class is setting up the connection to the local Supplicant. |
Field Summary | |
private javax.microedition.lcdui.Form |
aForm
|
private javax.microedition.lcdui.Command |
balanceCommand
|
private javax.microedition.lcdui.Form |
banking
|
private javax.microedition.lcdui.Command |
connectCommand
|
private ClientGui.ConnectionThread |
connectionThread
|
private javax.microedition.lcdui.Display |
display
|
private javax.microedition.lcdui.Command |
exitCommand
|
private javax.microedition.io.HttpConnection |
httpConn
|
private java.io.InputStream |
is
|
private javax.microedition.lcdui.TextField |
pin
|
private javax.microedition.lcdui.Form |
pinForm
|
private java.lang.String |
sessionID
|
private ClientGui.ServiceProviderClient |
spClient
|
private javax.microedition.lcdui.Command |
submitCommand
|
private ClientGui.SupplicantClient |
supplicantClient
|
private java.lang.String |
URL
|
Fields inherited from class javax.microedition.midlet.MIDlet |
|
Constructor Summary | |
ClientGui()
The constructor |
Method Summary | |
void |
commandAction(javax.microedition.lcdui.Command c,
javax.microedition.lcdui.Displayable s)
This is where the commands are handeled |
void |
destroyApp(boolean unconditional)
|
void |
pauseApp()
|
private void |
showPinForm(javax.microedition.lcdui.Display display)
Changes the current display to the "PIN input form" |
void |
startApp()
Standard method required on J2ME MIDlets This is the method starting up the application from the AMS |
Methods inherited from class javax.microedition.midlet.MIDlet |
checkPermission, getAppProperty, notifyDestroyed, notifyPaused, platformRequest, resumeRequest |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private javax.microedition.lcdui.Command exitCommand
private javax.microedition.lcdui.Command submitCommand
private javax.microedition.lcdui.Command connectCommand
private javax.microedition.lcdui.Command balanceCommand
private javax.microedition.lcdui.Display display
private javax.microedition.lcdui.Form aForm
private javax.microedition.lcdui.Form pinForm
private javax.microedition.lcdui.Form banking
private javax.microedition.lcdui.TextField pin
private java.io.InputStream is
private javax.microedition.io.HttpConnection httpConn
private ClientGui.ServiceProviderClient spClient
private ClientGui.ConnectionThread connectionThread
private ClientGui.SupplicantClient supplicantClient
private java.lang.String sessionID
private java.lang.String URL
Constructor Detail |
public ClientGui()
Method Detail |
public void startApp()
public void pauseApp()
public void destroyApp(boolean unconditional)
public void commandAction(javax.microedition.lcdui.Command c, javax.microedition.lcdui.Displayable s)
commandAction
in interface javax.microedition.lcdui.CommandListener
private void showPinForm(javax.microedition.lcdui.Display display)
display
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |