org.blue.cgi
Class statuswrl

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.blue.cgi.blue_servlet
              extended by org.blue.cgi.statuswrl
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class statuswrl
extends blue_servlet

See Also:
Serialized Form

Field Summary
static float CIRCULAR_DRAWING_RADIUS
           
static int coordinates_were_specified
           
static cgiauth_h.authdata current_authdata
           
static int custom_viewpoint
           
static double custom_viewpoint_x
           
static double custom_viewpoint_y
           
static double custom_viewpoint_z
           
static float DEFAULT_HORIZONTAL_SPACING
           
static float DEFAULT_NODE_HEIGHT
           
static float DEFAULT_NODE_HSPACING
           
static float DEFAULT_NODE_VSPACING
           
static float DEFAULT_NODE_WIDTH
           
static float DEFAULT_VERTICAL_SPACING
           
static int draw_nagios_icon
           
static float floor_depth
           
static float floor_width
           
static float horizontal_spacing
           
static java.lang.String host_name
           
static int LAYOUT_BALANCED_TREE
           
static int LAYOUT_CIRCULAR
           
static int LAYOUT_COLLAPSED_TREE
           
static int layout_method
           
static int LAYOUT_USER_SUPPLIED
           
static float link_radius
           
static double max_world_size
           
static double max_x_coord
           
static double max_y_coord
           
static double max_z_coord
           
static double min_x_coord
           
static double min_y_coord
           
static double min_z_coord
           
static double nagios_icon_x
           
static double nagios_icon_y
           
static java.lang.String NAGIOS_VRML_IMAGE
           
static float node_height
           
static float node_width
           
static int show_all_hosts
           
static int use_links
           
static int use_text
           
static int use_textures
           
static float vertical_spacing
           
 
Fields inherited from class org.blue.cgi.blue_servlet
request_string
 
Constructor Summary
statuswrl()
           
 
Method Summary
static int atoi(java.lang.String value)
           
static void calculate_balanced_tree_coords(objects_h.host parent, int x, int y)
           
static void calculate_circular_coords()
           
static void calculate_circular_layer_coords(objects_h.host parent, double start_angle, double useable_angle, int layer, int radius)
           
static void calculate_host_coords()
           
static void calculate_world_bounds()
           
 void call_main()
           
static void display_world()
           
static void document_header()
           
static void draw_host_link(objects_h.host hst, double x0, double y0, double z0, double x1, double y1, double z1)
           
static void draw_host_links()
           
static void draw_host(objects_h.hostextinfo temp_hostextinfo)
           
static void draw_process_icon()
           
static int host_child_depth_separation(objects_h.host parent, objects_h.host child)
           
static void main(java.lang.String[] argv)
           
static int max_child_host_drawing_width(objects_h.host parent)
           
static int max_child_host_layer_members(objects_h.host parent)
           
static int number_of_host_layer_members(objects_h.host parent, int layer)
           
static int process_cgivars()
           
static void write_global_vrml_data()
           
 
Methods inherited from class org.blue.cgi.blue_servlet
doGet, doPost, init
 
Methods inherited from class javax.servlet.http.HttpServlet
service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAGIOS_VRML_IMAGE

public static java.lang.String NAGIOS_VRML_IMAGE

DEFAULT_NODE_WIDTH

public static final float DEFAULT_NODE_WIDTH
See Also:
Constant Field Values

DEFAULT_HORIZONTAL_SPACING

public static final float DEFAULT_HORIZONTAL_SPACING
See Also:
Constant Field Values

DEFAULT_VERTICAL_SPACING

public static final float DEFAULT_VERTICAL_SPACING
See Also:
Constant Field Values

DEFAULT_NODE_HEIGHT

public static final float DEFAULT_NODE_HEIGHT
See Also:
Constant Field Values

DEFAULT_NODE_HSPACING

public static final float DEFAULT_NODE_HSPACING
See Also:
Constant Field Values

DEFAULT_NODE_VSPACING

public static final float DEFAULT_NODE_VSPACING
See Also:
Constant Field Values

CIRCULAR_DRAWING_RADIUS

public static final float CIRCULAR_DRAWING_RADIUS
See Also:
Constant Field Values

LAYOUT_USER_SUPPLIED

public static final int LAYOUT_USER_SUPPLIED
See Also:
Constant Field Values

LAYOUT_COLLAPSED_TREE

public static final int LAYOUT_COLLAPSED_TREE
See Also:
Constant Field Values

LAYOUT_BALANCED_TREE

public static final int LAYOUT_BALANCED_TREE
See Also:
Constant Field Values

LAYOUT_CIRCULAR

public static final int LAYOUT_CIRCULAR
See Also:
Constant Field Values

current_authdata

public static cgiauth_h.authdata current_authdata

link_radius

public static float link_radius

floor_width

public static float floor_width

floor_depth

public static float floor_depth

min_z_coord

public static double min_z_coord

min_x_coord

public static double min_x_coord

min_y_coord

public static double min_y_coord

max_z_coord

public static double max_z_coord

max_x_coord

public static double max_x_coord

max_y_coord

public static double max_y_coord

max_world_size

public static double max_world_size

nagios_icon_x

public static double nagios_icon_x

nagios_icon_y

public static double nagios_icon_y

draw_nagios_icon

public static int draw_nagios_icon

custom_viewpoint_x

public static double custom_viewpoint_x

custom_viewpoint_y

public static double custom_viewpoint_y

custom_viewpoint_z

public static double custom_viewpoint_z

custom_viewpoint

public static int custom_viewpoint

vertical_spacing

public static float vertical_spacing

horizontal_spacing

public static float horizontal_spacing

node_width

public static float node_width

node_height

public static float node_height

host_name

public static java.lang.String host_name

show_all_hosts

public static int show_all_hosts

use_textures

public static int use_textures

use_text

public static int use_text

use_links

public static int use_links

layout_method

public static int layout_method

coordinates_were_specified

public static int coordinates_were_specified
Constructor Detail

statuswrl

public statuswrl()
Method Detail

call_main

public void call_main()
Specified by:
call_main in class blue_servlet

main

public static void main(java.lang.String[] argv)

document_header

public static void document_header()

process_cgivars

public static int process_cgivars()

display_world

public static void display_world()

host_child_depth_separation

public static int host_child_depth_separation(objects_h.host parent,
                                              objects_h.host child)

number_of_host_layer_members

public static int number_of_host_layer_members(objects_h.host parent,
                                               int layer)

max_child_host_layer_members

public static int max_child_host_layer_members(objects_h.host parent)

max_child_host_drawing_width

public static int max_child_host_drawing_width(objects_h.host parent)

calculate_host_coords

public static void calculate_host_coords()

calculate_world_bounds

public static void calculate_world_bounds()

write_global_vrml_data

public static void write_global_vrml_data()

draw_host

public static void draw_host(objects_h.hostextinfo temp_hostextinfo)

draw_host_links

public static void draw_host_links()

draw_host_link

public static void draw_host_link(objects_h.host hst,
                                  double x0,
                                  double y0,
                                  double z0,
                                  double x1,
                                  double y1,
                                  double z1)

draw_process_icon

public static void draw_process_icon()

calculate_balanced_tree_coords

public static void calculate_balanced_tree_coords(objects_h.host parent,
                                                  int x,
                                                  int y)

calculate_circular_coords

public static void calculate_circular_coords()

calculate_circular_layer_coords

public static void calculate_circular_layer_coords(objects_h.host parent,
                                                   double start_angle,
                                                   double useable_angle,
                                                   int layer,
                                                   int radius)

atoi

public static int atoi(java.lang.String value)