Message

Overview

Base message object used as prototype for custom message implementations. Custom messages should implement following methods:

  • initialize
  • finalize
  • write
  • read
  • requestStream
  • setResponseStream

Location

RemObjectsSDK.js


Instance Methods


constructor Message

No need to create an instance of abstract class.

function constructor Message()

clone

Returns new message object with the same ClienID.

function clone()

getClientID

Returns ClientID (string)

function getClientID()

getErrorMessage

Returns error message as a string.

function getErrorMessage()

setClientID

Sets Client ID

function setClientID(aValue)

Parameters:

  • aValue: string