core
Class Controller

java.lang.Object
  extended bycore.Controller

public class Controller
extends java.lang.Object

This class binds all the classes together by parsing inputStreams and interpreting data

Author:
Håvard Holje

Constructor Summary
Controller(ServiceSupplicant midlet)
           
 
Method Summary
 void handleIdpResponse(java.lang.String response)
          Takes care of the auth response from IDP.
 void handleInputStream(java.lang.String input, int type)
          Catch incoming data from clientApp and handle them properly
 void handleSIMResponse(int type, java.lang.String response)
          This method interprets the response from the SIMSupplicant, sets the state and calls the appropriate handler for next step.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Controller

public Controller(ServiceSupplicant midlet)
Parameters:
midlet - ServiceSupplicant
Method Detail

handleInputStream

public void handleInputStream(java.lang.String input,
                              int type)
Catch incoming data from clientApp and handle them properly

Parameters:
input -
type -

handleSIMResponse

public void handleSIMResponse(int type,
                              java.lang.String response)
This method interprets the response from the SIMSupplicant, sets the state and calls the appropriate handler for next step.

Parameters:
type -
response -

handleIdpResponse

public void handleIdpResponse(java.lang.String response)
Takes care of the auth response from IDP.

Parameters:
response -