You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 6c17f7c
Browse filesBrowse the repository at this point in the historyBrowse files
Devendra
committed
adding more unit tests for testing in multithreaded environment
<AHREF="../../../com/pubnub/api/Callback.html" title="class in com.pubnub.api">Callback</A> callback,
655
+
java.lang.String timetoken)</CODE>
656
+
618
657
<BR>
619
658
Listen for a message on a channel.</TD>
620
659
</TR>
@@ -1525,7 +1564,78 @@ <H2>
1525
1564
<DD>Listen for a message on a channel.
1526
1565
<P>
1527
1566
<DD><DL>
1528
-
<DT><B>Parameters:</B><DD><CODE>channelsArr</CODE> - Array of channel names (string) to listen on<DD><CODE>callback</CODE> - Callback
1567
+
<DT><B>Parameters:</B><DD><CODE>channelsArr</CODE> - Array of channel names (string) to listen on<DD><CODE>callback</CODE> - Callback<DD><CODE>timetoken</CODE> - Timetoken to use for subscribing
1568
+
<DT><B>Throws:</B>
1569
+
<DD><CODE><AHREF="../../../com/pubnub/api/PubnubException.html" title="class in com.pubnub.api">PubnubException</A></CODE> - Throws PubnubException if Callback is null</DL>
public void <B>subscribe</B>(java.lang.String[] channelsArr,
1578
+
<AHREF="../../../com/pubnub/api/Callback.html" title="class in com.pubnub.api">Callback</A> callback,
1579
+
long timetoken)
1580
+
throws <AHREF="../../../com/pubnub/api/PubnubException.html" title="class in com.pubnub.api">PubnubException</A></PRE>
1581
+
<DL>
1582
+
<DD>Listen for a message on a channel.
1583
+
<P>
1584
+
<DD><DL>
1585
+
<DT><B>Parameters:</B><DD><CODE>channelsArr</CODE> - Array of channel names (string) to listen on<DD><CODE>callback</CODE> - Callback<DD><CODE>timetoken</CODE> - Timetoken to use for subscribing
1586
+
<DT><B>Throws:</B>
1587
+
<DD><CODE><AHREF="../../../com/pubnub/api/PubnubException.html" title="class in com.pubnub.api">PubnubException</A></CODE> - Throws PubnubException if Callback is null</DL>
public void <B>subscribe</B>(java.lang.String channel,
1596
+
<AHREF="../../../com/pubnub/api/Callback.html" title="class in com.pubnub.api">Callback</A> callback)
1597
+
throws <AHREF="../../../com/pubnub/api/PubnubException.html" title="class in com.pubnub.api">PubnubException</A></PRE>
1598
+
<DL>
1599
+
<DD>Listen for a message on a channel.
1600
+
<P>
1601
+
<DD><DL>
1602
+
<DT><B>Parameters:</B><DD><CODE>channel</CODE> - Name of the channel<DD><CODE>callback</CODE> - Callback
1603
+
<DT><B>Throws:</B>
1604
+
<DD><CODE><AHREF="../../../com/pubnub/api/PubnubException.html" title="class in com.pubnub.api">PubnubException</A></CODE> - Throws PubnubException if Callback is null</DL>
public void <B>subscribe</B>(java.lang.String channel,
1613
+
<AHREF="../../../com/pubnub/api/Callback.html" title="class in com.pubnub.api">Callback</A> callback,
1614
+
java.lang.String timetoken)
1615
+
throws <AHREF="../../../com/pubnub/api/PubnubException.html" title="class in com.pubnub.api">PubnubException</A></PRE>
1616
+
<DL>
1617
+
<DD>Listen for a message on a channel.
1618
+
<P>
1619
+
<DD><DL>
1620
+
<DT><B>Parameters:</B><DD><CODE>channel</CODE> - Name of the channel<DD><CODE>callback</CODE> - Callback
1621
+
<DT><B>Throws:</B>
1622
+
<DD><CODE><AHREF="../../../com/pubnub/api/PubnubException.html" title="class in com.pubnub.api">PubnubException</A></CODE> - Throws PubnubException if Callback is null</DL>
public void <B>subscribe</B>(java.lang.String channel,
1631
+
<AHREF="../../../com/pubnub/api/Callback.html" title="class in com.pubnub.api">Callback</A> callback,
1632
+
long timetoken)
1633
+
throws <AHREF="../../../com/pubnub/api/PubnubException.html" title="class in com.pubnub.api">PubnubException</A></PRE>
1634
+
<DL>
1635
+
<DD>Listen for a message on a channel.
1636
+
<P>
1637
+
<DD><DL>
1638
+
<DT><B>Parameters:</B><DD><CODE>channel</CODE> - Name of the channel<DD><CODE>callback</CODE> - Callback<DD><CODE>timetoken</CODE> - Timetoken to use for subscribing
1529
1639
<DT><B>Throws:</B>
1530
1640
<DD><CODE><AHREF="../../../com/pubnub/api/PubnubException.html" title="class in com.pubnub.api">PubnubException</A></CODE> - Throws PubnubException if Callback is null</DL>
0 commit comments