Package net.dona.doip.client.transport
Class ConnectionOptions
java.lang.Object
net.dona.doip.client.transport.ConnectionOptions
Options for a connection to a DOIP server.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe IP address of the DOIP server.The identifier for the client; if present, will be used along withclientPublicKey
andclientPrivateKey
to produce a client-side TLS certificate to be used for the connection.Connection timeout in ms.int
The port of the DOIP server.Read timeout in ms.The identifier of the server; if presenttrustedServerPublicKeys
should also be provided.A list of public keys that will be trusted for this server. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
address
The IP address of the DOIP server. -
port
public int portThe port of the DOIP server. -
connectTimeoutMs
Connection timeout in ms. -
readTimeoutMs
Read timeout in ms. -
serverId
The identifier of the server; if presenttrustedServerPublicKeys
should also be provided. -
trustedServerPublicKeys
A list of public keys that will be trusted for this server. -
clientId
The identifier for the client; if present, will be used along withclientPublicKey
andclientPrivateKey
to produce a client-side TLS certificate to be used for the connection. -
clientPublicKey
-
clientPrivateKey
-
-
Constructor Details
-
ConnectionOptions
public ConnectionOptions()
-