All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class NET.shudo.moba.io.ThreadWriter

java.lang.Object
   |
   +----java.io.OutputStream
           |
           +----java.io.FilterOutputStream
                   |
                   +----java.io.DataOutputStream
                           |
                           +----NET.shudo.moba.io.ObjectWriter
                                   |
                                   +----NET.shudo.moba.io.ThreadWriter

public class ThreadWriter
extends ObjectWriter
Thread externalizer。


Constructor Index

 o ThreadWriter(OutputStream)

Method Index

 o isSpecificClass(Class)
subclassで特定のクラスに対する処理をするためのhook。
 o writeOtherThread(MobaThread)
current thread 以外の thread の書き出し。
 o writeSpecificClass(Class, Object)
subclassで特定のクラスに対する処理をするためのhook。 特定のクラスとその supeclass についての責任がある。

Constructors

 o ThreadWriter
 public ThreadWriter(OutputStream out)

Methods

 o isSpecificClass
 protected boolean isSpecificClass(Class clazz)
subclassで特定のクラスに対する処理をするためのhook。

Returns:
true if the specified class is the target class.
Overrides:
isSpecificClass in class ObjectWriter
See Also:
isSpecificClass
 o writeSpecificClass
 protected boolean writeSpecificClass(Class clazz,
                                      Object obj) throws IOException
subclassで特定のクラスに対する処理をするためのhook。 特定のクラスとその supeclass についての責任がある。

Returns:
true if the specified class is the target class.
Overrides:
writeSpecificClass in class ObjectWriter
See Also:
writeSpecificClass
 o writeOtherThread
 protected void writeOtherThread(MobaThread thr) throws IOException
current thread 以外の thread の書き出し。


All Packages  Class Hierarchy  This Package  Previous  Next  Index