Helix Web Services Client
1
Helix Web Services Client SDK for Qt Applications
|
The primary interface for Helix Web Services involves the hws::Client. The hws::Client interacts with the server via several remote calls. Subsequently, using this API usually starts by attaching slots up to several signals. Then you setup a signal
Each hws::Client instance requires a Session. A session can be created by calling the logIn
method, which will then store the session locally. (That Session instance can be stored locally and then, instead of calling logIn
, you call setSession
.) This session will be valid as long as the underlying Perforce server ticket allows. If you start to receive authentication errors, your client will have to log in again, and restore a new session.
Authentication errors are returned with the code RequestError::AUTHENTICATION_ERROR
of any RequestError
returned by pretty much any server call.