[Webfunds-commits] java/webfunds/utils NetWatcher.java

Ian Grigg iang@cypherpunks.ai
Fri, 13 Apr 2001 12:30:02 -0400 (AST)


iang        01/04/13 12:30:01

  Added:       webfunds/comms NetWatcher.java
  Removed:     webfunds/utils NetWatcher.java
  Log:
  moved!

Revision  Changes    Path
1.1                  java/webfunds/comms/NetWatcher.java

Index: NetWatcher.java
===================================================================
/*
 *
 * Copyright (c) Systemics Ltd 1995-1999 on behalf of
 * the WebFunds Development Team.  All Rights Reserved.
 */
package webfunds.comms;

/**
 *  Instances of this class could test if the net is there.
 *  Not Written Yet - just used for a static that prohibits net.
 *
 *  Was webfunds.utils.NetWatcher.
 *
 *  @version $Id: NetWatcher.java,v 1.1 2001/04/13 16:30:00 iang Exp $
 */
public class NetWatcher
{
    protected static boolean netOK = true;

    public static boolean netAvailability()      { return netOK ; }
    public static void setNetOff()               { netOK = false ; }
    public static void setNetOn()                { netOK = true ; }
}