All Packages Class Hierarchy This Package Previous Next Index
Class NET.shudo.moba.io.ThreadReader
java.lang.Object
|
+----java.io.InputStream
|
+----java.io.FilterInputStream
|
+----java.io.DataInputStream
|
+----NET.shudo.moba.io.ObjectReader
|
+----NET.shudo.moba.io.ThreadReader
- public class ThreadReader
- extends ObjectReader
Thread internalizer。
-
ThreadReader(InputStream)
-
-
ThreadReader(InputStream, ClassLoader)
-
-
ThreadReader(ThreadGroup, InputStream)
-
-
ThreadReader(ThreadGroup, InputStream, ClassLoader)
-
-
generatedPlaceFromFile(String)
- 外部化されたスレッドが格納されたファイルから、
スレッド生成元を得る。
-
isSpecificClass(Class)
- subclassで特定のクラスに対する処理をするためのhook
特定クラスかどうか判定する。
-
postReadSpecificClass(Object)
- subclassで特定のクラスに対する処理をするためのhook。
完成したインスタンスに対する処理を行う。
-
readSpecificClass(Class, Object)
- subclassで特定のクラスに対する処理をするためのhook
特定のクラスとその supeclass についての責任がある。
ThreadReader
public ThreadReader(ThreadGroup g,
InputStream in,
ClassLoader loader) throws IOException
ThreadReader
public ThreadReader(ThreadGroup g,
InputStream in) throws IOException
ThreadReader
public ThreadReader(InputStream in,
ClassLoader loader) throws IOException
ThreadReader
public ThreadReader(InputStream in) throws IOException
generatedPlaceFromFile
public static PlaceAddress generatedPlaceFromFile(String filename) throws IOException
- 外部化されたスレッドが格納されたファイルから、
スレッド生成元を得る。
isSpecificClass
protected boolean isSpecificClass(Class clazz)
- subclassで特定のクラスに対する処理をするためのhook
特定クラスかどうか判定する。
- Returns:
- true if the specified class is the target class.
- Overrides:
- isSpecificClass in class ObjectReader
- See Also:
- isSpecificClass
readSpecificClass
protected boolean readSpecificClass(Class clazz,
Object obj) throws StreamFormatException, IOException, ClassNotFoundException, InstantiationException, IllegalAccessException
- subclassで特定のクラスに対する処理をするためのhook
特定のクラスとその supeclass についての責任がある。
- Parameters:
- obj - instantiate 済みのオブジェクト
- Returns:
- true if the specified class is the target class.
- Overrides:
- readSpecificClass in class ObjectReader
- See Also:
- readSpecificClass
postReadSpecificClass
protected boolean postReadSpecificClass(Object obj)
- subclassで特定のクラスに対する処理をするためのhook。
完成したインスタンスに対する処理を行う。
- Returns:
- true if the specified class is the target class.
- Overrides:
- postReadSpecificClass in class ObjectReader
- See Also:
- postReadSpecificClass
All Packages Class Hierarchy This Package Previous Next Index