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.150 -- Release Build+db91167944c21f6f51e864f1e794cb2c48194ae6
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