Skip to content

Commit de84dad

Browse files
author
Devendra
committed
adding setter and getter pnexpires for backwards compatibility
1 parent 7aa702e commit de84dad

28 files changed

Lines changed: 110 additions & 23 deletions

‎android/Pubnub-Android-3.6.0.jar‎

74 Bytes
Binary file not shown.
74 Bytes
Binary file not shown.
74 Bytes
Binary file not shown.
74 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_65) on Fri Feb 07 02:45:56 GMT+05:30 2014 -->
5+
<!-- Generated by javadoc (build 1.6.0_65) on Fri Feb 07 13:05:51 GMT+05:30 2014 -->
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_65) on Fri Feb 07 02:45:56 GMT+05:30 2014 -->
5+
<!-- Generated by javadoc (build 1.6.0_65) on Fri Feb 07 13:05:51 GMT+05:30 2014 -->
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_65) on Fri Feb 07 02:45:54 GMT+05:30 2014 -->
5+
<!-- Generated by javadoc (build 1.6.0_65) on Fri Feb 07 13:05:50 GMT+05:30 2014 -->
66
<TITLE>
77
Callback
88
</TITLE>

‎java/doc/com/pubnub/api/HttpUtil.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_65) on Fri Feb 07 02:45:54 GMT+05:30 2014 -->
5+
<!-- Generated by javadoc (build 1.6.0_65) on Fri Feb 07 13:05:50 GMT+05:30 2014 -->
66
<TITLE>
77
HttpUtil
88
</TITLE>

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

Lines changed: 68 additions & 4 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_65) on Fri Feb 07 02:45:54 GMT+05:30 2014 -->
5+
<!-- Generated by javadoc (build 1.6.0_65) on Fri Feb 07 13:05:50 GMT+05:30 2014 -->
66
<TITLE>
77
Pubnub
88
</TITLE>
@@ -255,7 +255,7 @@ <H2>
255255
<TD><CODE><B><A HREF="../../../com/pubnub/api/Pubnub.html#getHeartbeat()">getHeartbeat</A></B>()</CODE>
256256

257257
<BR>
258-
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns presence expiry timeout value</TD>
258+
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns presence heartbeat value</TD>
259259
</TR>
260260
<TR BGCOLOR="white" CLASS="TableRowColor">
261261
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
@@ -283,6 +283,14 @@ <H2>
283283
</TR>
284284
<TR BGCOLOR="white" CLASS="TableRowColor">
285285
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
286+
<CODE>&nbsp;int</CODE></FONT></TD>
287+
<TD><CODE><B><A HREF="../../../com/pubnub/api/Pubnub.html#getPnExpires()">getPnExpires</A></B>()</CODE>
288+
289+
<BR>
290+
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns presence expiry timeout value</TD>
291+
</TR>
292+
<TR BGCOLOR="white" CLASS="TableRowColor">
293+
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
286294
<CODE>&nbsp;boolean</CODE></FONT></TD>
287295
<TD><CODE><B><A HREF="../../../com/pubnub/api/Pubnub.html#getResumeOnReconnect()">getResumeOnReconnect</A></B>()</CODE>
288296

@@ -712,6 +720,23 @@ <H2>
712720
<TR BGCOLOR="white" CLASS="TableRowColor">
713721
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
714722
<CODE>&nbsp;void</CODE></FONT></TD>
723+
<TD><CODE><B><A HREF="../../../com/pubnub/api/Pubnub.html#setPnExpires(int)">setPnExpires</A></B>(int&nbsp;pnexpires)</CODE>
724+
725+
<BR>
726+
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
727+
</TR>
728+
<TR BGCOLOR="white" CLASS="TableRowColor">
729+
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
730+
<CODE>&nbsp;void</CODE></FONT></TD>
731+
<TD><CODE><B><A HREF="../../../com/pubnub/api/Pubnub.html#setPnExpires(int, com.pubnub.api.Callback)">setPnExpires</A></B>(int&nbsp;pnexpires,
732+
<A HREF="../../../com/pubnub/api/Callback.html" title="class in com.pubnub.api">Callback</A>&nbsp;callback)</CODE>
733+
734+
<BR>
735+
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method sets presence expiry timeout.</TD>
736+
</TR>
737+
<TR BGCOLOR="white" CLASS="TableRowColor">
738+
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
739+
<CODE>&nbsp;void</CODE></FONT></TD>
715740
<TD><CODE><B><A HREF="../../../com/pubnub/api/Pubnub.html#setResumeOnReconnect(boolean)">setResumeOnReconnect</A></B>(boolean&nbsp;resumeOnReconnect)</CODE>
716741

717742
<BR>
@@ -1346,6 +1371,20 @@ <H2>
13461371
</DL>
13471372
<HR>
13481373

1374+
<A NAME="setPnExpires(int, com.pubnub.api.Callback)"><!-- --></A><H3>
1375+
setPnExpires</H3>
1376+
<PRE>
1377+
public void <B>setPnExpires</B>(int&nbsp;pnexpires,
1378+
<A HREF="../../../com/pubnub/api/Callback.html" title="class in com.pubnub.api">Callback</A>&nbsp;callback)</PRE>
1379+
<DL>
1380+
<DD>This method sets presence expiry timeout.
1381+
<P>
1382+
<DD><DL>
1383+
<DT><B>Parameters:</B><DD><CODE>pnexpires</CODE> - Presence Expiry timeout in seconds</DL>
1384+
</DD>
1385+
</DL>
1386+
<HR>
1387+
13491388
<A NAME="setHeartbeat(int, com.pubnub.api.Callback)"><!-- --></A><H3>
13501389
setHeartbeat</H3>
13511390
<PRE>
@@ -1360,6 +1399,17 @@ <H2>
13601399
</DL>
13611400
<HR>
13621401

1402+
<A NAME="setPnExpires(int)"><!-- --></A><H3>
1403+
setPnExpires</H3>
1404+
<PRE>
1405+
public void <B>setPnExpires</B>(int&nbsp;pnexpires)</PRE>
1406+
<DL>
1407+
<DD><DL>
1408+
</DL>
1409+
</DD>
1410+
</DL>
1411+
<HR>
1412+
13631413
<A NAME="setHeartbeat(int)"><!-- --></A><H3>
13641414
setHeartbeat</H3>
13651415
<PRE>
@@ -1371,16 +1421,30 @@ <H2>
13711421
</DL>
13721422
<HR>
13731423

1424+
<A NAME="getPnExpires()"><!-- --></A><H3>
1425+
getPnExpires</H3>
1426+
<PRE>
1427+
public int <B>getPnExpires</B>()</PRE>
1428+
<DL>
1429+
<DD>Returns presence expiry timeout value
1430+
<P>
1431+
<DD><DL>
1432+
1433+
<DT><B>Returns:</B><DD>Current presence expiry timeout value</DL>
1434+
</DD>
1435+
</DL>
1436+
<HR>
1437+
13741438
<A NAME="getHeartbeat()"><!-- --></A><H3>
13751439
getHeartbeat</H3>
13761440
<PRE>
13771441
public int <B>getHeartbeat</B>()</PRE>
13781442
<DL>
1379-
<DD>Returns presence expiry timeout value
1443+
<DD>Returns presence heartbeat value
13801444
<P>
13811445
<DD><DL>
13821446

1383-
<DT><B>Returns:</B><DD>Current presence expiry timeout value</DL>
1447+
<DT><B>Returns:</B><DD>Current presence heartbeat value</DL>
13841448
</DD>
13851449
</DL>
13861450
<HR>

‎java/doc/com/pubnub/api/PubnubCrypto.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_65) on Fri Feb 07 02:45:55 GMT+05:30 2014 -->
5+
<!-- Generated by javadoc (build 1.6.0_65) on Fri Feb 07 13:05:51 GMT+05:30 2014 -->
66
<TITLE>
77
PubnubCrypto
88
</TITLE>

0 commit comments

Comments
 (0)