keepalive.h #1

  • //
  • guest/
  • alan_petersen/
  • piper/
  • mac/
  • R2.0/
  • Perforce/
  • p4api/
  • Headers/
  • 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 15071 alan_petersen Populate -o //guest/perforce_software/piper/...
//guest/alan_petersen/piper/....
//guest/perforce_software/piper/mac/R2.0/Perforce/p4api/Headers/keepalive.h
#1 12962 alan_petersen Populate -o //guest/perforce_software/piper/mac/main/...
//guest/perforce_software/piper/mac/R2.0/....
//guest/perforce_software/piper/mac/main/Perforce/p4api/Headers/keepalive.h
#1 11252 alan_petersen Rename/move file(s)
//guest/perforce_software/piper/mac/Perforce/p4api/Headers/keepalive.h
#1 10744 alan_petersen Rename/move file(s)
//guest/perforce_software/piper/Perforce/p4api/Headers/keepalive.h
#1 8919 Matt Attaway Initial add of Piper, a lightweight Perforce client for artists and designers.