keepalive.h #1

  • //
  • guest/
  • perforce_software/
  • p4/
  • 2014-1/
  • support/
  • keepalive.h
  • View
  • Commits
  • Open Download .zip Download (866 B)
/*
 * Copyright 1995, 1996 Perforce Software.  All rights reserved.
 *
 * This file is part of Perforce - the FAST SCM System.
 */

/*
 * This class has one method IsAlive() which can be called in either the
 * client or the server.
 * 
 * client:  
 *         KeepAlive is subclassed and an implementation of IsAlive() is 
 *         written that checks to see if the server request should be
 *         terminated or not.  Note, this feature can be programmed using
 *         the API but must be instantiated using SetBreak() after the call
 *         to client.Init().
 *
 * server:
 *         The server has a couple of places where long running queries can
 *         stop and check to see if the client is still waiting (i.e. has not
 *         been terminated). 
 */

class KeepAlive {

    public:
	virtual ~KeepAlive() {};

	virtual int	IsAlive() = 0;

};
# Change User Description Committed
#1 15902 Matt Attaway A second renaming that I will not obliterate as a badge of shame
//guest/perforce_software/p4/2014_1/support/keepalive.h
#1 15901 Matt Attaway Clean up code to fit modern Workshop naming standards
//guest/perforce_software/p4/2014.1/support/keepalive.h
#1 12188 Matt Attaway Move 'main' p4 into a release specific directory in prep for new releases
//guest/perforce_software/p4/support/keepalive.h
#1 9129 Matt Attaway Initial commit of the 2014.1 p4/p4api source code