![]() |
Murl Engine Lua Addon API
Version 1.0 beta
|
The socket packet interface.
Packets are used to transfer network data from and to the Net::SocketClient and Net::SocketServer interfaces.
Get the sender name.
String GetSenderName()
Get the sender unique identifier.
String GetUniqueIdentifier()
Get the sender address object.
Murl.SharedPointer.NetISocketAddressConst GetAddress()
Get the sender data object.
Murl.Data GetData()
Set the sender name.
SetSenderName(String senderName)
senderName | The sender name. |
Set the sender unique identifier.
SetUniqueIdentifier(String uniqueId)
uniqueId | The sender unique identifier. |
Set the sender address.
SetAddress(Murl.SharedPointer.NetISocketAddressConst address)
address | The sender address. |
Set the sender data object.
SetData(Murl.ConstData data)
data | The sender data to copy. |
Obtain the sender data object.
Murl.Data ObtainData(Murl.Data data)
data | The sender data object to obtain. |
Get the number of bytes to send.
Integer GetBytesToSend()
Get the number of sent bytes.
Integer GetBytesSent()
Get the number of bytes to receive.
Integer GetBytesToReceive()
Get the number of received bytes.
Integer GetBytesReceived()
Set the number of bytes to send.
SetBytesToSend(Integer numberOfBytes)
numberOfBytes | The number of bytes to send. |
Set the number of sent bytes.
SetBytesSent(Integer numberOfBytes)
numberOfBytes | The number of bytes to send. |
Set the number of bytes to receive.
SetBytesToReceive(Integer numberOfBytes)
numberOfBytes | The number of bytes to receive. |
Set the number of received bytes.
SetBytesReceived(Integer numberOfBytes)
numberOfBytes | The number of received bytes. |
Converts the object content to a string in a reasonable format.