terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches
Telepathy.Client Class Reference
+ Inheritance diagram for Telepathy.Client:

Public Member Functions

void Connect (string ip, int port)
 
void Disconnect ()
 
bool Send (byte[] data, int length)
 
 Client ()
 
bool GetNextMessage ([Out] Message message)
 

Public Attributes

TcpClient client
 
bool NoDelay = true
 
int MaxMessageSize
 
int SendTimeout
 

Static Public Attributes

static int messageQueueSizeWarning
 

Static Protected Member Functions

static bool SendMessagesBlocking (NetworkStream stream, byte[][] messages)
 
static bool ReadMessageBlocking (NetworkStream stream, int MaxMessageSize, [Out] byte[] content)
 
static void ReceiveLoop (int connectionId, TcpClient client, ConcurrentQueue< Message > receiveQueue, int MaxMessageSize)
 
static void SendLoop (int connectionId, TcpClient client, SafeQueue< byte[]> sendQueue, ManualResetEvent sendPending)
 

Protected Attributes

ConcurrentQueue< MessagereceiveQueue
 

Properties

bool Connected [get]
 
bool Connecting [get]
 
int ReceiveQueueCount [get]
 

Private Member Functions

bool GetIPV6AddressFromIPV4 (string hostname, [Out] string ipv6Address)
 
void ReceiveThreadFunction (string ip, int port)
 
IPAddress GetIPAddress ()
 
void< ReceiveThreadFunctionb__11_0 ()
 

Private Attributes

Thread receiveThread
 
Thread sendThread
 
bool _Connecting
 
SafeQueue< byte[]> sendQueue
 
ManualResetEvent sendPending
 

Static Private Attributes

static byte[] header
 
static byte[] payload
 

Detailed Description

Definition at line 14 of file Client.cs.


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