CONZEPT 16 C++ API
C16::Server Class Referenceabstract

Server hosting databases. More...

#include "C16/Server.hpp"

Detailed Description

Server hosting databases.

Public Member Functions

virtual const std::string & name () const =0
 Gets the name of the server. More...
 
virtual const std::string & operating_system () const =0
 Gets the operating system of the server. More...
 
virtual const std::string & license () const =0
 Gets the license of the server. More...
 
virtual const std::string & release () const =0
 Gets the release of the server. More...
 
virtual int user_limit () const =0
 Gets the user limit of the server. More...
 

Member Function Documentation

◆ name()

virtual const std::string& C16::Server::name ( ) const
pure virtual

Gets the name of the server.

◆ operating_system()

virtual const std::string& C16::Server::operating_system ( ) const
pure virtual

Gets the operating system of the server.

Returns
String representing the operating system of the server

The operating system is represented by a string of the form <name> <version> [  (<details>) ], where the parts in angle brackets (< ... >) contain the following data:

  • <name> – Name of the operating system. A string from the following set:
    • Windows – Windows
    • Windows Server – Windows Server
    • Linux – Linux
  • <version> – Version of the operating system. A string dependent of the name of the operating system from the following sets:
    • Windows: XP, Vista, 7, 8, 8.1, 10
    • Windows Server: 2003, 2008, 2008 R2, 2012, 2012 R2, 2016
    • Linux: kernel X.Y where X.Y represents the kernel version of the operating system.
  • <details> – Details about the operating system. A string from the following set:
    • 64-Bit – 64-bit operating system

Fragments in square brackets ([ ... ]) may not be present.

Examples: Windows 7, Windows 10 (64-Bit), Windows Server 2016 (64-Bit), Linux kernel 4.4 (64-Bit)

◆ license()

virtual const std::string& C16::Server::license ( ) const
pure virtual

Gets the license of the server.

Returns
String representing the license of the server

The license is represented by a string of the form <product><edition><number><operating-system><protection> [ /<option> ], where the parts in angle brackets (< ... >) contain the following data:

  • <product> – Product of the license. One upper case letter from the following set:
    • C – CONZEPT 16 license (unlimited in time)
    • T – Time-limited license (TLL)
  • <edition> – Edition of the license. One upper case letter from the following set:
    • D – Developer edition
    • S – Standard edition
    • A – Advanced edition
    • E – Enterprise edition
  • <number> – Number of the license. An integer consisting of six digits.
  • <operating-system> – The operating systems supported by the license. One upper case letter from the following set:
    • W – Windows
    • L – Linux
    • M – Multi (Windows and Linux)
  • <protection> – Protection of the license. One upper case letter from the following set:
    • U – USB port dongle
    • P – Parallel port dongle
    • N – Internet-based license
  • <option> – Optional features or restrictions of the license. One upper case letter from the following set:
    • H – Hot-standby (HSB)
    • D – Demonstration

Fragments in square brackets ([ ... ]) may not be present.

Examples: CS100001WU, CE100002LP, CD100003MU/H, TA100004WN/D

Note
For further details consider the general documentation.

◆ release()

virtual const std::string& C16::Server::release ( ) const
pure virtual

Gets the release of the server.

Returns
String representing the release of the server

The release is represented by a string of the form <major>.<minor>.<revision>, where the parts in angle brackets (< ... >) contain the following data:

  • <major> – Major release of the server. An integer consisting of one digit.
  • <minor> – Minor release of the server. An integer consisting of one digit.
  • <revision> – Revision of the server. An integer consisting of two digits, possibly followed by one lower case letter (a to z), identifying the sub-revision of the server.

Examples: 5.0.08, 5.4.16, 5.8.32b

See also
Client::release

◆ user_limit()

virtual int C16::Server::user_limit ( ) const
pure virtual

Gets the user limit of the server.