skipcheck

TM1 client · Docs · Sessions and logins

Tm1Timeouts.TimeoutsBuilder

using Skipcheck.Tm1.Client.Session;

Builds Tm1Timeouts. Written by hand rather than with Lombok's @Builder, so its methods can carry Javadoc.

Members

ConnectSets how long to wait for a connection, including TLS.
LoginSets how long to wait for a login response.
RequestSets how long a request may go without receiving any data.
CloseSets how long to wait for TM1 to close the session.
RefusedLoginSets how long requests fail at once after TM1 refused a login; zero to log in again straight away.
BuildThe timeouts, with unset values at their defaults.

Connect

TimeoutsBuilder Connect(TimeSpan value)

Sets how long to wait for a connection, including TLS.

Login

TimeoutsBuilder Login(TimeSpan value)

Sets how long to wait for a login response.

Request

TimeoutsBuilder Request(TimeSpan value)

Sets how long a request may go without receiving any data.

Close

TimeoutsBuilder Close(TimeSpan value)

Sets how long to wait for TM1 to close the session.

RefusedLogin

TimeoutsBuilder RefusedLogin(TimeSpan value)

Sets how long requests fail at once after TM1 refused a login; zero to log in again straight away.

Build

Tm1Timeouts Build()

The timeouts, with unset values at their defaults.

Throws

ArgumentException
A timeout is zero or negative.