Client API. The Codename One framework your app is built on: this runs on the device, not in a backend.

public static final class WebChannelParser.Entry

  1. Object
  2. WebChannelParser.Entry
One [arrayId, payload] entry of a frame.

Methods

public long getArrayId()
public List getPayload()
public String getControl()
public Map getMessage()

Inherited methods

Method details

getArrayId

public long getArrayId()

Returns

the array ID, which the next request acknowledges as AID

getPayload

public List getPayload()

Returns

the payload list, such as ["noop"] or [{"targetChange": ...}]

getControl

public String getControl()

Returns

the first payload element when it is a string, such as c, noop or stop

getMessage

public Map getMessage()

Returns

the first payload element when it is a JSON object, the ListenResponse