Class EdgesCurrentDataNotification


  • public class EdgesCurrentDataNotification
    extends JsonrpcNotification
    Represents a JSON-RPC Notification for sending the current data of all subscribed Channels of multiple Edges.
     {
       "jsonrpc": "2.0",
       "method": "edgesCurrentData",
       "params": {
         [Edge-ID: string]: [{
           [Channel-Address: string]: number
         }]
       }
     }
     
    • Constructor Detail

      • EdgesCurrentDataNotification

        public EdgesCurrentDataNotification()
    • Method Detail

      • addValue

        public void addValue​(java.lang.String edgeId,
                             ChannelAddress channel,
                             com.google.gson.JsonElement value)