org.blue.cgi
Class cmd

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.cmd
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class cmd
extends blue_servlet

See Also:
Serialized Form

Field Summary
static int affect_host_and_services
           
static int child_options
           
static int command_mode
           
static int command_type
           
static java.lang.String comment_author
           
static java.lang.String comment_data
           
static long comment_id
           
static int content_type
           
static cgiauth_h.authdata current_authdata
           
static int display_header
           
static long downtime_id
           
static long duration
           
static long end_time
           
static java.lang.String end_time_string
           
static int fixed
           
static int force_check
           
static java.lang.String host_name
           
static java.lang.String hostgroup_name
           
static int HTML_CONTENT
           
static int MAX_AUTHOR_LENGTH
           
static int MAX_COMMENT_LENGTH
           
static int notification_delay
           
static java.lang.String performance_data
           
static int persistent_comment
           
static java.lang.String plugin_output
           
static int plugin_state
           
static int propagate_to_children
           
static int schedule_delay
           
static int send_notification
           
static java.lang.String service_desc
           
static java.lang.String servicegroup_name
           
static long start_time
           
static java.lang.String start_time_string
           
static int sticky_ack
           
static long triggered_by
           
static int WML_CONTENT
           
 
Fields inherited from class org.blue.cgi.blue_servlet
request_string
 
Constructor Summary
cmd()
           
 
Method Summary
 void call_main()
           
static java.lang.String clean_comment_data(java.lang.String buffer)
           
static void commit_command_data(int cmd)
           
static int commit_command(int cmd)
           
static void document_footer()
           
static void document_header(int use_stylesheet)
           
static void main(java.lang.String[] args)
           
static int process_cgivars()
           
static void request_command_data(int cmd)
           
static void show_command_help(int cmd)
           
static long string_to_time(java.lang.String buffer)
           
static int write_command_to_file(java.lang.String cmd)
           
 
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

MAX_AUTHOR_LENGTH

public static final int MAX_AUTHOR_LENGTH
See Also:
Constant Field Values

MAX_COMMENT_LENGTH

public static final int MAX_COMMENT_LENGTH
See Also:
Constant Field Values

HTML_CONTENT

public static final int HTML_CONTENT
See Also:
Constant Field Values

WML_CONTENT

public static final int WML_CONTENT
See Also:
Constant Field Values

host_name

public static java.lang.String host_name

hostgroup_name

public static java.lang.String hostgroup_name

servicegroup_name

public static java.lang.String servicegroup_name

service_desc

public static java.lang.String service_desc

comment_author

public static java.lang.String comment_author

comment_data

public static java.lang.String comment_data

start_time_string

public static java.lang.String start_time_string

end_time_string

public static java.lang.String end_time_string

comment_id

public static long comment_id

downtime_id

public static long downtime_id

notification_delay

public static int notification_delay

schedule_delay

public static int schedule_delay

persistent_comment

public static int persistent_comment

sticky_ack

public static int sticky_ack

send_notification

public static int send_notification

force_check

public static int force_check

plugin_state

public static int plugin_state

plugin_output

public static java.lang.String plugin_output

performance_data

public static java.lang.String performance_data

start_time

public static long start_time

end_time

public static long end_time

affect_host_and_services

public static int affect_host_and_services

propagate_to_children

public static int propagate_to_children

fixed

public static int fixed

duration

public static long duration

triggered_by

public static long triggered_by

child_options

public static int child_options

command_type

public static int command_type

command_mode

public static int command_mode

content_type

public static int content_type

display_header

public static int display_header

current_authdata

public static cgiauth_h.authdata current_authdata
Constructor Detail

cmd

public cmd()
Method Detail

call_main

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

main

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

document_header

public static void document_header(int use_stylesheet)

document_footer

public static void document_footer()

process_cgivars

public static int process_cgivars()

request_command_data

public static void request_command_data(int cmd)

commit_command_data

public static void commit_command_data(int cmd)

commit_command

public static int commit_command(int cmd)

write_command_to_file

public static int write_command_to_file(java.lang.String cmd)

clean_comment_data

public static java.lang.String clean_comment_data(java.lang.String buffer)

show_command_help

public static void show_command_help(int cmd)

string_to_time

public static long string_to_time(java.lang.String buffer)