Skip to content

PlayerLink::Core

Contains source code which is shared by both PlayerLinkServer and PlayerLinkClient. Compiles to a static library.

Classes

Name
class PlayerLink::Core::Logger
A Singelton Logger class which will be used by PlayerLink to create logs based on a severity level and append to a logfile.
class PlayerLink::Core::RuntimeException
exception class for Runtime environment, throws exceptions whenver an issue occurs with connectivity or any other runtime related error occurs
class PlayerLink::Core::SHA256
class PlayerLink::Core::Socket
Lowest socket implementation. This class will be used by top level socket implementations.
class PlayerLink::Core::TCPSocket

Types

Name
enum Protocols { TCP, UDP }
enum LogSeverity { FATAL, ERROR, WARNING, INFO, DEBUG, TRACE }
A LogSeverity Enum to determine the severity levels of a log to help organise and filter logfiles.
typedef char rawType

Functions

Name
std::string sha256(std::string input)

Types Documentation

enum Protocols

Enumerator Value Description
TCP
UDP

enum LogSeverity

Enumerator Value Description
FATAL
ERROR
WARNING
INFO
DEBUG
TRACE

A LogSeverity Enum to determine the severity levels of a log to help organise and filter logfiles.

Author: Hanzalah Ravat

typedef rawType

typedef char rawType;

Functions Documentation

function sha256

std::string sha256(
    std::string input
)

Updated on 25 January 2021 at 09:57:12 UTC