Jitsi: the OpenSource Java VoIP and Instant Messaging client.

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

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

public class ProviderRegistration
extends Thread

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

Author:
Nicolas Chamouard, Emil Ivov

Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
ProviderRegistration(ProtocolProviderService protocolProvider)
          Creates an instance of ProviderRegistration.
 
Method Summary
 void run()
          Start the thread which will register 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
 

Constructor Detail

ProviderRegistration

public ProviderRegistration(ProtocolProviderService protocolProvider)
Creates an instance of ProviderRegistration.

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

run

public void run()
Start the thread which will register 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.