|
Terraria v1.4.4.9
Terraria source code documentation
|
Classes | |
| class | State |
Public Member Functions | |
| override ValueTask | DisposeAsync () |
| override void | Dispose () |
Static Package Attributes | |
| static readonly MsQuicNativeMethods.StreamCallbackDelegate | s_streamDelegate = NativeCallbackHandler |
Properties | |
| override bool | CanRead [get] |
| override bool | CanWrite [get] |
| override bool | ReadsCompleted [get] |
| override bool | CanTimeout [get] |
| override int | ReadTimeout [get, set] |
| override int | WriteTimeout [get, set] |
| override long | StreamId [get] |
Private Types | |
| enum | ReadState { None , IndividualReadComplete , PendingRead , ReadsCompleted , Aborted , ConnectionClosed , Closed } |
| enum | ShutdownWriteState { None , Canceled , Finished , ConnectionClosed } |
| enum | ShutdownState { None , Canceled , Pending , Finished , ConnectionClosed } |
| enum | SendState { None , Pending , Finished , Aborted , ConnectionClosed , Closed } |
Private Member Functions | |
| CancellationTokenRegistration | HandleWriteStartState (bool emptyBuffer, CancellationToken cancellationToken) |
| void | HandleWriteCompletedState () |
| void | HandleWriteFailedState () |
| void | StartShutdown (QUIC_STREAM_SHUTDOWN_FLAGS flags, long errorCode) |
| ~MsQuicStream () | |
| void | Dispose (bool disposing) |
| void | EnableReceive () |
| unsafe ValueTask | SendReadOnlyMemoryAsync (ReadOnlyMemory< byte > buffer, QUIC_SEND_FLAGS flags) |
| unsafe ValueTask | SendReadOnlySequenceAsync (ReadOnlySequence< byte > buffers, QUIC_SEND_FLAGS flags) |
| unsafe ValueTask | SendReadOnlyMemoryListAsync (ReadOnlyMemory< ReadOnlyMemory< byte > > buffers, QUIC_SEND_FLAGS flags) |
| void | ReceiveComplete (int bufferLength) |
| long | GetStreamId () |
| void | ThrowIfDisposed () |
Private Attributes | |
| readonly State | _state = new State() |
| readonly bool | _canRead |
| readonly bool | _canWrite |
| long | _streamId = -1L |
| int | _disposed |
| int | _readTimeout = -1 |
| int | _writeTimeout = -1 |
Definition at line 12 of file MsQuicStream.cs.