Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.impl.osdependent.jdic
Class ProviderUnRegistration

java.lang.Object
  extended by java.lang.Thread
      extended by net.java.sip.communicator.impl.osdependent.jdic.ProviderUnRegistration
All Implemented Interfaces:
Runnable

public class ProviderUnRegistration
extends Thread

The ProviderUnRegistration is used by the systray plugin to make the unregistration to a protocol provider. This operation is implemented within a thread, so that sip-communicator can continue its execution smoothly.

Author:
Nicolas Chamouard

Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
 
Field Summary
(package private)  ProtocolProviderService protocolProvider
          The protocol provider to whom we want to unregister
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
ProviderUnRegistration(ProtocolProviderService protocolProvider)
          Creates an instance of ProviderUnRegistration.
 
Method Summary
 void run()
          Start the thread which will unregister to the provider
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

protocolProvider

ProtocolProviderService protocolProvider
The protocol provider to whom we want to unregister

Constructor Detail

ProviderUnRegistration

ProviderUnRegistration(ProtocolProviderService protocolProvider)
Creates an instance of ProviderUnRegistration.

Parameters:
protocolProvider - the provider we want to unregister
Method Detail

run

public void run()
Start the thread which will unregister to the provider

Specified by:
run in interface Runnable
Overrides:
run in class Thread

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.