Revision 4afb2001
Added by Marc Dequènes about 14 years ago
- ID 4afb2001a4b374e656585a1bccdc629d94d74ad9
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
|
||
conv.thread("plop") do |conv_thread|
|
||
conv.protocol.send_request_call(conv_thread, "/coucou") do |reply|
|
||
pp reply
|
||
end
|
||
end
|
||
else
|
||
logger.error "Could not connect to MapMaker"
|
Also available in: Unified diff
[evol] preliminary work for NOTIFY: closed thread are handled but close too early in most situations yet (need request/reply tracking)