![]() |
Murl Engine Lua Addon API
Version 1.0 beta
|
The net IFactory interface.
Initialize the factory.
Boolean Init()
Deinitialize the factory.
Boolean DeInit()
Create a socket SharedPointer object.
Murl.SharedPointer.NetISocket CreateSocket()
Create a socket object.
Murl.Net.ISocket CreateRawSocket()
Destroy a socket object.
Boolean, Murl.Net.ISocket DestroyRawSocket(Murl.Net.ISocket socket)
socket | A reference to the socket object pointer. After destruction the pointer is set to null. |
Create a socket address SharedPointer object.
Murl.SharedPointer.NetISocketAddress CreateSocketAddress()
Create a socket address object.
Murl.Net.ISocketAddress CreateRawSocketAddress()
Destroy a socket address object. Alternatively the ISocketAddress object can be destroyed by using delete.
Boolean, Murl.Net.ISocketAddress DestroyRawSocketAddress(Murl.Net.ISocketAddress socketAddress)
socketAddress | A reference to the socket address object pointer. After destruction the pointer is set to null. |
Create a socket client object.
Murl.Net.ISocketClient CreateSocketClient(String clientName, String uniqueId)
clientName | The name of the client. |
uniqueId | The unique identifer of the client. |
Destroy a socket client object.
Boolean, Murl.Net.ISocketClient DestroySocketClient(Murl.Net.ISocketClient socketClient)
socketClient | A reference to the socket client object pointer. After destruction the pointer is set to null. |
Create a socket packet object.
Murl.Net.ISocketPacket CreateSocketPacket()
Destroy a socket packet object. Alternatively the ISocketPacket object can be destroyed by using delete.
Boolean, Murl.Net.ISocketPacket DestroySocketPacket(Murl.Net.ISocketPacket socketPacket)
socketPacket | A reference to the socket packet object pointer. After destruction the pointer is set to null. |
Create a socket server object.
Murl.Net.ISocketServer CreateSocketServer(String serverName, String uniqueId)
serverName | The name of the server. |
uniqueId | The unique identifer of the server. |
Destroy a socket server object.
Boolean, Murl.Net.ISocketServer DestroySocketServer(Murl.Net.ISocketServer socketServer)
socketServer | A reference to the socket server object pointer. After destruction the pointer is set to null. |