public static final class

ChanPerformer.ReadThreadsResult

extends Object
java.lang.Object
   ↳ chan.content.ChanPerformer.ReadThreadsResult

Class Overview

Result holder for onReadThreads(ReadThreadsData).

Summary

Public Constructors
ChanPerformer.ReadThreadsResult(Posts... threads)
ChanPerformer.ReadThreadsResult(Collection<Posts> threads)
Public Methods
ChanPerformer.ReadThreadsResult setBoardSpeed(int boardSpeed)

Stores board speed value (number of posts per hour) in this result.

ChanPerformer.ReadThreadsResult setValidator(HttpValidator validator)

Stores validator in this result.

[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public ChanPerformer.ReadThreadsResult (Posts... threads)

Constructor for ChanPerformer.ReadThreadsResult.

Parameters
threads Posts: Array of Posts.

public ChanPerformer.ReadThreadsResult (Collection<Posts> threads)

Constructor for ChanPerformer.ReadThreadsResult.

Parameters
threads Collection: Collection of Posts.

Public Methods

public ChanPerformer.ReadThreadsResult setBoardSpeed (int boardSpeed)

Stores board speed value (number of posts per hour) in this result.

Parameters
boardSpeed int: Number of posts per hour.
Returns
ChanPerformer.ReadThreadsResult This object.

public ChanPerformer.ReadThreadsResult setValidator (HttpValidator validator)

Stores validator in this result. By default client will call getValidator() after the last request. This can be useful if you want to store validator from intermediate request.

Parameters
validator HttpValidator: HttpValidator instance.
Returns
ChanPerformer.ReadThreadsResult This object.