Skip to content

Commit fa8abd7

Browse files
committed
refactor: 调整目录结构
1 parent b72ddfc commit fa8abd7

File tree

6 files changed

+7
-0
lines changed

6 files changed

+7
-0
lines changed

src/BootstrapBlazor/Services/TcpSocket/DataPackage/DataPackageAdapter.cs renamed to src/BootstrapBlazor/Services/TcpSocket/DataPackageAdapter/DataPackageAdapter.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,11 @@ public virtual async ValueTask HandlerAsync(ReadOnlyMemory<byte> data, Cancellat
4444
}
4545
}
4646

47+
public ValueTask<ReadOnlyMemory<byte>> ReceiveAsync(CancellationToken token = default)
48+
{
49+
50+
}
51+
4752
/// <summary>
4853
/// <inheritdoc/>
4954
/// </summary>

src/BootstrapBlazor/Services/TcpSocket/DataPackage/IDataPackageAdapter.cs renamed to src/BootstrapBlazor/Services/TcpSocket/DataPackageAdapter/IDataPackageAdapter.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,4 +50,6 @@ public interface IDataPackageAdapter
5050
/// langword="false"/>, contains <see langword="null"/>.</param>
5151
/// <returns><see langword="true"/> if the conversion was successful; otherwise, <see langword="false"/>.</returns>
5252
bool TryConvertTo(ReadOnlyMemory<byte> data, [NotNullWhen(true)] out object? entity);
53+
54+
ValueTask<ReadOnlyMemory<byte>> ReceiveAsync(CancellationToken token = default);
5355
}

0 commit comments

Comments
 (0)