Gemstone Communication Library
Show/Hide TOC

# Payload Class

A helper class containing methods for manipulation of payload.

## Definition

Namespace: Gemstone.Communication
Assembly: Gemstone.Communication (in Gemstone.Communication.dll) Version: 1.0.158 -- Release Build+da7bd631cc12b0fea731daab2fc989c84193b7fc
C#
View Source Request Example

    public static class Payload

VB
View Source Request Example

    Public NotInheritable Class Payload

C++
View Source Request Example

    public ref class Payload abstract sealed

JavaScript
View Source Request Example

    Gemstone.Communication.Payload = function();

    Type.createClass(
    	'Gemstone.Communication.Payload');

Inheritance
  Object Payload

## Methods

AddHeader | Adds header containing the marker to the payload in the buffer for "Payload-Aware" transmission.
ExtractLength | Determines the length of a payload in a "Payload-Aware" transmission from the payload header information.
HasHeader | Determines whether or not the buffer contains the header information of a "Payload-Aware" transmission.

## Fields

DefaultMarker | Default byte sequence used to mark the beginning of the payload in a "Payload-Aware" transmissions.
LengthSegment | Specifies the length of the segment in a "Payload-Aware" transmission that contains the payload length.

## See Also

#### Reference

Gemstone.Communication Namespace