/*
* 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 | 14945 | Newtopian |
Merging //guest/perforce_software/p4/... to //guest/Newtopian/p4/... |
||
| //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 | ||