public static class StringSockets.Builder extends Object
Modifier and Type | Method and Description |
---|---|
StringSockets.Builder |
charset(Charset charset) |
rx.Observable<String> |
create() |
StringSockets.Builder |
port(int port) |
StringSockets.Builder |
quietTimeout(long duration,
TimeUnit unit) |
StringSockets.Builder |
quietTimeoutMs(long quietTimeoutMs) |
StringSockets.Builder |
reconnectDelay(long duration,
TimeUnit unit) |
StringSockets.Builder |
reconnectDelayMs(long reconnectDelayMs) |
StringSockets.Builder |
subscribeOn(rx.Scheduler scheduler) |
public StringSockets.Builder port(int port)
public StringSockets.Builder quietTimeoutMs(long quietTimeoutMs)
public StringSockets.Builder quietTimeout(long duration, TimeUnit unit)
public StringSockets.Builder reconnectDelayMs(long reconnectDelayMs)
public StringSockets.Builder reconnectDelay(long duration, TimeUnit unit)
public StringSockets.Builder charset(Charset charset)
public StringSockets.Builder subscribeOn(rx.Scheduler scheduler)
public rx.Observable<String> create()
Copyright © 2020. All rights reserved.