All Packages Class Hierarchy This Package Previous Next Index
Class magician.Node.SmartPacketLoader
java.lang.Object
|
+----java.lang.ClassLoader
|
+----magician.Node.SmartPacketLoader
- public class SmartPacketLoader
- extends ClassLoader
takes the
-
byteCache
- cache to hold class bytes
-
cache
-
-
NodesReached
- list of nodes to which this type has been sent
prevents sending classes again to those nodes repeatedly
-
PathPrefixes
- holds path prefixes
-
SmartPacketLoader()
-
-
checkNodeReached(String)
-
-
defClass(String)
-
-
getClass(String)
-
-
loadClass(String, boolean)
-
-
localLoadClass(String)
-
-
localLoadClass(String, String)
-
-
makeClass(String, byte[])
-
-
setNodeReached(String)
-
cache
protected Hashtable cache
byteCache
protected Hashtable byteCache
- cache to hold class bytes
NodesReached
Vector NodesReached
- list of nodes to which this type has been sent
prevents sending classes again to those nodes repeatedly
PathPrefixes
Vector PathPrefixes
- holds path prefixes
SmartPacketLoader
protected SmartPacketLoader()
setNodeReached
protected void setNodeReached(String node)
checkNodeReached
public boolean checkNodeReached(String node)
getClass
public Class getClass(String name) throws ClassNotFoundException
defClass
protected Class defClass(String name)
makeClass
protected void makeClass(String name,
byte data[])
localLoadClass
protected byte[] localLoadClass(String ClassName,
String toNode) throws ClassNotFoundException, CloneNotSupportedException
localLoadClass
protected byte[] localLoadClass(String className) throws ClassNotFoundException
loadClass
protected Class loadClass(String name,
boolean resolve)
- Overrides:
- loadClass in class ClassLoader
All Packages Class Hierarchy This Package Previous Next Index