TelnetAppenderSocketHandler ClassApache log4net™ SDK Documentation
Helper class to manage connected clients
Inheritance Hierarchy

SystemObject
  log4net.AppenderTelnetAppenderSocketHandler

Namespace: log4net.Appender
Assembly: log4net (in log4net.dll) Version: 2.0.6.0-.NET 4.0
Syntax

protected class SocketHandler : IDisposable

The TelnetAppenderSocketHandler type exposes the following members.

Constructors

  NameDescription
Public methodTelnetAppenderSocketHandler
Opens a new server port on
Top
Properties

  NameDescription
Public propertyHasConnections
Test if this handler has active connections
Top
Methods

  NameDescription
Public methodDispose
Close all network connections
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSend
Sends a string message to each of the connected clients
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Top
Remarks

The SocketHandler class is used to accept connections from clients. It is threaded so that clients can connect/disconnect asynchronously.

See Also

Reference