Sitelet https://github.com/out0fmemory/java/commit/89a020aa1bcf0f7311043c4e75464c192ee41468
Skip to content

Commit 89a020a

Browse files
author
Devendra
committed
adding getters and changing demo console
1 parent 53fcc8d commit 89a020a

29 files changed

Lines changed: 283 additions & 52 deletions

‎android/Pubnub-Android-3.5.1.jar‎

226 Bytes
Binary file not shown.
226 Bytes
Binary file not shown.
226 Bytes
Binary file not shown.
109 Bytes
Binary file not shown.

‎j2me/Pubnub-MicroEdition-3.5.1.jar‎

113 Bytes
Binary file not shown.
380 Bytes
Binary file not shown.

‎java/doc/allclasses-frame.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<!--NewPage-->
33
<HTML>
44
<HEAD>
5-
<!-- Generated by javadoc (build 1.6.0_37) on Tue Jul 02 09:41:58 IST 2013 -->
5+
<!-- Generated by javadoc (build 1.6.0_37) on Tue Jul 02 10:36:18 IST 2013 -->
66
<TITLE>
77
All Classes
88
</TITLE>

‎java/doc/allclasses-noframe.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<!--NewPage-->
33
<HTML>
44
<HEAD>
5-
<!-- Generated by javadoc (build 1.6.0_37) on Tue Jul 02 09:41:58 IST 2013 -->
5+
<!-- Generated by javadoc (build 1.6.0_37) on Tue Jul 02 10:36:18 IST 2013 -->
66
<TITLE>
77
All Classes
88
</TITLE>

‎java/doc/com/pubnub/api/Callback.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<!--NewPage-->
33
<HTML>
44
<HEAD>
5-
<!-- Generated by javadoc (build 1.6.0_37) on Tue Jul 02 09:41:57 IST 2013 -->
5+
<!-- Generated by javadoc (build 1.6.0_37) on Tue Jul 02 10:36:17 IST 2013 -->
66
<TITLE>
77
Callback
88
</TITLE>

‎java/doc/com/pubnub/api/Pubnub.html‎

Lines changed: 163 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<!--NewPage-->
33
<HTML>
44
<HEAD>
5-
<!-- Generated by javadoc (build 1.6.0_37) on Tue Jul 02 09:41:58 IST 2013 -->
5+
<!-- Generated by javadoc (build 1.6.0_37) on Tue Jul 02 10:36:17 IST 2013 -->
66
<TITLE>
77
Pubnub
88
</TITLE>
@@ -303,7 +303,7 @@ <H2>
303303
<TD><CODE><B><A HREF="../../../com/pubnub/api/Pubnub.html#getAuthKey()">getAuthKey</A></B>()</CODE>
304304

305305
<BR>
306-
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method return auth key.</TD>
306+
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method returns auth key.</TD>
307307
</TR>
308308
<TR BGCOLOR="white" CLASS="TableRowColor">
309309
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
@@ -324,6 +324,54 @@ <H2>
324324
</TR>
325325
<TR BGCOLOR="white" CLASS="TableRowColor">
326326
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
327+
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
328+
<TD><CODE><B><A HREF="../../../com/pubnub/api/Pubnub.html#getDomain()">getDomain</A></B>()</CODE>
329+
330+
<BR>
331+
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns domain</TD>
332+
</TR>
333+
<TR BGCOLOR="white" CLASS="TableRowColor">
334+
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
335+
<CODE>&nbsp;int</CODE></FONT></TD>
336+
<TD><CODE><B><A HREF="../../../com/pubnub/api/Pubnub.html#getMaxRetries()">getMaxRetries</A></B>()</CODE>
337+
338+
<BR>
339+
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns current max retries for Subscribe</TD>
340+
</TR>
341+
<TR BGCOLOR="white" CLASS="TableRowColor">
342+
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
343+
<CODE>&nbsp;int</CODE></FONT></TD>
344+
<TD><CODE><B><A HREF="../../../com/pubnub/api/Pubnub.html#getNonSubscribeTimeout()">getNonSubscribeTimeout</A></B>()</CODE>
345+
346+
<BR>
347+
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method returns timeout value for non subscribe operations like publish, history, hereNow</TD>
348+
</TR>
349+
<TR BGCOLOR="white" CLASS="TableRowColor">
350+
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
351+
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
352+
<TD><CODE><B><A HREF="../../../com/pubnub/api/Pubnub.html#getOrigin()">getOrigin</A></B>()</CODE>
353+
354+
<BR>
355+
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns origin</TD>
356+
</TR>
357+
<TR BGCOLOR="white" CLASS="TableRowColor">
358+
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
359+
<CODE>&nbsp;boolean</CODE></FONT></TD>
360+
<TD><CODE><B><A HREF="../../../com/pubnub/api/Pubnub.html#getResumeOnReconnect()">getResumeOnReconnect</A></B>()</CODE>
361+
362+
<BR>
363+
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns Resume on Reconnect current setting</TD>
364+
</TR>
365+
<TR BGCOLOR="white" CLASS="TableRowColor">
366+
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
367+
<CODE>&nbsp;int</CODE></FONT></TD>
368+
<TD><CODE><B><A HREF="../../../com/pubnub/api/Pubnub.html#getRetryInterval()">getRetryInterval</A></B>()</CODE>
369+
370+
<BR>
371+
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns current retry interval for subscribe</TD>
372+
</TR>
373+
<TR BGCOLOR="white" CLASS="TableRowColor">
374+
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
327375
<CODE>&nbsp;java.lang.String[]</CODE></FONT></TD>
328376
<TD><CODE><B><A HREF="../../../com/pubnub/api/Pubnub.html#getSubscribedChannelsArray()">getSubscribedChannelsArray</A></B>()</CODE>
329377

@@ -332,6 +380,14 @@ <H2>
332380
</TR>
333381
<TR BGCOLOR="white" CLASS="TableRowColor">
334382
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
383+
<CODE>&nbsp;int</CODE></FONT></TD>
384+
<TD><CODE><B><A HREF="../../../com/pubnub/api/Pubnub.html#getSubscribeTimeout()">getSubscribeTimeout</A></B>()</CODE>
385+
386+
<BR>
387+
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method returns timeout value for subscribe/presence.</TD>
388+
</TR>
389+
<TR BGCOLOR="white" CLASS="TableRowColor">
390+
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
335391
<CODE>&nbsp;void</CODE></FONT></TD>
336392
<TD><CODE><B><A HREF="../../../com/pubnub/api/Pubnub.html#hereNow(java.lang.String, com.pubnub.api.Callback)">hereNow</A></B>(java.lang.String&nbsp;channel,
337393
<A HREF="../../../com/pubnub/api/Callback.html" title="class in com.pubnub.api">Callback</A>&nbsp;callback)</CODE>
@@ -921,6 +977,23 @@ <H2>
921977
</DL>
922978
<HR>
923979

980+
<A NAME="getSubscribeTimeout()"><!-- --></A><H3>
981+
getSubscribeTimeout</H3>
982+
<PRE>
983+
public int <B>getSubscribeTimeout</B>()</PRE>
984+
<DL>
985+
<DD>This method returns timeout value for subscribe/presence.
986+
<P>
987+
<DD><DL>
988+
</DL>
989+
</DD>
990+
<DD><DL>
991+
992+
<DT><B>Returns:</B><DD>Timeout value in milliseconds for subscribe/presence</DL>
993+
</DD>
994+
</DL>
995+
<HR>
996+
924997
<A NAME="setNonSubscribeTimeout(int)"><!-- --></A><H3>
925998
setNonSubscribeTimeout</H3>
926999
<PRE>
@@ -939,6 +1012,23 @@ <H2>
9391012
</DL>
9401013
<HR>
9411014

1015+
<A NAME="getNonSubscribeTimeout()"><!-- --></A><H3>
1016+
getNonSubscribeTimeout</H3>
1017+
<PRE>
1018+
public int <B>getNonSubscribeTimeout</B>()</PRE>
1019+
<DL>
1020+
<DD>This method returns timeout value for non subscribe operations like publish, history, hereNow
1021+
<P>
1022+
<DD><DL>
1023+
</DL>
1024+
</DD>
1025+
<DD><DL>
1026+
1027+
<DT><B>Returns:</B><DD>Timeout value in milliseconds for for Non subscribe operations like publish, history, hereNow</DL>
1028+
</DD>
1029+
</DL>
1030+
<HR>
1031+
9421032
<A NAME="publish(java.util.Hashtable, com.pubnub.api.Callback)"><!-- --></A><H3>
9431033
publish</H3>
9441034
<PRE>
@@ -1447,6 +1537,20 @@ <H2>
14471537
</DL>
14481538
<HR>
14491539

1540+
<A NAME="getRetryInterval()"><!-- --></A><H3>
1541+
getRetryInterval</H3>
1542+
<PRE>
1543+
public int <B>getRetryInterval</B>()</PRE>
1544+
<DL>
1545+
<DD>Returns current retry interval for subscribe
1546+
<P>
1547+
<DD><DL>
1548+
1549+
<DT><B>Returns:</B><DD>Current Retry Interval in milliseconds</DL>
1550+
</DD>
1551+
</DL>
1552+
<HR>
1553+
14501554
<A NAME="setMaxRetries(int)"><!-- --></A><H3>
14511555
setMaxRetries</H3>
14521556
<PRE>
@@ -1462,6 +1566,20 @@ <H2>
14621566
</DL>
14631567
<HR>
14641568

1569+
<A NAME="getMaxRetries()"><!-- --></A><H3>
1570+
getMaxRetries</H3>
1571+
<PRE>
1572+
public int <B>getMaxRetries</B>()</PRE>
1573+
<DL>
1574+
<DD>Returns current max retries for Subscribe
1575+
<P>
1576+
<DD><DL>
1577+
1578+
<DT><B>Returns:</B><DD>Current max retries</DL>
1579+
</DD>
1580+
</DL>
1581+
<HR>
1582+
14651583
<A NAME="setCacheBusting(boolean)"><!-- --></A><H3>
14661584
setCacheBusting</H3>
14671585
<PRE>
@@ -1520,6 +1638,20 @@ <H2>
15201638
</DL>
15211639
<HR>
15221640

1641+
<A NAME="getResumeOnReconnect()"><!-- --></A><H3>
1642+
getResumeOnReconnect</H3>
1643+
<PRE>
1644+
public boolean <B>getResumeOnReconnect</B>()</PRE>
1645+
<DL>
1646+
<DD>Returns Resume on Reconnect current setting
1647+
<P>
1648+
<DD><DL>
1649+
1650+
<DT><B>Returns:</B><DD>Resume on Reconnect setting</DL>
1651+
</DD>
1652+
</DL>
1653+
<HR>
1654+
15231655
<A NAME="setUUID(java.lang.String)"><!-- --></A><H3>
15241656
setUUID</H3>
15251657
<PRE>
@@ -1904,6 +2036,20 @@ <H2>
19042036
</DL>
19052037
<HR>
19062038

2039+
<A NAME="getOrigin()"><!-- --></A><H3>
2040+
getOrigin</H3>
2041+
<PRE>
2042+
public java.lang.String <B>getOrigin</B>()</PRE>
2043+
<DL>
2044+
<DD>Returns origin
2045+
<P>
2046+
<DD><DL>
2047+
2048+
<DT><B>Returns:</B><DD>origin</DL>
2049+
</DD>
2050+
</DL>
2051+
<HR>
2052+
19072053
<A NAME="setDomain(java.lang.String)"><!-- --></A><H3>
19082054
setDomain</H3>
19092055
<PRE>
@@ -1917,12 +2063,26 @@ <H2>
19172063
</DL>
19182064
<HR>
19192065

2066+
<A NAME="getDomain()"><!-- --></A><H3>
2067+
getDomain</H3>
2068+
<PRE>
2069+
public java.lang.String <B>getDomain</B>()</PRE>
2070+
<DL>
2071+
<DD>Returns domain
2072+
<P>
2073+
<DD><DL>
2074+
2075+
<DT><B>Returns:</B><DD>domain</DL>
2076+
</DD>
2077+
</DL>
2078+
<HR>
2079+
19202080
<A NAME="getAuthKey()"><!-- --></A><H3>
19212081
getAuthKey</H3>
19222082
<PRE>
19232083
public java.lang.String <B>getAuthKey</B>()</PRE>
19242084
<DL>
1925-
<DD>This method return auth key. Return null if not set
2085+
<DD>This method returns auth key. Return null if not set
19262086
<P>
19272087
<DD><DL>
19282088

0 commit comments

Comments
 (0)