SyslogServer Class
Namespace: Rebex.Net
Assembly: Rebex.Syslog.dll (version 7.0.9147)
Represents a syslog server that can receive syslog messages.
Syntax
public class SyslogServer : IDisposable
Implements
Inherited Members
Constructors
Name | Description |
---|---|
Syslog |
Initializes an instance of the Syslog |
Fields
Name | Description |
---|---|
Default |
Default syslog port number (514). |
Default |
Default syslog port number for TLS connection (6514). |
Properties
Name | Description |
---|---|
Bindings | Gets a read-only collection of server bindings. |
Log |
Gets or sets the Log |
Settings | Gets or sets the server settings. |
Methods
Name | Description |
---|---|
Bind(Syslog |
Binds the server to an endpoint using specified settings. |
Bind(Syslog |
Binds the specified protocol listener to its default port on all network IPv4 interfaces. |
Bind(IEnumerable<SyslogBinding>) | Binds the server to the endpoints using specified settings. |
Bind(Int32, Syslog |
Binds the server to the specified port on all network IPv4 interfaces. |
Bind(IPEnd |
Binds the server to the specified endpoint. |
Dispose() | Disposes the server object, releasing all listeners and sessions. |
Start() | Starts the server. |
Stop() | Stops the server. |
Unbind() | Unbinds server from all network interfaces. |
Unbind(Syslog |
Unbinds server from the specified endpoint, which uses specified protocol. |
Unbind(Syslog |
Unbinds server from endpoints used by the specified protocol. |
Unbind(Int32) | Unbinds server from endpoints listening on specified port. |
Unbind(IPAddress) | Unbinds server from endpoints listening on specified address. |
Unbind(IPEnd |
Unbinds server from the specified endpoint. |
Events
Name | Description |
---|---|
Error |
Occurs when an error occurs while receiving syslog messages. |
Message |
Occurs when a syslog message is received. |