The net IFactory interface.
More...
#include "murl_net_i_factory.h"
Inherited by Murl::Net::Factory.
The net IFactory interface.
◆ Init()
virtual Bool Murl::Net::IFactory::Init |
( |
| ) |
|
|
pure virtual |
Initialize the factory.
- Returns
- true if successful.
◆ DeInit()
virtual Bool Murl::Net::IFactory::DeInit |
( |
| ) |
|
|
pure virtual |
Deinitialize the factory.
- Returns
- true if successful.
◆ CreateSocket()
◆ CreateRawSocket()
virtual ISocket* Murl::Net::IFactory::CreateRawSocket |
( |
| ) |
|
|
pure virtual |
Create a socket object.
- Returns
- The created socket object, or null if failed.
◆ DestroyRawSocket()
virtual Bool Murl::Net::IFactory::DestroyRawSocket |
( |
ISocket *& |
socket | ) |
|
|
pure virtual |
Destroy a socket object.
- Parameters
-
socket | A reference to the socket object pointer. After destruction the pointer is set to null. |
- Returns
- true if successful.
◆ CreateSocketAddress()
◆ CreateRawSocketAddress()
virtual ISocketAddress* Murl::Net::IFactory::CreateRawSocketAddress |
( |
| ) |
|
|
pure virtual |
Create a socket address object.
- Returns
- The created socket address object, or null if failed.
◆ DestroyRawSocketAddress()
virtual Bool Murl::Net::IFactory::DestroyRawSocketAddress |
( |
ISocketAddress *& |
socketAddress | ) |
|
|
pure virtual |
Destroy a socket address object.
Alternatively the ISocketAddress object can be destroyed by using delete.
- Parameters
-
socketAddress | A reference to the socket address object pointer. After destruction the pointer is set to null. |
- Returns
- true if successful.
◆ CreateSocketClient()
Create a socket client object.
- Parameters
-
clientName | The name of the client. |
uniqueId | The unique identifer of the client. |
- Returns
- The created socket client object, or null if failed.
◆ DestroySocketClient()
virtual Bool Murl::Net::IFactory::DestroySocketClient |
( |
ISocketClient *& |
socketClient | ) |
|
|
pure virtual |
Destroy a socket client object.
- Parameters
-
socketClient | A reference to the socket client object pointer. After destruction the pointer is set to null. |
- Returns
- true if successful.
◆ CreateSocketPacket()
virtual ISocketPacket* Murl::Net::IFactory::CreateSocketPacket |
( |
| ) |
|
|
pure virtual |
Create a socket packet object.
- Returns
- The created socket packet object, or null if failed.
◆ DestroySocketPacket()
virtual Bool Murl::Net::IFactory::DestroySocketPacket |
( |
ISocketPacket *& |
socketPacket | ) |
|
|
pure virtual |
Destroy a socket packet object.
Alternatively the ISocketPacket object can be destroyed by using delete.
- Parameters
-
socketPacket | A reference to the socket packet object pointer. After destruction the pointer is set to null. |
- Returns
- true if successful.
◆ CreateSocketServer()
Create a socket server object.
- Parameters
-
serverName | The name of the server. |
uniqueId | The unique identifer of the server. |
- Returns
- The created socket server object, or null if failed.
◆ DestroySocketServer()
virtual Bool Murl::Net::IFactory::DestroySocketServer |
( |
ISocketServer *& |
socketServer | ) |
|
|
pure virtual |
Destroy a socket server object.
- Parameters
-
socketServer | A reference to the socket server object pointer. After destruction the pointer is set to null. |
- Returns
- true if successful.
The documentation for this interface was generated from the following file: