CultNetDatabaseServer: delete the ApplyPutAsync/ApplyDeleteAsync pass-throughs
A second public door named like the peer path with no caller besides the handlers. Hosts keep CultNetDatabase.ApplyPutAsync/ApplyDeleteAsync. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
51ca81a1d4
commit
cf1e4f7a9d
1 changed files with 2 additions and 18 deletions
|
|
@ -67,22 +67,6 @@ namespace GameCult.Networking
|
|||
/// </summary>
|
||||
public CultNetDatabase Database => _database;
|
||||
|
||||
/// <summary>
|
||||
/// Applies a raw put message through the database shard policy.
|
||||
/// </summary>
|
||||
public Task<object> ApplyPutAsync(CultNetDocumentPutRawMessage message)
|
||||
{
|
||||
return _database.ApplyPutAsync(message);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Applies a raw delete message through the database shard policy.
|
||||
/// </summary>
|
||||
public Task ApplyDeleteAsync(CultNetDocumentDeleteMessage message)
|
||||
{
|
||||
return _database.ApplyDeleteAsync(message);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Creates a raw snapshot response from the database cache.
|
||||
/// </summary>
|
||||
|
|
@ -308,7 +292,7 @@ namespace GameCult.Networking
|
|||
{
|
||||
try
|
||||
{
|
||||
await ApplyPutAsync(message).ConfigureAwait(false);
|
||||
await _database.ApplyPutAsync(message).ConfigureAwait(false);
|
||||
}
|
||||
catch (CultNetShardAuthorityException ex)
|
||||
{
|
||||
|
|
@ -339,7 +323,7 @@ namespace GameCult.Networking
|
|||
{
|
||||
try
|
||||
{
|
||||
await ApplyDeleteAsync(message).ConfigureAwait(false);
|
||||
await _database.ApplyDeleteAsync(message).ConfigureAwait(false);
|
||||
}
|
||||
catch (CultNetShardAuthorityException ex)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue