Table of Contents

Class ServerOptionsBuilder

Namespace
AnyProtocol.Configuration
Assembly
AnyProtocol.dll

Provides the server options builder implementation used by AnyProtocol applications.

public sealed class ServerOptionsBuilder
Inheritance
ServerOptionsBuilder
Inherited Members

Constructors

ServerOptionsBuilder()

public ServerOptionsBuilder()

Methods

RequireOrdering(TransportOrdering)

Requires the selected transport to guarantee the specified ordering.

public ServerOptionsBuilder RequireOrdering(TransportOrdering ordering)

Parameters

ordering TransportOrdering

Returns

ServerOptionsBuilder

UseProtocol(ProtocolKey)

Performs the use protocol operation.

public ServerOptionsBuilder UseProtocol(ProtocolKey protocol)

Parameters

protocol ProtocolKey

The protocol registration key.

Returns

ServerOptionsBuilder

The result of the use protocol operation.

UseProtocols(params ProtocolKey[])

Performs the use protocols operation.

public ServerOptionsBuilder UseProtocols(params ProtocolKey[] protocols)

Parameters

protocols ProtocolKey[]

The protocols.

Returns

ServerOptionsBuilder

The result of the use protocols operation.

UseTransport(string)

Performs the use transport operation.

public ServerOptionsBuilder UseTransport(string name)

Parameters

name string

The registered instance name.

Returns

ServerOptionsBuilder

The result of the use transport operation.