User Tools

Site Tools


cs330_f2016:lab13genserver

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
cs330_f2016:lab13genserver [2017/03/24 13:41]
dhart
cs330_f2016:lab13genserver [2017/03/24 15:48]
dhart
Line 4: Line 4:
   use GenServer   use GenServer
  
 +  # Start Helper Functions (Don't Modify)
   def start_link() do   def start_link() do
     GenServer.start_link(__MODULE__,​ [], [])     GenServer.start_link(__MODULE__,​ [], [])
Line 23: Line 24:
     GenServer.call(name_server,​ {:resolve, name})     GenServer.call(name_server,​ {:resolve, name})
   end   end
 +  #End Helper Functions
  
  
Line 53: Line 54:
   end   end
   ​   ​
-  def handle_info({:​DOWN,​ ref, :process, _pid, _reason}, state) do 
-    ​ 
-    #The message received if a monitored process went down. You will need to remove the dead process from the registry. 
-    #Your code here 
-    ​ 
-  end 
- 
  
  
cs330_f2016/lab13genserver.txt ยท Last modified: 2017/03/24 15:48 by dhart