ChannelMessage (Google App Engine API for Java)

com.google.appengine.api.channel

Class ChannelMessage

  • java.lang.Object
    • com.google.appengine.api.channel.ChannelMessage

  • Deprecated. 
    This API has been deprecated.

    @Deprecated
    public final class ChannelMessage
    extends java.lang.Object
    Class that represents a channel message. ChannelMessages can be sent as outgoing messages or can be parsed as incoming messages by ChannelService.parseMessage(HttpServletRequest).
    • Constructor Summary

      Constructors 
      Constructor and Description
      ChannelMessage(java.lang.String clientId, java.lang.String message)
      Deprecated. 
      Constructor for a channel message.
    • Constructor Detail

      • ChannelMessage

        public ChannelMessage(java.lang.String clientId,
                              java.lang.String message)
        Deprecated. 
        Constructor for a channel message.
        Parameters:
        clientId - identifies the client that will receive this message. The client should be connected to the channel using a token created by ChannelService.CreateChannel, using the same client id. The client id must be fewer than 64 bytes when encoded to UTF-8.
        message - the message payload. The payload must be smaller than 32K when encoded to UTF-8.
    • Method Detail

      • getClientId

        public java.lang.String getClientId()
        Deprecated. 
      • getMessage

        public java.lang.String getMessage()
        Deprecated. 

Monitor your resources on the go

Get the Google Cloud Console app to help you manage your projects.

Send feedback about...

App Engine standard environment for Java