Home   Info   DevZone   Wiki  
UsersWeb  |  MainWeb  |  InfoWeb  |  DevZoneWeb  |  SupportWeb
LayerLinker ] [ not logged in ] [ Web: Imported ] goto:  options
[ get info on or edit ] login or new user ] [ list of topics, hubs & nodes, or recent changes ]

LayerLinker

This is the binding system used in JosBrowser ( JoZilla ).

Several components make up this abstract Layer class.

All of these systems are used to provide a modular / layered approach to JoZilla - the mamillian munching browser.


This is the source for the abstract class LayerLinker which all layer will extend and inherit from. Checkout the Layered page on the Jozilla Spotters Guide.
<blockquote>
abstract class LayerLinker{
 Layer above;
 Layer below;
 bind (Layer above, Layer below)
 {
	this.above = above;
	this.below = below;	
 }

 sendUp (Object obj)
 {
	above.receive(obj);
 }

 sendDown (Object obj)
 {
	below.receive(obj);
 }

 receiveUp (Object obj);
 // extend this method to implement your layers
 // receive method from upper layers

 receiveDown (Object obj);
 // extend this method to implement your layers
 // receive method from lower layers}




Content of these pages are owned and copyrighted by the poster.
Hosted by: