Project

General

Profile

« Previous | Next » 

Revision 21a7eaf9

Added by Marc Dequènes about 14 years ago

  • ID 21a7eaf9331ab26b1c1d5ff7173c4b248f6a2967

[evol] conversation/bot protocol rework §8 (refs #30): preliminary client-side protocol handling

View differences:

bin/mapmaker_client
contact_peer("MapMaker") do |conv|
if conv
logger.info "Yo ! Conversation ready with MapMaker (#{conv.peer_name}) !"
conv_thread = conv.thread("plop")
conv.protocol.send_request_call(conv_thread, "/") do |reply|
pp reply
end
else
logger.error "Could not connect to MapMaker"
stop

Also available in: Unified diff