| |
|
| java.lang.Object com.sun.midp.jsr82emul.RunnableProcessor
RunnableProcessor | abstract public class RunnableProcessor implements Runnable(Code) | | Runs emulation request processing in a separate thread.
|
Field Summary | |
protected boolean | interrupted Shows if processing has been interrupted. | protected boolean | ready Shows if processing can be started. |
Method Summary | |
public void | interrupt() Interrupts processing thread. | abstract protected void | process() Processing procedure. | public void | run() Implements Runnable . | public synchronized void | start() Allows one processing procedure. |
interrupted | protected boolean interrupted(Code) | | Shows if processing has been interrupted.
|
ready | protected boolean ready(Code) | | Shows if processing can be started.
|
RunnableProcessor | RunnableProcessor(boolean loop)(Code) | | Constructs an instance.
Parameters: loop - flag to define if repeated processing required. |
RunnableProcessor | RunnableProcessor()(Code) | | Constructs an instance for one time processing.
|
interrupt | public void interrupt()(Code) | | Interrupts processing thread.
|
process | abstract protected void process()(Code) | | Processing procedure.
|
run | public void run()(Code) | | Implements Runnable .
Accepts and opens connection to client
|
start | public synchronized void start()(Code) | | Allows one processing procedure. No processing is performed prior
to this method call. For a repeatedly working processor each
iteration waits for start() .
|
|
|
|