Skip to content

b9cccc3e 3ad1 a05f fdf0 3e06ae18e128

Axel Kesseler edited this page Mar 1, 2023 · 1 revision

TcpClientSocket Class

A class to allow physical data transmission.

Inheritance Hierarchy

System.Object
  Plexdata.LogWriter.Internals.Sockets.TcpClientSocket
Namespace: Plexdata.LogWriter.Internals.Sockets
Assembly: Plexdata.LogWriter.Network (in Plexdata.LogWriter.Network.dll) Version: 1.0.7.1

Syntax

C#

internal class TcpClientSocket : ITcpClientSocket, 
	IDisposable

The TcpClientSocket type exposes the following members.

Constructors

 

Name Description
Public method TcpClientSocket The only class constructor.
  Back to Top

Methods

 

Name Description
Public method Close Closes the socket.
Public method Dispose Frees all disposable instance resources.
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Open Opens the socket.
Public method Send Sends the payload via connected socket.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
  Back to Top

Fields

 

Name Description
Private field factory The internal factory to create required dependencies.
Private field resolver An instance of the resolver facade.
Private field settings An instance of the settings to use.
Private field socket An instance of the socket facade.
  Back to Top

Extension Methods

 

Name Description
Public Extension Method SafeDispose Ensures a safe object disposal. (Defined by DisposableExtension.)
  Back to Top

Remarks

This class represents the implementation of a facade of a TCP socket client.

See Also

Reference

Plexdata.LogWriter.Internals.Sockets Namespace

Clone this wiki locally