Interface PushNotificationRpc


public interface PushNotificationRpc
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final RpcSerializer
    A bespoke serializer for this interface, used on both the client and gateway ends in place of the general-purpose ProtoRpcSerializer.
  • Method Summary

    Modifier and Type
    Method
    Description
    Drains the gateway's pending push notification queue for the calling session and returns it as a WebsocketProtoMessage.PushNotifications envelope - identical to what would have been sent over the WebSocket - so the caller can feed it through the existing dispatch path unchanged.
  • Field Details

    • SERIALIZER

      static final RpcSerializer SERIALIZER
      A bespoke serializer for this interface, used on both the client and gateway ends in place of the general-purpose ProtoRpcSerializer. The single method takes no parameters and returns a WebsocketProtoMessage.PushNotifications message, so the contract reduces to reading/writing that message directly via its own Protobuf codec.
  • Method Details