StormByte C++ Library: Network module 0.0.9999
StormByte-Network is a StormByte library module for handling and create network connections
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
StormByte::Network::Connection::Handler Class Reference

Public Types

using Type = SOCKET
 The type of the socket.
 

Public Member Functions

 Handler ()
 The constructor of the Handler class.
 
 Handler (const Handler &other)=delete
 The copy constructor of the Handler class.
 
 Handler (Handler &&other) noexcept=delete
 The move constructor of the Handler class.
 
 ~Handler () noexcept
 The destructor of the Handler class.
 
Handleroperator= (const Handler &other)=delete
 The assignment operator of the Handler class.
 
Handleroperator= (Handler &&other) noexcept=delete
 The move assignment operator of the Handler class.
 
std::string LastError () const noexcept
 The function to get the last error.
 
int LastErrorCode () const noexcept
 Get last error code.
 

Constructor & Destructor Documentation

◆ Handler() [1/2]

StormByte::Network::Connection::Handler::Handler ( const Handler other)
delete

The copy constructor of the Handler class.

Parameters
otherThe other Handler to copy.

◆ Handler() [2/2]

StormByte::Network::Connection::Handler::Handler ( Handler &&  other)
deletenoexcept

The move constructor of the Handler class.

Parameters
otherThe other Handler to move.

Member Function Documentation

◆ LastError()

std::string StormByte::Network::Connection::Handler::LastError ( ) const
noexcept

The function to get the last error.

Returns
The last error.

◆ LastErrorCode()

int StormByte::Network::Connection::Handler::LastErrorCode ( ) const
noexcept

Get last error code.

Returns
The last error code.

◆ operator=() [1/2]

Handler & StormByte::Network::Connection::Handler::operator= ( const Handler other)
delete

The assignment operator of the Handler class.

Parameters
otherThe other Handler to assign.
Returns
The reference to the assigned Handler.

◆ operator=() [2/2]

Handler & StormByte::Network::Connection::Handler::operator= ( Handler &&  other)
deletenoexcept

The move assignment operator of the Handler class.

Parameters
otherThe other Handler to assign.
Returns
The reference to the assigned Handler.

The documentation for this class was generated from the following file: