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。
-
ThreadWriter(OutputStream)
-
-
isSpecificClass(Class)
- subclassで特定のクラスに対する処理をするためのhook。
-
writeOtherThread(MobaThread)
- current thread 以外の thread の書き出し。
-
writeSpecificClass(Class, Object)
- subclassで特定のクラスに対する処理をするためのhook。
特定のクラスとその supeclass についての責任がある。
ThreadWriter
public ThreadWriter(OutputStream out)
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
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
writeOtherThread
protected void writeOtherThread(MobaThread thr) throws IOException
- current thread 以外の thread の書き出し。
All Packages Class Hierarchy This Package Previous Next Index