tModLoader  0.12 Alpha
A mod to make and play Terraria mods
Terraria.Social.WeGame.IPCBase Class Reference

Inherited by Terraria.Social.WeGame.IPCClient, and Terraria.Social.WeGame.IPCServer.

Public Member Functions

virtual void ProcessDataArriveEvent ()
 
virtual void ReadCallback (IAsyncResult result)
 
virtual void Reset ()
 
virtual bool Send (byte[] data)
 
virtual bool Send (string value)
 

Protected Member Functions

void AddPackToList (List< byte > pack)
 
virtual bool BeginReadData ()
 
List< List< byte > > GetPackList ()
 
bool HaveDataToRead ()
 
virtual void SendCallback (IAsyncResult result)
 

Protected Attributes

CancellationTokenSource _cancelTokenSrc
 
Action< byte[]> _onDataArrive
 
volatile bool _pipeBrokenFlag
 
PipeStream _pipeStream
 

Properties

int BufferSize [get, set]
 
virtual Action< byte[]> OnDataArrive