![]() |
DEPRECATED: Diffusion Silverlight Classic API
5.9.4
|
The listener for events from a paged topic. More...
Public Member Functions | |
void | Page (PagedTopicHandler handler, PageStatus status, ILines lines) |
Notifies receipt of a page from the server. More... | |
void | Add (PagedTopicHandler handler, PageStatus status, ILines lines) |
Notifies lines added to the end of the topic. More... | |
void | Update (PagedTopicHandler handler, PageStatus status, int index, ILines lines) |
Notifies an update to the data of a line on the current page. More... | |
void | StatusChanged (PagedTopicHandler handler, PageStatus status) |
Notifies a status message. More... | |
The listener for events from a paged topic.
void PushTechnology.Transports.Paging.IPagedTopicListener.Add | ( | PagedTopicHandler | handler, |
PageStatus | status, | ||
ILines | lines | ||
) |
Notifies lines added to the end of the topic.
handler | The paged topic handler. |
status | The current status of the topic. |
lines | The lines of data to be added to the end of 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.Transports.Paging.IPagedTopicListener.Page | ( | PagedTopicHandler | handler, |
PageStatus | status, | ||
ILines | lines | ||
) |
Notifies receipt of a page from the server.
This may be received from PagedTopicHandler.Open( int, int ) or PagedTopicHandler.Page( string ) requests.
handler | The paged topic handler. |
status | The current status of the topic. |
lines | The lines of data on the page. |
void PushTechnology.Transports.Paging.IPagedTopicListener.StatusChanged | ( | PagedTopicHandler | handler, |
PageStatus | status | ||
) |
Notifies a status message.
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 on 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 PagedTopicHandler.Page( string ).
handler | The paged topic handler. |
status | The current status in relation to the current page. |
void PushTechnology.Transports.Paging.IPagedTopicListener.Update | ( | PagedTopicHandler | handler, |
PageStatus | status, | ||
int | index, | ||
ILines | lines | ||
) |
Notifies an update to the data of a line on the current page.
handler | The paged topic handler. |
status | The current status of the topic. |
index | The relative index of the line within the current page (where the index of the first line is zero). |
lines | An ILines object containing a single line of data which may be used to replace the current line. |