examples/yalgaarUser.rb in yalgaar-1.0.1 vs examples/yalgaarUser.rb in yalgaar-1.0.2
- old
+ new
@@ -72,10 +72,12 @@
#TODO
end
########################################################User Area for Calling Pub-sub######################################
yalgaarClient = Yalgaar.new
-yalgaarClient.yalgaarConnect("ck-47046d75cf64402f",1,"123",$connectionCallback)
+#~ yalgaarClient.yalgaarConnect("ck-47046d75cf64402f",1,"123",$connectionCallback)
+
+yalgaarClient.yalgaarConnect("ck-47046d75cf64402f",1,"12","1234567812345678",128,$connectionCallback)
yalgaarClient.yalgaarSubcribe("SLS",$subscribeReturnMessageCallback,$presenceMessageCallback,$errorMsgCallback)
#~ yalgaarClient.yalgaarHistory("@@@@@!!!!test@@!!","100",$HistoryMessageCallback,$errorMsgCallback)
loop {
#~ puts "Enter for pub"
#~ temp=STDIN.gets.chop