$31 GRAYBYTE WORDPRESS FILE MANAGER $93

SERVER : webd004.cluster105.gra.hosting.ovh.net #1 SMP Fri May 15 02:41:25 UTC 2026
SERVER IP : 213.186.33.16 | ADMIN IP 216.73.217.13
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : _dyuweyrj4,_dyuweyrj4r,dl

/home/agencefrei/www/wp-includes/collaboration/

HOME
Current File : /home/agencefrei/www/wp-includes/collaboration//interface-wp-sync-storage.php
<?php
/**
 * WP_Sync_Storage interface
 *
 * @package WordPress
 */

interface WP_Sync_Storage {
	/**
	 * Adds a sync update to a given room.
	 *
	 * @since 7.0.0
	 *
	 * @param string $room   Room identifier.
	 * @param mixed  $update Serializable sync update, opaque to the storage implementation.
	 * @return bool True on success, false on failure.
	 */
	public function add_update( string $room, $update ): bool;

	/**
	 * Gets awareness state for a given room.
	 *
	 * @since 7.0.0
	 *
	 * @param string $room Room identifier.
	 * @return array<int, mixed> Awareness state.
	 */
	public function get_awareness_state( string $room ): array;

	/**
	 * Gets the current cursor for a given room. This should return a monotonically
	 * increasing integer that represents the last update that was returned for the
	 * room during the current request. This allows clients to retrieve updates
	 * after a specific cursor on subsequent requests.
	 *
	 * @since 7.0.0
	 *
	 * @param string $room Room identifier.
	 * @return int Current cursor for the room.
	 */
	public function get_cursor( string $room ): int;

	/**
	 * Gets the total number of stored updates for a given room.
	 *
	 * @since 7.0.0
	 *
	 * @param string $room Room identifier.
	 * @return int Total number of updates.
	 */
	public function get_update_count( string $room ): int;

	/**
	 * Retrieves sync updates from a room for a given client and cursor. Updates
	 * from the specified client should be excluded.
	 *
	 * @since 7.0.0
	 *
	 * @param string $room   Room identifier.
	 * @param int    $cursor Return updates after this cursor.
	 * @return array<int, mixed> Sync updates.
	 */
	public function get_updates_after_cursor( string $room, int $cursor ): array;

	/**
	 * Removes updates from a room that are older than the provided cursor.
	 *
	 * @since 7.0.0
	 *
	 * @param string $room   Room identifier.
	 * @param int    $cursor Remove updates with markers < this cursor.
	 * @return bool True on success, false on failure.
	 */
	public function remove_updates_before_cursor( string $room, int $cursor ): bool;

	/**
	 * Sets awareness state for a given room.
	 *
	 * @since 7.0.0
	 *
	 * @param string            $room      Room identifier.
	 * @param array<int, mixed> $awareness Serializable awareness state.
	 * @return bool True on success, false on failure.
	 */
	public function set_awareness_state( string $room, array $awareness ): bool;
}

Current_dir [ WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
2 Jun 2026 12.13 AM
agencefrei / users
0705
block-patterns.php
15.24 KB
20 May 2026 11.16 PM
agencefrei / users
0644
cache.php
13.17 KB
6 Mar 2026 5.42 PM
agencefrei / users
0644
class-http.php
0.358 KB
6 Mar 2026 5.42 PM
agencefrei / users
0644
class-wp-editor.php
70.535 KB
20 May 2026 11.16 PM
agencefrei / users
0644
class-wp-http-polling-sync-server.php
16.988 KB
20 May 2026 11.16 PM
agencefrei / users
0644
class-wp-http.php
40.672 KB
20 May 2026 11.16 PM
agencefrei / users
0644
class-wp-object-cache.php
17.113 KB
6 Mar 2026 5.42 PM
agencefrei / users
0644
class-wp-sync-post-meta-storage.php
9.032 KB
20 May 2026 11.16 PM
agencefrei / users
0644
http.php
26.616 KB
20 May 2026 11.16 PM
agencefrei / users
0644
interface-wp-sync-storage.php
2.37 KB
20 May 2026 11.16 PM
agencefrei / users
0644
plugin.php
35.646 KB
6 Mar 2026 5.42 PM
agencefrei / users
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME
Static GIF Static GIF