Skip to content

490fbaf6 1d74 872c 1bc7 e3aa41399bbc

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

UdpChunkHelper Class

A class to allow splitting of payloads into chunks.

Inheritance Hierarchy

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

Syntax

C#

internal class UdpChunkHelper : IUdpChunkHelper

The UdpChunkHelper type exposes the following members.

Constructors

 

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

Methods

 

Name Description
Private method CreateInitialHeader Creates and initializes a GELF header.
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 GetChunks Splits the payload into chunks according to current settings.
Private method GetGelfChunks Splits provided payload into GELF chunks.
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Private method GetPureChunks Splits provided payload into pure chunks.
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 ToString Returns a string that represents the current object. (Inherited from Object.)
Private method UpdateSequenceNumber Updates the sequence number byte of a GELF header.
  Back to Top

Fields

 

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

Remarks

This class represents the implementation of a helper that allows splitting of payloads into chunks.

See Also

Reference

Plexdata.LogWriter.Internals.Helpers Namespace

Clone this wiki locally