ZetaGrid v1.9

zeta.tool
Class KeepAlive

java.lang.Object
  |
  +--zeta.tool.KeepAlive

public class KeepAlive
extends java.lang.Object


Nested Class Summary
(package private)  class KeepAlive.KeepAliveConnection
           
(package private)  class KeepAlive.KeepAliveDatabase
           
(package private)  class KeepAlive.KeepAliveTomcat
           
 
Field Summary
private  java.net.InetAddress address
           
private static java.text.SimpleDateFormat formatter
           
private  KeepAlive.KeepAliveConnection keepAliveConnection
           
private  KeepAlive.KeepAliveDatabase keepAliveDatabase
           
private static java.lang.String[] pingAddresses
           
private  int pingIdx
           
private  java.lang.String previousHostAddress
           
private  java.net.ServerSocket serverSocket
           
private  java.lang.Throwable serverSocketThrowable
           
private static int SOCKET_PORT
           
 
Constructor Summary
KeepAlive(java.lang.String arg0)
           
 
Method Summary
private static boolean checkPage(java.lang.String requestMethod, java.lang.String host, java.lang.String page, boolean verbose, java.io.PrintStream printInput)
           
(package private) static java.lang.String getPPPClientAddress()
           
static void main(java.lang.String[] args)
           
private  void ping()
           
private  void sendURL(java.lang.String address)
           
private static void trace(java.lang.String text)
           
private static void trace(java.lang.String text, boolean timestamp, boolean newLine)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

address

private java.net.InetAddress address

pingAddresses

private static final java.lang.String[] pingAddresses

pingIdx

private int pingIdx

serverSocket

private java.net.ServerSocket serverSocket

serverSocketThrowable

private java.lang.Throwable serverSocketThrowable

previousHostAddress

private java.lang.String previousHostAddress

formatter

private static java.text.SimpleDateFormat formatter

keepAliveDatabase

private KeepAlive.KeepAliveDatabase keepAliveDatabase

keepAliveConnection

private KeepAlive.KeepAliveConnection keepAliveConnection

SOCKET_PORT

private static final int SOCKET_PORT
See Also:
Constant Field Values
Constructor Detail

KeepAlive

public KeepAlive(java.lang.String arg0)
          throws java.io.IOException
Method Detail

main

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

getPPPClientAddress

static java.lang.String getPPPClientAddress()

ping

private void ping()

checkPage

private static boolean checkPage(java.lang.String requestMethod,
                                 java.lang.String host,
                                 java.lang.String page,
                                 boolean verbose,
                                 java.io.PrintStream printInput)

sendURL

private void sendURL(java.lang.String address)
              throws java.io.IOException
java.io.IOException

trace

private static void trace(java.lang.String text)

trace

private static void trace(java.lang.String text,
                          boolean timestamp,
                          boolean newLine)

ZetaGrid v1.9

For further technical papers, see ZetaGrid Technical Documentation.
 
Copyright © 2001,2002 Sebastian Wedeniwski. All Rights Reserved.