tModLoader v2024.03
A mod to make and play Terraria mods
IPCServer Class Reference

Inherits IPCBase.

Public Member Functions

void ContinueReadOrWait ()
void Init (string serverName)
override void ReadCallback (IAsyncResult result)
void StartListen ()
void Tick ()
- Public Member Functions inherited from IPCBase
virtual void ProcessDataArriveEvent ()
virtual void ReadCallback (IAsyncResult result)
virtual void Reset ()
virtual bool Send (byte[] data)
virtual bool Send (string value)


override Action< byte[]> OnDataArrive
- Properties inherited from IPCBase
int BufferSize [get, set]
virtual Action< byte[]> OnDataArrive


Action OnClientAccess

Additional Inherited Members

- Protected Member Functions inherited from IPCBase
void AddPackToList (List< byte > pack)
virtual bool BeginReadData ()
List< List< byte > > GetPackList ()
bool HaveDataToRead ()
virtual void SendCallback (IAsyncResult result)
- Protected Attributes inherited from IPCBase
CancellationTokenSource _cancelTokenSrc
Action< byte[]> _onDataArrive
volatile bool _pipeBrokenFlag
PipeStream _pipeStream

Member Function Documentation

◆ ReadCallback()

override void IPCServer.ReadCallback ( IAsyncResult  result)

Reimplemented from IPCBase.