Options that control the I/O level transport configuration.
More...
|
static readonly int | DEFAULT_SEND_BUFFER_SIZE = 64 * 1024 |
|
static readonly int | DEFAULT_RECEIVE_BUFFER_SIZE = DEFAULT_SEND_BUFFER_SIZE |
|
static readonly bool | DEFAULT_TCP_NO_DELAY = true |
|
static readonly bool | DEFAULT_TCP_KEEP_ALIVE = false |
|
static readonly uint | DEFAULT_SO_LINGER = uint.MinValue |
|
static readonly uint | DEFAULT_SO_TIMEOUT = 0 |
|
static readonly int | DEFAULT_TCP_PORT = 5672 |
|
static readonly int | DEFAULT_LOCAL_PORT = 0 |
|
static readonly int | DEFAULT_WEBSOCKET_MAX_FRAME_SIZE = 65535 |
|
static readonly bool | DEFAULT_TRACE_BYTES = false |
|
|
int | DefaultTcpPort = DEFAULT_TCP_PORT [get, set] |
| Configures the default TCP port that all client connections should use if none is provided in the connect call. More...
|
|
string | LocalAddress [get, set] |
| Assigned local address that the client should bind to when creating a connection to the remote. The user is responsible for ensuring this local address is free and can be bound to otherwise an error will be thrown on connect. More...
|
|
int | LocalPort = DEFAULT_LOCAL_PORT [get, set] |
| Assigned local port that the connection should bind to when attempting to connect to the remote. The user is responsible for ensuring this local port is free otherwise an error will be thrown on connect. More...
|
|
bool | TraceBytes = DEFAULT_TRACE_BYTES [get, set] |
| Configures whether the IO layer should write the incoming and outgoing bytes to the logging framework. By default this option is configured to not trace the bytes as this is a high impact operation and will result in a large amount of additional logging noise. More...
|
|
bool | TcpNoDelay = DEFAULT_TCP_NO_DELAY [get, set] |
| Configures whether the TCP_NO_DELAY options is set on the created TCP connection (defaults to true). More...
|
|
int | SendBufferSize = DEFAULT_SEND_BUFFER_SIZE [get, set] |
| Configures the send buffer size for the underlying transport. More...
|
|
int | ReceiveBufferSize = DEFAULT_RECEIVE_BUFFER_SIZE [get, set] |
| Configures the receive buffer size for the underlying transport. More...
|
|
uint | SoLinger = DEFAULT_SO_LINGER [get, set] |
| Configures the linger value applied to the underlying transport which by default is disabled. More...
|
|
uint | SendTimeout = DEFAULT_SO_TIMEOUT [get, set] |
| Configures the transport level send timeout value which by default is set to infinite wait. More...
|
|
uint | ReceiveTimeout = DEFAULT_SO_TIMEOUT [get, set] |
| Configures the transport level receive timeout value which by default is set to infinite wait. More...
|
|
Options that control the I/O level transport configuration.
◆ TransportOptions() [1/2]
Apache.Qpid.Proton.Client.TransportOptions.TransportOptions |
( |
| ) |
|
|
inline |
Creates a default transport options instance.
◆ TransportOptions() [2/2]
Apache.Qpid.Proton.Client.TransportOptions.TransportOptions |
( |
TransportOptions |
other | ) |
|
|
inline |
Create a transport options instance that copies the configuration from the given instance.
- Parameters
-
other | The target options instance to copy |
◆ Clone()
object Apache.Qpid.Proton.Client.TransportOptions.Clone |
( |
| ) |
|
|
inline |
Clone this options instance, changes to the cloned options are not reflected in this options instance.
- Returns
- A deep copy of this options instance.
◆ DefaultTcpPort
int Apache.Qpid.Proton.Client.TransportOptions.DefaultTcpPort = DEFAULT_TCP_PORT |
|
getset |
Configures the default TCP port that all client connections should use if none is provided in the connect call.
◆ LocalAddress
string Apache.Qpid.Proton.Client.TransportOptions.LocalAddress |
|
getset |
Assigned local address that the client should bind to when creating a connection to the remote. The user is responsible for ensuring this local address is free and can be bound to otherwise an error will be thrown on connect.
◆ LocalPort
int Apache.Qpid.Proton.Client.TransportOptions.LocalPort = DEFAULT_LOCAL_PORT |
|
getset |
Assigned local port that the connection should bind to when attempting to connect to the remote. The user is responsible for ensuring this local port is free otherwise an error will be thrown on connect.
◆ ReceiveBufferSize
int Apache.Qpid.Proton.Client.TransportOptions.ReceiveBufferSize = DEFAULT_RECEIVE_BUFFER_SIZE |
|
getset |
Configures the receive buffer size for the underlying transport.
◆ ReceiveTimeout
uint Apache.Qpid.Proton.Client.TransportOptions.ReceiveTimeout = DEFAULT_SO_TIMEOUT |
|
getset |
Configures the transport level receive timeout value which by default is set to infinite wait.
◆ SendBufferSize
int Apache.Qpid.Proton.Client.TransportOptions.SendBufferSize = DEFAULT_SEND_BUFFER_SIZE |
|
getset |
Configures the send buffer size for the underlying transport.
◆ SendTimeout
uint Apache.Qpid.Proton.Client.TransportOptions.SendTimeout = DEFAULT_SO_TIMEOUT |
|
getset |
Configures the transport level send timeout value which by default is set to infinite wait.
◆ SoLinger
uint Apache.Qpid.Proton.Client.TransportOptions.SoLinger = DEFAULT_SO_LINGER |
|
getset |
Configures the linger value applied to the underlying transport which by default is disabled.
◆ TcpNoDelay
bool Apache.Qpid.Proton.Client.TransportOptions.TcpNoDelay = DEFAULT_TCP_NO_DELAY |
|
getset |
Configures whether the TCP_NO_DELAY options is set on the created TCP connection (defaults to true).
◆ TraceBytes
bool Apache.Qpid.Proton.Client.TransportOptions.TraceBytes = DEFAULT_TRACE_BYTES |
|
getset |
Configures whether the IO layer should write the incoming and outgoing bytes to the logging framework. By default this option is configured to not trace the bytes as this is a high impact operation and will result in a large amount of additional logging noise.
The documentation for this class was generated from the following file:
- src/Proton.Client/Client/TransportOptions.cs