public class UplinkOption
extends java.lang.Object
Uplink
.Modifier and Type | Method and Description |
---|---|
static UplinkOption |
dialTimeout(int dialTimeout)
Option for dial timeout which defines how long client should wait for establishing
connection to peers.
|
static UplinkOption |
tempDir(java.lang.String tempDir)
Option for temp directory to be used during upload.
|
static UplinkOption |
userAgent(java.lang.String userAgent)
Option for user agent string.
|
public static UplinkOption tempDir(java.lang.String tempDir)
tempDir
- path to temp directoryUplinkOption
public static UplinkOption userAgent(java.lang.String userAgent)
userAgent
- user agent stringUplinkOption
public static UplinkOption dialTimeout(int dialTimeout)
dialTimeout
- dial timeout in millisecondsUplinkOption