A no-op default implementation of the BookmarkStore interface that does nothing.
More...
A no-op default implementation of the BookmarkStore interface that does nothing.
| AMPS.Client.DefaultBookmarkStore.DefaultBookmarkStore |
( |
| ) |
|
|
inline |
| void AMPS.Client.DefaultBookmarkStore.discard |
( |
Field |
topic, |
|
|
long |
bookmarkSequenceNumber |
|
) |
| |
|
inline |
Discards a bookmark associated with the specified topic and bookmark sequence number.
- Parameters
-
| topic | The topic associated with the bookmark. |
| bookmarkSequenceNumber | The sequence number of the bookmark to discard. |
Implements AMPS.Client.BookmarkStore.
| void AMPS.Client.DefaultBookmarkStore.discard |
( |
Message |
message | ) |
|
|
inline |
Discards the bookmark associated with the given message.
- Parameters
-
| message | The message containing the bookmark to discard. |
Implements AMPS.Client.BookmarkStore.
| void AMPS.Client.DefaultBookmarkStore.Dispose |
( |
| ) |
|
|
inline |
Disposes of any resources held by the bookmark store.
| Field AMPS.Client.DefaultBookmarkStore.getMostRecent |
( |
Field |
topic, |
|
|
bool |
useList |
|
) |
| |
|
inline |
Retrieves the most recent bookmark for the specified topic.
- Parameters
-
| topic | The topic for which to retrieve the most recent bookmark. |
| useList | Specifies whether to use the bookmark list. |
- Returns
- The most recent bookmark for the specified topic.
Implements AMPS.Client.BookmarkStore.
| long AMPS.Client.DefaultBookmarkStore.getOldestBookmarkSeq |
( |
Field |
subId | ) |
|
|
inline |
Retrieves the oldest bookmark sequence number associated with the specified subscription ID.
- Parameters
-
| subId | The subscription ID. |
- Returns
- The oldest bookmark sequence number.</returns
Implements AMPS.Client.BookmarkStore.
| bool AMPS.Client.DefaultBookmarkStore.isDiscarded |
( |
Message |
message | ) |
|
|
inline |
Determines whether the message should be discarded.
- Parameters
-
| message | The message to check. |
- Returns
- Always returns false.
Implements AMPS.Client.BookmarkStore.
| long AMPS.Client.DefaultBookmarkStore.log |
( |
Message |
message | ) |
|
|
inline |
Logs the bookmark associated with the given message.
- Parameters
-
| message | The message containing the bookmark. |
- Returns
- Returns 0.
Implements AMPS.Client.BookmarkStore.
Marks a bookmark as persisted for the specified subscription ID.
- Parameters
-
| subId | The subscription ID. |
| bookmark | The bookmark to mark as persisted. |
Implements AMPS.Client.BookmarkStore.
| void AMPS.Client.DefaultBookmarkStore.persisted |
( |
Field |
subId, |
|
|
long |
bookmark |
|
) |
| |
|
inline |
Marks a bookmark as persisted for the specified subscription ID.
- Parameters
-
| subId | The subscription ID. |
| bookmark | The bookmark to mark as persisted. |
Implements AMPS.Client.BookmarkStore.
| void AMPS.Client.DefaultBookmarkStore.purge |
( |
Field |
subId | ) |
|
|
inline |
Purges the bookmark associated with the specified subscription ID.
- Parameters
-
| subId | The subscription ID whose bookmark to purge. |
Implements AMPS.Client.BookmarkStore.
| void AMPS.Client.DefaultBookmarkStore.purge |
( |
| ) |
|
|
inline |
Sets the resize handler for the bookmark store.
- Parameters
-
| handler | The resize handler to set. |
Implements AMPS.Client.BookmarkStore.
| void AMPS.Client.DefaultBookmarkStore.setServerVersion |
( |
int |
version | ) |
|
|
inline |
The documentation for this class was generated from the following file:
- AMPS.Client/DefaultBookmarkStore.cs