DEPRECATED: Diffusion Silverlight Classic API  5.9.4
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events
PushTechnology.Transports.Paging.IPagedTopicListener Interface Reference

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...
 

Detailed Description

The listener for events from a paged topic.

Member Function Documentation

void PushTechnology.Transports.Paging.IPagedTopicListener.Add ( PagedTopicHandler  handler,
PageStatus  status,
ILines  lines 
)

Notifies lines added to the end of the topic.

Parameters
handlerThe paged topic handler.
statusThe current status of the topic.
linesThe 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.

Parameters
handlerThe paged topic handler.
statusThe current status of the topic.
linesThe 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 ).

Parameters
handlerThe paged topic handler.
statusThe 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.

Parameters
handlerThe paged topic handler.
statusThe current status of the topic.
indexThe relative index of the line within the current page (where the index of the first line is zero).
linesAn ILines object containing a single line of data which may be used to replace the current line.

The documentation for this interface was generated from the following file: