Class: MessageFrame

aws-greengrass-core-sdk.StreamManager~MessageFrame(operation, payload)

Internal Only.

Constructor

new MessageFrame(operation, payload)

Parameters:
Name Type Default Description
operation aws-greengrass-core-sdk.StreamManager.Operation null
payload Buffer null
Source:

Members

operation

Source:

operation

Source:

payload

Source:

payload

Source:

Methods

withOperation(value) → {aws-greengrass-core-sdk.StreamManager.MessageFrame}

Parameters:
Name Type Description
value aws-greengrass-core-sdk.StreamManager.Operation
Source:
Returns:
Type
aws-greengrass-core-sdk.StreamManager.MessageFrame

withPayload(value) → {aws-greengrass-core-sdk.StreamManager.MessageFrame}

Parameters:
Name Type Description
value Buffer
Source:
Returns:
Type
aws-greengrass-core-sdk.StreamManager.MessageFrame