jap
Class JAPController.SetAnonModeAsync

java.lang.Object
  extended by anon.util.JobQueue.Job
      extended by jap.JAPController.SetAnonModeAsync
All Implemented Interfaces:
java.lang.Runnable
Enclosing class:
JAPController

private final class JAPController.SetAnonModeAsync
extends JobQueue.Job


Field Summary
private  boolean m_startServer
           
 
Constructor Summary
JAPController.SetAnonModeAsync(boolean a_startServer)
           
 
Method Summary
 boolean equals(java.lang.Object a_job)
           
 java.lang.String getAddedJobLogMessage()
          Optional message for a log entry that is generated if a new job was added and this value is not null.
 int hashCode()
           
 boolean isInterrupting()
           
 boolean isStartServerJob()
           
 void runJob()
          Replaces the run method as the normal run method is implemented by Job itself.
private  void setServerMode(boolean anonModeSelected)
           
 
Methods inherited from class anon.util.JobQueue.Job
isSkippedIfDuplicate, run
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_startServer

private boolean m_startServer
Constructor Detail

JAPController.SetAnonModeAsync

public JAPController.SetAnonModeAsync(boolean a_startServer)
Method Detail

isInterrupting

public boolean isInterrupting()
Overrides:
isInterrupting in class JobQueue.Job

equals

public boolean equals(java.lang.Object a_job)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

getAddedJobLogMessage

public java.lang.String getAddedJobLogMessage()
Description copied from class: JobQueue.Job
Optional message for a log entry that is generated if a new job was added and this value is not null.

Overrides:
getAddedJobLogMessage in class JobQueue.Job
Returns:
optional message for a log entry that is generated if a new job was added

isStartServerJob

public boolean isStartServerJob()

runJob

public void runJob()
Description copied from class: JobQueue.Job
Replaces the run method as the normal run method is implemented by Job itself. This method holds the things the job should do.

Specified by:
runJob in class JobQueue.Job

setServerMode

private void setServerMode(boolean anonModeSelected)
Parameters:
anonModeSelected - true, if anonymity should be started; false otherwise
a_bRetryOnConnectionError - if in case of a connection error it is retried to establish the connection