Class WebChannelParser.Entry

java.lang.Object
com.codename1.cloud.firebase.WebChannelParser.Entry
Enclosing class:
WebChannelParser

public static final class WebChannelParser.Entry extends Object
One [arrayId, payload] entry of a frame.
  • 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