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


Variable Index

 o byteCache
cache to hold class bytes
 o cache
 o NodesReached
list of nodes to which this type has been sent prevents sending classes again to those nodes repeatedly
 o PathPrefixes
holds path prefixes

Constructor Index

 o SmartPacketLoader()

Method Index

 o checkNodeReached(String)
 o defClass(String)
 o getClass(String)
 o loadClass(String, boolean)
 o localLoadClass(String)
 o localLoadClass(String, String)
 o makeClass(String, byte[])
 o setNodeReached(String)

Variables

 o cache
 protected Hashtable cache
 o byteCache
 protected Hashtable byteCache
cache to hold class bytes

 o NodesReached
 Vector NodesReached
list of nodes to which this type has been sent prevents sending classes again to those nodes repeatedly

 o PathPrefixes
 Vector PathPrefixes
holds path prefixes

Constructors

 o SmartPacketLoader
 protected SmartPacketLoader()

Methods

 o setNodeReached
 protected void setNodeReached(String node)
 o checkNodeReached
 public boolean checkNodeReached(String node)
 o getClass
 public Class getClass(String name) throws ClassNotFoundException
 o defClass
 protected Class defClass(String name)
 o makeClass
 protected void makeClass(String name,
                          byte data[])
 o localLoadClass
 protected byte[] localLoadClass(String ClassName,
                                 String toNode) throws ClassNotFoundException, CloneNotSupportedException
 o localLoadClass
 protected byte[] localLoadClass(String className) throws ClassNotFoundException
 o loadClass
 protected Class loadClass(String name,
                           boolean resolve)
Overrides:
loadClass in class ClassLoader

All Packages  Class Hierarchy  This Package  Previous  Next  Index
1