com
Class ClientProxy

java.lang.Object
  extended byjava.lang.Thread
      extended bycom.ClientProxy
All Implemented Interfaces:
java.lang.Runnable

public class ClientProxy
extends java.lang.Thread

The ClientProxy class is a thread class running in the background. It creates the ServerSocketConnection which the client is connecting to!

Since:
May 4, 2007
Author:
Håvard Holje

Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
ClientProxy(ServiceSupplicant midlet, Controller controller, int type)
           
 
Method Summary
 void connect()
          Setting up the ServerSocketConnection This should last during the hole user session!
 void run()
          All I/O handling is executing in a Thread
 void sendResponse(java.lang.String response)
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ClientProxy

public ClientProxy(ServiceSupplicant midlet,
                   Controller controller,
                   int type)
Method Detail

run

public void run()
All I/O handling is executing in a Thread


connect

public void connect()
Setting up the ServerSocketConnection This should last during the hole user session!


sendResponse

public void sendResponse(java.lang.String response)