MobiledgeX.MobiledgeXUDPClient Class Reference

MobiledgeXUDPClient is a UDP Client Implementation offered with MobiledgeX Unity Package. MobiledgeXUDPClient concurrency model supports the use of a single queue for send, and another queue for recieve. MobiledgeXUDPClient here has 1 independent thread per send or receive direction of communication. More...

Detailed Description

MobiledgeXUDPClient is a UDP Client Implementation offered with MobiledgeX Unity Package. MobiledgeXUDPClient concurrency model supports the use of a single queue for send, and another queue for recieve. MobiledgeXUDPClient here has 1 independent thread per send or receive direction of communication.

Inheritance diagram for MobiledgeX.MobiledgeXUDPClient:

Public Member Functions

 MobiledgeXUDPClient (string hostName, int sendPort)
 
void Send (string message)
 
void Send (byte[] buffer)
 
async void RunSend ()
 
async void RunReceive ()
 
void Dispose ()
 

Public Attributes

bool run = true
 

Properties

ConcurrentQueue< byte[]> receiveQueue [get]
 
BlockingCollection< ArraySegment< byte > > sendQueue [get]
 

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