Terraria v1.4.4.9
Terraria source code documentation
|
Public Member Functions | |
void | Init (string serverName) |
override void | ReadCallback (IAsyncResult result) |
void | StartListen () |
void | ContinueReadOrWait () |
void | Tick () |
virtual void | Reset () |
virtual void | ProcessDataArriveEvent () |
virtual bool | Send (string value) |
virtual bool | Send (byte[] data) |
Protected Member Functions | |
void | AddPackToList (List< byte > pack) |
List< List< byte > > | GetPackList () |
bool | HaveDataToRead () |
virtual bool | BeginReadData () |
virtual void | SendCallback (IAsyncResult result) |
Protected Attributes | |
volatile bool | _pipeBrokenFlag |
PipeStream | _pipeStream |
CancellationTokenSource | _cancelTokenSrc |
Action< byte[]> | _onDataArrive |
Properties | |
override Action< byte[]> | OnDataArrive |
int | BufferSize [get, set] |
Events | |
Action | OnClientAccess |
Private Member Functions | |
NamedPipeServerStream | GetPipeStream () |
void | LazyCreatePipe () |
void | RestartListen () |
void | ConnectionCallback (IAsyncResult result) |
void | ProcessClientAccessEvent () |
void | CheckFlagAndFireEvent () |
void | ProcessPipeBrokenEvent () |
Private Attributes | |
string | _serverName |
bool | _haveClientAccessFlag |
List< List< byte > > | _producer = new List<List<byte>>() |
List< List< byte > > | _consumer = new List<List<byte>>() |
List< byte > | _totalData = new List<byte>() |
object | _listLock = new object() |
volatile bool | _haveDataToReadFlag |
Definition at line 8 of file IPCServer.cs.