com.web_visage.ichat
Interface IChatThread

All Superinterfaces:
Controllable
All Known Implementing Classes:
AbstractIChatThread

public interface IChatThread
extends Controllable

Represents common IChat thread type.

Author:
K.Baturytski

Method Summary
 java.lang.Thread getThread()
          Returns the thread instance.
 void join()
          Joins the component's thread.
 void join(long millis)
          Waits at most millis milliseconds for this thread to die.
 void join(long millis, int nanos)
          Waits at most millis milliseconds plus nanos nanoseconds for this thread to die.
 
Methods inherited from interface com.web_visage.ichat.Controllable
start, stop
 

Method Detail

getThread

java.lang.Thread getThread()
Returns the thread instance.

Returns:

join

void join()
          throws java.lang.InterruptedException
Joins the component's thread.

Throws:
java.lang.InterruptedException

join

void join(long millis)
          throws java.lang.InterruptedException
Waits at most millis milliseconds for this thread to die. A timeout of 0 means to wait forever.

Parameters:
millis -
Throws:
java.lang.InterruptedException

join

void join(long millis,
          int nanos)
          throws java.lang.InterruptedException
Waits at most millis milliseconds plus nanos nanoseconds for this thread to die.

Parameters:
millis -
nanos -
Throws:
java.lang.InterruptedException