org.objectweb.cjdbc.console.gui.threads
Class GuiLoggingThread

java.lang.Object
  extended byjava.lang.Thread
      extended byorg.objectweb.cjdbc.console.gui.threads.GuiLoggingThread
All Implemented Interfaces:
java.lang.Runnable

public class GuiLoggingThread
extends java.lang.Thread

This class defines a GuiLoggingThread

Version:
1.0
Author:
Nicolas Modrzyk

Field Summary
private  java.lang.String host
           
private  javax.swing.JTextArea loggingTextPane
           
private  java.net.Socket logSocket
           
private  org.apache.log4j.net.SocketNode node
           
private  java.lang.Thread nodeThread
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
GuiLoggingThread(javax.swing.JTextArea loggingTextPane, java.lang.String host)
          Creates a new GuiLoggingThread.java object
 
Method Summary
 java.lang.String getHost()
          Returns the host value.
 void quit()
          Quitting
 void run()
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

logSocket

private java.net.Socket logSocket

node

private org.apache.log4j.net.SocketNode node

loggingTextPane

private javax.swing.JTextArea loggingTextPane

host

private java.lang.String host

nodeThread

private java.lang.Thread nodeThread
Constructor Detail

GuiLoggingThread

public GuiLoggingThread(javax.swing.JTextArea loggingTextPane,
                        java.lang.String host)
Creates a new GuiLoggingThread.java object

Parameters:
loggingTextPane - the text area where to store output
host - where the log server is running
Method Detail

getHost

public java.lang.String getHost()
Returns the host value.

Returns:
Returns the host.

run

public void run()
See Also:
Runnable.run()

quit

public void quit()
Quitting



Copyright © 2002, 2005 - ObjectWeb Consortium - All Rights Reserved.