Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

CodeComment

keyToCheck := "RAN:"+ranName


defer pool.Put(rnibInstance)
m, err := rnibInstance.sdl.Get([]string{ keyToCheck })     

USE SDL to fetch data from REDIS. RETURNS: (map[string]interface{}, error)

data, ok := m[keyToCheck]

Get the value of the requested key. This will be a byte array

pb := &RespondingNode{}Create a new pointer to the responding node
proto.Unmarshal(data, pb)Unmarshal parses the protocol buffer representation in buf and places the decoded result in pb
return pb


4. Sequence Diagram

...


Image Added