[This is preliminary documentation and is subject to change.]
Represents an ancestor for client classes that make calls to server endpoints.
This and descendant classes are thread safe ONLY for making non-constructing/destructing remote calls, unless ReserveTransport is set to true
in which case no operation is thread safe
System Object NFX DisposableObject NFX.Glue EndPoint NFX.Glue ClientEndPoint NFX.Instrumentation.Telemetry TelemetryReceiverClientNamespace: NFX.GlueAssembly: NFX (in NFX.dll) Version: 3.0.0.1 (3.0.0.1)
public abstract class ClientEndPoint : EndPoint
public abstract class ClientEndPoint : EndPoint
Public MustInherit Class ClientEndPoint
Inherits EndPoint
Public MustInherit Class ClientEndPoint
Inherits EndPoint
public ref class ClientEndPoint abstract : public EndPoint
public ref class ClientEndPoint abstract : public EndPoint
[<AbstractClassAttribute>]
type ClientEndPoint =
class
inherit EndPoint
end
[<AbstractClassAttribute>]
type ClientEndPoint =
class
inherit EndPoint
end
This class is not thread safe in general, however Glue allows for concurrent remote calls via the same endpoint instance
if the following conditions are met:
1). The endpoint instance has not reserved its transport (ReserveTransport=false)
2). Either remote contract is stateless OR none of the concurrent calls are constructing/destructing remote instance
The second condition ensures that stateful remote instance is consistent, otherwise operations may get executed
out-of-order in the multithreaded scenario