|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Thread
threads.WriterThread
public final class WriterThread
Writer Thread Writes bytes to an outputstream
Field Summary |
---|
Fields inherited from class java.lang.Thread |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
---|---|
WriterThread(java.io.OutputStream _writer,
ExceptionListener _exListener)
|
Method Summary | |
---|---|
void |
run()
Run Thread |
static int |
strlen(java.lang.String s)
Find length in bytes of a string, akin to strlen vs wcslen � 2003, 2004 Vidar Holen www.vidarholen.net |
void |
terminate()
Tells the thread to terminate as soon as possible. |
byte[] |
unicodeToServer(java.lang.String s)
Unicode Support � 2003, 2004 Vidar Holen www.vidarholen.net |
void |
write(java.lang.String _s)
Sends a string in the output stream. |
Methods inherited from class java.lang.Thread |
---|
activeCount, currentThread, getName, getPriority, interrupt, isAlive, join, setPriority, sleep, start, toString, yield |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface threads.IWriterThread |
---|
start |
Constructor Detail |
---|
public WriterThread(java.io.OutputStream _writer, ExceptionListener _exListener)
Method Detail |
---|
public void write(java.lang.String _s)
write
in interface IWriterThread
_s
- String to send to the output streampublic void terminate()
terminate
in interface IWriterThread
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
public byte[] unicodeToServer(java.lang.String s)
public static int strlen(java.lang.String s)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |