BaseEndpoint Class |
Namespace: Crosser.Server.Modules.Endpoint
public abstract class BaseEndpoint : IBaseEndpoint, IDisposable
The BaseEndpoint type exposes the following members.
Name | Description | |
---|---|---|
BaseEndpoint |
Ctor
|
Name | Description | |
---|---|---|
AllowedPingFails |
How many continous failed pings is allowed before disposing the connection?
| |
AuthRequired |
True if the client need to authenticate before being able to send/receive other data.
If true the client have to authenticate before the AuthTimeout expires.
| |
Backlog |
How large the backlog for incoming connections will be
| |
Certificate |
The server-side certificate X509Certificate2. Certificates can be loaded with the helper => GetCertificateFromStore(String, StoreLocation) | |
CertificateRequired |
If true the client need to provide a certificate
| |
Interactive |
If true the full-duplex client will get confirmation messages for every operation.
Default is true, but client can turn of when sending initial message of just by calling interact+/interact-.
| |
IPEndpoint |
Connection endpoint
| |
Location |
The location of the endpoint, default is 'localhost'
| |
PingTimeout |
The PING timeout for this endpoint.
Less or equal to zero will disable PING/PONG on the endpoint.
By default this is set to PingTimeout | |
Port |
Port number for the endpoint
| |
ReadBufferSize |
Size of the read buffer for the ITransport on the endpoint
| |
SecureRequired |
True if the endpoint uses encrypted communication
| |
Server |
Reference to the IServer | |
SslProtocols |
The accepted SslProtocols. Default is Tls12 | |
UseNagleAlgorithm |
Default true
| |
WriteBufferSize |
Size of the write buffer for the ITransport on the endpoint
|
Name | Description | |
---|---|---|
Config |
Override this in the implementing Endpoint class
| |
Dispose |
Cleans up resources and stop accepting client
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ProcessConnectionAttempt |
Implement this in the concrete endpoint class
| |
Start |
Creates the IPEndpoint and starts listening for connections on the specified location:port
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |