![]() |
Diffusion .NET Classic API - Core and Common
5.9.4
|
Listener for events from a paged topic. More...
Public Member Functions | |
void | Page (IPageStatus status, ILines lines) |
Notifies receipt of a page from the server. More... | |
void | Add (IPageStatus status, ILines lines) |
Notifies lines added to the end of the current page. More... | |
void | Update (IPageStatus status, int index, ILines line) |
Notifies an update to the data of a line on the current page. More... | |
void | StatusChanged (IPageStatus status) |
Notifies a status change. More... | |
Listener for events from a paged topic.
void PushTechnology.DiffusionCore.Connection.Connectors.ExternalClient.Paging.IPagedTopicListener.Add | ( | IPageStatus | status, |
ILines | lines | ||
) |
Notifies lines added to the end of the current page.
status | The current status of the topic. |
lines | The lines of data to be added to the current page. There may be less than or equal to the number of lines required to fill the page and the status would indicate whether there is now more following the current page. |
void PushTechnology.DiffusionCore.Connection.Connectors.ExternalClient.Paging.IPagedTopicListener.Page | ( | IPageStatus | status, |
ILines | lines | ||
) |
Notifies receipt of a page from the server.
This may be received in response to IPagedTopicHandler.Open( int int ) or IPagedTopicHandler.Page( PageOption ) requests.
status | The current status of the topic. |
lines | The lines of data on the page. |
void PushTechnology.DiffusionCore.Connection.Connectors.ExternalClient.Paging.IPagedTopicListener.StatusChanged | ( | IPageStatus | status | ) |
Notifies a status change.
This will happen if lines have been added or removed which affect the pagination (e.g. the current page number of the total number of pages has changed). If lines have been added or removed one or before the current page then the status will indicate that the page is 'dirty', meaning that what is currently displayed is out of date and should be refreshed (using IPagedTopicHandler.Page( PageOption ).
status |
void PushTechnology.DiffusionCore.Connection.Connectors.ExternalClient.Paging.IPagedTopicListener.Update | ( | IPageStatus | status, |
int | index, | ||
ILines | line | ||
) |
Notifies an update to the data of a line on the current page.
status | Notifies an update to the data of a line on the current page. |
index | The relative index of the line within the current page (where the index of the first lines is 0). |
line | An ILines object containing a single line of data which may be used to replace the current line. |