class_docstr: A `RingNode` represents a node in the `Ring`.
  
  :param rank: The id assigned to this node. Each node will be assigned a
      unique id called `rank`. Rank 0 is the control node of the `Ring`.
class_docstr_tok: ["A","`","RingNode","`","represents","a","node","in","the","`","Ring","`",".",":","param","rank",":","The","id","assigned","to","this","node",".","Each","node","will","be","assigned","a","unique","id","called","`","rank","`",".","Rank","0","is","the","control","node","of","the","`","Ring","`","."]
code: def __init__(self, rank):
      self.rank = rank
      self.connected = False
      self.ip = None
      self.port = None
  
file_path: fiber/fiber/experimental/ring.py
imports: import multiprocessing
  import random
  import fiber
  from fiber.backend import get_backend
label_desc: Use image node_id 1 to create a new RingNode object  with example: obj = RingNode(rank)