diff --git a/.pubnub.yml b/.pubnub.yml
index f2de2cd64..0122cdcb4 100644
--- a/.pubnub.yml
+++ b/.pubnub.yml
@@ -1,8 +1,13 @@
name: java
-version: 4.0.10
+version: 4.0.11
schema: 1
scm: github.com/pubnub/java
changelog:
+ - version: v4.0.11
+ date:
+ changes:
+ - type: improvement
+ text: bumping build process for gradle 3 / merging documentation into the repo and test adjustments
- version: v4.0.10
date:
changes:
@@ -81,24 +86,44 @@ changelog:
text: initial beta1.
features:
access:
- - GRANT
+ - ACCESS-GRANT
channel-groups:
- - ADD-CHANNELS
- - REMOVE-CHANNELS
- - LIST-GROUPS
- - LIST-CHANNELS-IN-GROUP
+ - CHANNEL-GROUPS-ADD-CHANNELS
+ - CHANNEL-GROUPS-REMOVE-CHANNELS
+ - CHANNEL-GROUPS-REMOVE-GROUPS
+ - CHANNEL-GROUPS-LIST-CHANNELS-IN-GROUP
push:
- - ADD-DEVICE-TO-CHANNELS
- - REMOVE-DEVICE-FROM-CHANNELS
- - LIST-CHANNELS-FROM-DEVICE
- - REMOVE-DEVICE
+ - PUSH-ADD-DEVICE-TO-CHANNELS
+ - PUSH-REMOVE-DEVICE-FROM-CHANNELS
+ - PUSH-LIST-CHANNELS-FROM-DEVICE
+ - PUSH-REMOVE-DEVICE
presence:
- - HERE-NOW
- - WHERE-NOW
- - SET-STATE
- - GET-STATE
- - HEARTBEAT
+ - PRESENCE-HERE-NOW
+ - PRESENCE-WHERE-NOW
+ - PRESENCE-SET-STATE
+ - PRESENCE-GET-STATE
+ - PRESENCE-HEARTBEAT
publish:
- - STORE-FLAG
- - FIRE
- - REPLICATION-FLAG
+ - PUBLISH-STORE-FLAG
+ - PUBLISH-RAW-JSON
+ - PUBLISH-WITH-METADATA
+ - PUBLISH-GET
+ - PUBLISH-POST
+ - PUBLISH-ASYNC
+ - PUBLISH-FIRE
+ - PUBLISH-REPLICATION-FLAG
+ storage:
+ - STORAGE-REVERSE
+ - STORAGE-INCLUDE-TIMETOKEN
+ - STORAGE-START-END
+ - STORAGE-COUNT
+ time:
+ - TIME-TIME
+ subscribe:
+ - SUBSCRIBE-CHANNELS
+ - SUBSCRIBE-CHANNEL-GROUPS
+ - SUBSCRIBE-PRESENCE-CHANNELS
+ - SUBSCRIBE-PRESENCE-CHANNELS-GROUPS
+ - SUBSCRIBE-WITH-TIMETOKEN
+ - SUBSCRIBE-WILDCARD
+ - SUBSCRIBE-FILTER-EXPRESSION
diff --git a/build.gradle b/build.gradle
index d8fc5a90b..187623488 100644
--- a/build.gradle
+++ b/build.gradle
@@ -71,7 +71,7 @@ tasks.withType(Checkstyle) {
tasks.withType(FindBugs) {
- exclude '**/vendor/**', "**/*Test*"
+ exclude '**/vendor/**'
reports {
xml.enabled false
@@ -85,6 +85,11 @@ processResources {
expand projectVersion: project.version
}
+
+javadoc {
+ destinationDir = file("docs")
+}
+
extraArchive {
sources = true
tests = true
diff --git a/docs/allclasses-frame.html b/docs/allclasses-frame.html
new file mode 100644
index 000000000..1eac92565
--- /dev/null
+++ b/docs/allclasses-frame.html
@@ -0,0 +1,115 @@
+
+
+
+
+
+All Classes (pubnub 4.0.10 API)
+
+
+
+
+All Classes
+
+
+
diff --git a/docs/allclasses-noframe.html b/docs/allclasses-noframe.html
new file mode 100644
index 000000000..a00beffb8
--- /dev/null
+++ b/docs/allclasses-noframe.html
@@ -0,0 +1,115 @@
+
+
+
+
+
+All Classes (pubnub 4.0.10 API)
+
+
+
+
+All Classes
+
+
+
diff --git a/docs/com/pubnub/api/PNConfiguration.html b/docs/com/pubnub/api/PNConfiguration.html
new file mode 100644
index 000000000..a96ccdb3b
--- /dev/null
+++ b/docs/com/pubnub/api/PNConfiguration.html
@@ -0,0 +1,282 @@
+
+
+
+
+
+PNConfiguration (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+java.lang.Object
+
+
+com.pubnub.api.PNConfiguration
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+Constructors
+
+Constructor and Description
+
+
+PNConfiguration ()
+Initialize the PNConfiguration with default values
+
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+
+Methods inherited from class java.lang.Object
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Detail
+
+
+
+
+
+
+
+
+
+
+
+Method Detail
+
+
+
+
+
+setPresenceTimeoutWithCustomInterval
+public PNConfiguration setPresenceTimeoutWithCustomInterval(int timeout,
+ int interval)
+set presence configurations for timeout and announce interval.
+Parameters: timeout - presence timeout; how long before the server considers this client to be gone.interval - presence announce interval, how often the client should announce itself.
+Returns: returns itself.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/PubNub.html b/docs/com/pubnub/api/PubNub.html
new file mode 100644
index 000000000..90140e289
--- /dev/null
+++ b/docs/com/pubnub/api/PubNub.html
@@ -0,0 +1,739 @@
+
+
+
+
+
+PubNub (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+java.lang.Object
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+
+Methods inherited from class java.lang.Object
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Detail
+
+
+
+
+
+
+
+
+
+
+
+Method Detail
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+time
+public final Time time()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+decrypt
+public final java.lang.String decrypt(java.lang.String inputString,
+ java.lang.String cipherKey)
+ throws PubNubException
+Perform Cryptographic decryption of an input string using the cipher key
+Parameters: inputString - String to be encryptedcipherKey - cipher key to be used for encryption
+Returns: String containing the encryption of inputString using cipherKey
+Throws:
+PubNubException - throws exception in case of failed encryption
+
+
+
+
+
+
+
+
+
+
+
+encrypt
+public final java.lang.String encrypt(java.lang.String inputString,
+ java.lang.String cipherKey)
+ throws PubNubException
+Perform Cryptographic encryption of an input string and the cipher key.
+Parameters: inputString - String to be encryptedcipherKey - cipher key to be used for encryption
+Returns: String containing the encryption of inputString using cipherKey
+Throws:
+PubNubException - throws exception in case of failed encryption
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/PubNubError.html b/docs/com/pubnub/api/PubNubError.html
new file mode 100644
index 000000000..c30908bbe
--- /dev/null
+++ b/docs/com/pubnub/api/PubNubError.html
@@ -0,0 +1,228 @@
+
+
+
+
+
+PubNubError (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
+
+
+java.lang.Object
+
+
+com.pubnub.api.PubNubError
+
+
+
+
+
+
+
+
+public class PubNubError
+extends java.lang.Object
+PubNubError object is passed to errorCallback. It contains details of error,
+ like error code, error string, and optional message
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+Constructors
+
+Constructor and Description
+
+
+PubNubError ()
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+Methods inherited from class java.lang.Object
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Detail
+
+
+
+
+
+PubNubError
+public PubNubError()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/PubNubException.html b/docs/com/pubnub/api/PubNubException.html
new file mode 100644
index 000000000..fb0e75f91
--- /dev/null
+++ b/docs/com/pubnub/api/PubNubException.html
@@ -0,0 +1,248 @@
+
+
+
+
+
+PubNubException (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
+
+
+java.lang.Object
+
+
+java.lang.Throwable
+
+
+java.lang.Exception
+
+
+com.pubnub.api.PubNubException
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+Methods inherited from class java.lang.Throwable
+addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
+
+
+
+
+
+Methods inherited from class java.lang.Object
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Detail
+
+
+
+
+
+PubNubException
+public PubNubException()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/PubNubUtil.html b/docs/com/pubnub/api/PubNubUtil.html
new file mode 100644
index 000000000..663c804ba
--- /dev/null
+++ b/docs/com/pubnub/api/PubNubUtil.html
@@ -0,0 +1,324 @@
+
+
+
+
+
+PubNubUtil (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+Summary:
+Nested |
+Field |
+Constr |
+Method
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
+
+
+java.lang.Object
+
+
+com.pubnub.api.PubNubUtil
+
+
+
+
+
+
+
+
+
+
+
+
+Method Summary
+
+Methods
+
+Modifier and Type
+Method and Description
+
+
+static java.lang.String
+joinString (java.util.List<java.lang.String> val,
+ java.lang.String delim)
+
+
+static java.lang.String
+pamEncode (java.lang.String sUrl)
+Returns encoded String
+
+
+
+static java.lang.String
+preparePamArguments (java.util.Map<java.lang.String,java.lang.String> pamArgs)
+
+
+static java.lang.String
+replaceLast (java.lang.String string,
+ java.lang.String toReplace,
+ java.lang.String replacement)
+
+
+static java.lang.String
+signSHA256 (java.lang.String key,
+ java.lang.String data)
+
+
+static java.lang.String
+urlDecode (java.lang.String sUrl)
+Returns decoded String
+
+
+
+static java.lang.String
+urlEncode (java.lang.String sUrl)
+Returns encoded String
+
+
+
+
+
+
+
+Methods inherited from class java.lang.Object
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Summary:
+Nested |
+Field |
+Constr |
+Method
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/builder/PubNubErrorBuilder.html b/docs/com/pubnub/api/builder/PubNubErrorBuilder.html
new file mode 100644
index 000000000..d0b5cada3
--- /dev/null
+++ b/docs/com/pubnub/api/builder/PubNubErrorBuilder.html
@@ -0,0 +1,1582 @@
+
+
+
+
+
+PubNubErrorBuilder (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+java.lang.Object
+
+
+com.pubnub.api.builder.PubNubErrorBuilder
+
+
+
+
+
+
+
+
+
+
+
+
+Field Summary
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+
+Methods inherited from class java.lang.Object
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Method Detail
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/builder/PubSubBuilder.html b/docs/com/pubnub/api/builder/PubSubBuilder.html
new file mode 100644
index 000000000..50a373bb0
--- /dev/null
+++ b/docs/com/pubnub/api/builder/PubSubBuilder.html
@@ -0,0 +1,284 @@
+
+
+
+
+
+PubSubBuilder (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+java.lang.Object
+
+
+com.pubnub.api.builder.PubSubBuilder
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+
+Methods inherited from class java.lang.Object
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Detail
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/builder/SubscribeBuilder.html b/docs/com/pubnub/api/builder/SubscribeBuilder.html
new file mode 100644
index 000000000..ac1616ea2
--- /dev/null
+++ b/docs/com/pubnub/api/builder/SubscribeBuilder.html
@@ -0,0 +1,323 @@
+
+
+
+
+
+SubscribeBuilder (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+java.lang.Object
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+
+Methods inherited from class java.lang.Object
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Detail
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/builder/UnsubscribeBuilder.html b/docs/com/pubnub/api/builder/UnsubscribeBuilder.html
new file mode 100644
index 000000000..e6ecd37f2
--- /dev/null
+++ b/docs/com/pubnub/api/builder/UnsubscribeBuilder.html
@@ -0,0 +1,270 @@
+
+
+
+
+
+UnsubscribeBuilder (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+java.lang.Object
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+
+
+
+
+
+
+Method Summary
+
+Methods
+
+Modifier and Type
+Method and Description
+
+
+void
+execute ()
+
+
+
+
+
+
+
+Methods inherited from class java.lang.Object
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Detail
+
+
+
+
+
+
+
+
+
+
+
+Method Detail
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/builder/dto/StateOperation.html b/docs/com/pubnub/api/builder/dto/StateOperation.html
new file mode 100644
index 000000000..474777963
--- /dev/null
+++ b/docs/com/pubnub/api/builder/dto/StateOperation.html
@@ -0,0 +1,226 @@
+
+
+
+
+
+StateOperation (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
+
+
+java.lang.Object
+
+
+com.pubnub.api.builder.dto.StateOperation
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+Constructors
+
+Constructor and Description
+
+
+StateOperation ()
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+Methods inherited from class java.lang.Object
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Detail
+
+
+
+
+
+StateOperation
+public StateOperation()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/builder/dto/SubscribeOperation.html b/docs/com/pubnub/api/builder/dto/SubscribeOperation.html
new file mode 100644
index 000000000..c0ea78472
--- /dev/null
+++ b/docs/com/pubnub/api/builder/dto/SubscribeOperation.html
@@ -0,0 +1,226 @@
+
+
+
+
+
+SubscribeOperation (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
+
+
+java.lang.Object
+
+
+com.pubnub.api.builder.dto.SubscribeOperation
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+Methods inherited from class java.lang.Object
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Detail
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/builder/dto/UnsubscribeOperation.html b/docs/com/pubnub/api/builder/dto/UnsubscribeOperation.html
new file mode 100644
index 000000000..6e88cbac1
--- /dev/null
+++ b/docs/com/pubnub/api/builder/dto/UnsubscribeOperation.html
@@ -0,0 +1,226 @@
+
+
+
+
+
+UnsubscribeOperation (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
+
+
+java.lang.Object
+
+
+com.pubnub.api.builder.dto.UnsubscribeOperation
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+Methods inherited from class java.lang.Object
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Detail
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/builder/dto/package-frame.html b/docs/com/pubnub/api/builder/dto/package-frame.html
new file mode 100644
index 000000000..e821f209e
--- /dev/null
+++ b/docs/com/pubnub/api/builder/dto/package-frame.html
@@ -0,0 +1,21 @@
+
+
+
+
+
+com.pubnub.api.builder.dto (pubnub 4.0.10 API)
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/builder/dto/package-summary.html b/docs/com/pubnub/api/builder/dto/package-summary.html
new file mode 100644
index 000000000..67184350d
--- /dev/null
+++ b/docs/com/pubnub/api/builder/dto/package-summary.html
@@ -0,0 +1,139 @@
+
+
+
+
+
+com.pubnub.api.builder.dto (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/builder/dto/package-tree.html b/docs/com/pubnub/api/builder/dto/package-tree.html
new file mode 100644
index 000000000..9cc1f2ae3
--- /dev/null
+++ b/docs/com/pubnub/api/builder/dto/package-tree.html
@@ -0,0 +1,128 @@
+
+
+
+
+
+com.pubnub.api.builder.dto Class Hierarchy (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/builder/package-frame.html b/docs/com/pubnub/api/builder/package-frame.html
new file mode 100644
index 000000000..ae33a09d0
--- /dev/null
+++ b/docs/com/pubnub/api/builder/package-frame.html
@@ -0,0 +1,22 @@
+
+
+
+
+
+com.pubnub.api.builder (pubnub 4.0.10 API)
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/builder/package-summary.html b/docs/com/pubnub/api/builder/package-summary.html
new file mode 100644
index 000000000..52e1deea5
--- /dev/null
+++ b/docs/com/pubnub/api/builder/package-summary.html
@@ -0,0 +1,143 @@
+
+
+
+
+
+com.pubnub.api.builder (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/builder/package-tree.html b/docs/com/pubnub/api/builder/package-tree.html
new file mode 100644
index 000000000..a95a74b66
--- /dev/null
+++ b/docs/com/pubnub/api/builder/package-tree.html
@@ -0,0 +1,132 @@
+
+
+
+
+
+com.pubnub.api.builder Class Hierarchy (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/callbacks/PNCallback.html b/docs/com/pubnub/api/callbacks/PNCallback.html
new file mode 100644
index 000000000..907f14e8b
--- /dev/null
+++ b/docs/com/pubnub/api/callbacks/PNCallback.html
@@ -0,0 +1,262 @@
+
+
+
+
+
+PNCallback (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+java.lang.Object
+
+
+com.pubnub.api.callbacks.PNCallback<X>
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+Constructors
+
+Constructor and Description
+
+
+PNCallback ()
+
+
+
+
+
+
+
+
+
+Method Summary
+
+Methods
+
+Modifier and Type
+Method and Description
+
+
+abstract void
+onResponse (X result,
+ PNStatus status)
+
+
+
+
+
+
+Methods inherited from class java.lang.Object
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Detail
+
+
+
+
+
+PNCallback
+public PNCallback()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/callbacks/ReconnectionCallback.html b/docs/com/pubnub/api/callbacks/ReconnectionCallback.html
new file mode 100644
index 000000000..1ce5855c4
--- /dev/null
+++ b/docs/com/pubnub/api/callbacks/ReconnectionCallback.html
@@ -0,0 +1,254 @@
+
+
+
+
+
+ReconnectionCallback (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+java.lang.Object
+
+
+com.pubnub.api.callbacks.ReconnectionCallback
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+
+
+
+
+
+
+Method Summary
+
+Methods
+
+Modifier and Type
+Method and Description
+
+
+abstract void
+onReconnection ()
+
+
+
+
+
+
+Methods inherited from class java.lang.Object
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Detail
+
+
+
+
+
+
+
+
+
+
+
+Method Detail
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/callbacks/SubscribeCallback.html b/docs/com/pubnub/api/callbacks/SubscribeCallback.html
new file mode 100644
index 000000000..f499a5f8d
--- /dev/null
+++ b/docs/com/pubnub/api/callbacks/SubscribeCallback.html
@@ -0,0 +1,286 @@
+
+
+
+
+
+SubscribeCallback (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+java.lang.Object
+
+
+com.pubnub.api.callbacks.SubscribeCallback
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+
+Methods inherited from class java.lang.Object
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Detail
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/callbacks/TimeCallback.html b/docs/com/pubnub/api/callbacks/TimeCallback.html
new file mode 100644
index 000000000..c312a59ae
--- /dev/null
+++ b/docs/com/pubnub/api/callbacks/TimeCallback.html
@@ -0,0 +1,238 @@
+
+
+
+
+
+TimeCallback (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
+
+
+java.lang.Object
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+Constructors
+
+Constructor and Description
+
+
+TimeCallback ()
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+
+Methods inherited from class java.lang.Object
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Detail
+
+
+
+
+
+TimeCallback
+public TimeCallback()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/callbacks/WhereNowCallback.html b/docs/com/pubnub/api/callbacks/WhereNowCallback.html
new file mode 100644
index 000000000..03127e3c0
--- /dev/null
+++ b/docs/com/pubnub/api/callbacks/WhereNowCallback.html
@@ -0,0 +1,238 @@
+
+
+
+
+
+WhereNowCallback (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
+
+
+java.lang.Object
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+
+Methods inherited from class java.lang.Object
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Detail
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/callbacks/package-frame.html b/docs/com/pubnub/api/callbacks/package-frame.html
new file mode 100644
index 000000000..728d018cf
--- /dev/null
+++ b/docs/com/pubnub/api/callbacks/package-frame.html
@@ -0,0 +1,23 @@
+
+
+
+
+
+com.pubnub.api.callbacks (pubnub 4.0.10 API)
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/callbacks/package-summary.html b/docs/com/pubnub/api/callbacks/package-summary.html
new file mode 100644
index 000000000..4374223db
--- /dev/null
+++ b/docs/com/pubnub/api/callbacks/package-summary.html
@@ -0,0 +1,147 @@
+
+
+
+
+
+com.pubnub.api.callbacks (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/callbacks/package-tree.html b/docs/com/pubnub/api/callbacks/package-tree.html
new file mode 100644
index 000000000..88ad0c1ca
--- /dev/null
+++ b/docs/com/pubnub/api/callbacks/package-tree.html
@@ -0,0 +1,133 @@
+
+
+
+
+
+com.pubnub.api.callbacks Class Hierarchy (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/core/models/server/PresenceMessage.html b/docs/com/pubnub/api/core/models/server/PresenceMessage.html
new file mode 100644
index 000000000..ce1dd89ef
--- /dev/null
+++ b/docs/com/pubnub/api/core/models/server/PresenceMessage.html
@@ -0,0 +1,226 @@
+
+
+
+
+
+PresenceMessage (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+Prev Class
+Next Class
+
+
+
+
+
+
+
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
+
+
+java.lang.Object
+
+
+com.pubnub.api.core.models.server.PresenceMessage
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+Methods inherited from class java.lang.Object
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Detail
+
+
+
+
+
+PresenceMessage
+public PresenceMessage()
+
+
+
+
+
+
+
+
+
+
+
+
+
+Prev Class
+Next Class
+
+
+
+
+
+
+
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/core/models/server/package-frame.html b/docs/com/pubnub/api/core/models/server/package-frame.html
new file mode 100644
index 000000000..efef74059
--- /dev/null
+++ b/docs/com/pubnub/api/core/models/server/package-frame.html
@@ -0,0 +1,19 @@
+
+
+
+
+
+com.pubnub.api.core.models.server (pubnub 4.0.10 API)
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/core/models/server/package-summary.html b/docs/com/pubnub/api/core/models/server/package-summary.html
new file mode 100644
index 000000000..7bca702f8
--- /dev/null
+++ b/docs/com/pubnub/api/core/models/server/package-summary.html
@@ -0,0 +1,131 @@
+
+
+
+
+
+com.pubnub.api.core.models.server (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/core/models/server/package-tree.html b/docs/com/pubnub/api/core/models/server/package-tree.html
new file mode 100644
index 000000000..4a05017b5
--- /dev/null
+++ b/docs/com/pubnub/api/core/models/server/package-tree.html
@@ -0,0 +1,126 @@
+
+
+
+
+
+com.pubnub.api.core.models.server Class Hierarchy (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/endpoints/Endpoint.html b/docs/com/pubnub/api/endpoints/Endpoint.html
new file mode 100644
index 000000000..11cb9d082
--- /dev/null
+++ b/docs/com/pubnub/api/endpoints/Endpoint.html
@@ -0,0 +1,418 @@
+
+
+
+
+
+Endpoint (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+java.lang.Object
+
+
+com.pubnub.api.endpoints.Endpoint<Input,Output>
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+Constructors
+
+Constructor and Description
+
+
+Endpoint (PubNub pubnubInstance,
+ retrofit2.Retrofit retrofitInstance)
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+
+Methods inherited from class java.lang.Object
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Detail
+
+
+
+
+
+
+
+
+
+
+
+Method Detail
+
+
+
+
+
+
+
+
+
+
+
+
+
+retry
+public void retry()
+
+
+
+
+
+
+
+silentCancel
+public void silentCancel()
+cancel the operation but do not alert anybody, useful for restarting the heartbeats and subscribe loops.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/endpoints/History.html b/docs/com/pubnub/api/endpoints/History.html
new file mode 100644
index 000000000..0639936bb
--- /dev/null
+++ b/docs/com/pubnub/api/endpoints/History.html
@@ -0,0 +1,344 @@
+
+
+
+
+
+History (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+java.lang.Object
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+Constructors
+
+Constructor and Description
+
+
+History (PubNub pubnub,
+ retrofit2.Retrofit retrofit)
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+
+
+Methods inherited from class java.lang.Object
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Detail
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/endpoints/Time.html b/docs/com/pubnub/api/endpoints/Time.html
new file mode 100644
index 000000000..254603844
--- /dev/null
+++ b/docs/com/pubnub/api/endpoints/Time.html
@@ -0,0 +1,344 @@
+
+
+
+
+
+Time (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+java.lang.Object
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+Constructors
+
+Constructor and Description
+
+
+Time (PubNub pubnub,
+ retrofit2.Retrofit retrofit)
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+
+
+Methods inherited from class java.lang.Object
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Detail
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/endpoints/access/AccessManagerService.html b/docs/com/pubnub/api/endpoints/access/AccessManagerService.html
new file mode 100644
index 000000000..6ac734c9d
--- /dev/null
+++ b/docs/com/pubnub/api/endpoints/access/AccessManagerService.html
@@ -0,0 +1,227 @@
+
+
+
+
+
+AccessManagerService (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+Summary:
+Nested |
+Field |
+Constr |
+Method
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Method Detail
+
+
+
+
+
+grant
+@GET(value="/v1/auth/grant/sub-key/{subKey}")
+retrofit2.Call<Envelope <AccessManagerGrantPayload >> grant(@Path(value="subKey")
+ java.lang.String subKey,
+ @QueryMap
+ java.util.Map<java.lang.String,java.lang.String> options)
+
+
+
+
+
+
+
+audit
+@GET(value="/v1/auth/audit/sub-key/{subKey}")
+retrofit2.Call<Envelope <AccessManagerAuditPayload >> audit(@Path(value="subKey")
+ java.lang.String subKey,
+ @QueryMap
+ java.util.Map<java.lang.String,java.lang.String> options)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Summary:
+Nested |
+Field |
+Constr |
+Method
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/endpoints/access/Audit.html b/docs/com/pubnub/api/endpoints/access/Audit.html
new file mode 100644
index 000000000..a99e8f36b
--- /dev/null
+++ b/docs/com/pubnub/api/endpoints/access/Audit.html
@@ -0,0 +1,346 @@
+
+
+
+
+
+Audit (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+java.lang.Object
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+Constructors
+
+Constructor and Description
+
+
+Audit (PubNub pubnub,
+ retrofit2.Retrofit retrofit)
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+
+
+Methods inherited from class java.lang.Object
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Detail
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/endpoints/access/Grant.html b/docs/com/pubnub/api/endpoints/access/Grant.html
new file mode 100644
index 000000000..32fb9d202
--- /dev/null
+++ b/docs/com/pubnub/api/endpoints/access/Grant.html
@@ -0,0 +1,346 @@
+
+
+
+
+
+Grant (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+java.lang.Object
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+Constructors
+
+Constructor and Description
+
+
+Grant (PubNub pubnub,
+ retrofit2.Retrofit retrofit)
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+
+
+Methods inherited from class java.lang.Object
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Detail
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/endpoints/access/package-frame.html b/docs/com/pubnub/api/endpoints/access/package-frame.html
new file mode 100644
index 000000000..2f8af6bf9
--- /dev/null
+++ b/docs/com/pubnub/api/endpoints/access/package-frame.html
@@ -0,0 +1,24 @@
+
+
+
+
+
+com.pubnub.api.endpoints.access (pubnub 4.0.10 API)
+
+
+
+
+
+
+
Interfaces
+
+
Classes
+
+
+
+
diff --git a/docs/com/pubnub/api/endpoints/access/package-summary.html b/docs/com/pubnub/api/endpoints/access/package-summary.html
new file mode 100644
index 000000000..de6ecd635
--- /dev/null
+++ b/docs/com/pubnub/api/endpoints/access/package-summary.html
@@ -0,0 +1,150 @@
+
+
+
+
+
+com.pubnub.api.endpoints.access (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
+Class Summary
+
+Class
+Description
+
+
+
+Audit
+
+
+
+Grant
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/endpoints/access/package-tree.html b/docs/com/pubnub/api/endpoints/access/package-tree.html
new file mode 100644
index 000000000..412e2bb3b
--- /dev/null
+++ b/docs/com/pubnub/api/endpoints/access/package-tree.html
@@ -0,0 +1,135 @@
+
+
+
+
+
+com.pubnub.api.endpoints.access Class Hierarchy (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
Class Hierarchy
+
+java.lang.Object
+
+com.pubnub.api.endpoints.Endpoint <Input,Output>
+
+com.pubnub.api.endpoints.access.Audit
+com.pubnub.api.endpoints.access.Grant
+
+
+
+
+
+
Interface Hierarchy
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/endpoints/channel_groups/AddChannelChannelGroup.html b/docs/com/pubnub/api/endpoints/channel_groups/AddChannelChannelGroup.html
new file mode 100644
index 000000000..07051bbd0
--- /dev/null
+++ b/docs/com/pubnub/api/endpoints/channel_groups/AddChannelChannelGroup.html
@@ -0,0 +1,344 @@
+
+
+
+
+
+AddChannelChannelGroup (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+java.lang.Object
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+
+
+Methods inherited from class java.lang.Object
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Detail
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/endpoints/channel_groups/AllChannelsChannelGroup.html b/docs/com/pubnub/api/endpoints/channel_groups/AllChannelsChannelGroup.html
new file mode 100644
index 000000000..79dd86c74
--- /dev/null
+++ b/docs/com/pubnub/api/endpoints/channel_groups/AllChannelsChannelGroup.html
@@ -0,0 +1,344 @@
+
+
+
+
+
+AllChannelsChannelGroup (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+java.lang.Object
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+
+
+Methods inherited from class java.lang.Object
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Detail
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/endpoints/channel_groups/ChannelGroupService.html b/docs/com/pubnub/api/endpoints/channel_groups/ChannelGroupService.html
new file mode 100644
index 000000000..538ff4f3b
--- /dev/null
+++ b/docs/com/pubnub/api/endpoints/channel_groups/ChannelGroupService.html
@@ -0,0 +1,293 @@
+
+
+
+
+
+ChannelGroupService (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+Summary:
+Nested |
+Field |
+Constr |
+Method
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Method Summary
+
+Methods
+
+Modifier and Type
+Method and Description
+
+
+retrofit2.Call<Envelope >
+addChannelChannelGroup (java.lang.String subKey,
+ java.lang.String group,
+ java.util.Map<java.lang.String,java.lang.String> options)
+
+
+retrofit2.Call<Envelope <java.lang.Object>>
+allChannelsChannelGroup (java.lang.String subKey,
+ java.lang.String group,
+ java.util.Map<java.lang.String,java.lang.String> options)
+
+
+retrofit2.Call<Envelope >
+deleteChannelGroup (java.lang.String subKey,
+ java.lang.String group,
+ java.util.Map<java.lang.String,java.lang.String> options)
+
+
+retrofit2.Call<Envelope <java.lang.Object>>
+listAllChannelGroup (java.lang.String subKey,
+ java.util.Map<java.lang.String,java.lang.String> options)
+
+
+retrofit2.Call<Envelope >
+removeChannel (java.lang.String subKey,
+ java.lang.String group,
+ java.util.Map<java.lang.String,java.lang.String> options)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Method Detail
+
+
+
+
+
+listAllChannelGroup
+@GET(value="v1/channel-registration/sub-key/{subKey}/channel-group")
+retrofit2.Call<Envelope <java.lang.Object>> listAllChannelGroup(@Path(value="subKey")
+ java.lang.String subKey,
+ @QueryMap
+ java.util.Map<java.lang.String,java.lang.String> options)
+
+
+
+
+
+
+
+allChannelsChannelGroup
+@GET(value="v1/channel-registration/sub-key/{subKey}/channel-group/{group}")
+retrofit2.Call<Envelope <java.lang.Object>> allChannelsChannelGroup(@Path(value="subKey")
+ java.lang.String subKey,
+ @Path(value="group")
+ java.lang.String group,
+ @QueryMap
+ java.util.Map<java.lang.String,java.lang.String> options)
+
+
+
+
+
+
+
+addChannelChannelGroup
+@GET(value="v1/channel-registration/sub-key/{subKey}/channel-group/{group}")
+retrofit2.Call<Envelope > addChannelChannelGroup(@Path(value="subKey")
+ java.lang.String subKey,
+ @Path(value="group")
+ java.lang.String group,
+ @QueryMap
+ java.util.Map<java.lang.String,java.lang.String> options)
+
+
+
+
+
+
+
+removeChannel
+@GET(value="v1/channel-registration/sub-key/{subKey}/channel-group/{group}")
+retrofit2.Call<Envelope > removeChannel(@Path(value="subKey")
+ java.lang.String subKey,
+ @Path(value="group")
+ java.lang.String group,
+ @QueryMap
+ java.util.Map<java.lang.String,java.lang.String> options)
+
+
+
+
+
+
+
+deleteChannelGroup
+@GET(value="v1/channel-registration/sub-key/{subKey}/channel-group/{group}/remove")
+retrofit2.Call<Envelope > deleteChannelGroup(@Path(value="subKey")
+ java.lang.String subKey,
+ @Path(value="group")
+ java.lang.String group,
+ @QueryMap
+ java.util.Map<java.lang.String,java.lang.String> options)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Summary:
+Nested |
+Field |
+Constr |
+Method
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/endpoints/channel_groups/DeleteChannelGroup.html b/docs/com/pubnub/api/endpoints/channel_groups/DeleteChannelGroup.html
new file mode 100644
index 000000000..03ea6cddf
--- /dev/null
+++ b/docs/com/pubnub/api/endpoints/channel_groups/DeleteChannelGroup.html
@@ -0,0 +1,344 @@
+
+
+
+
+
+DeleteChannelGroup (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+java.lang.Object
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+
+
+Methods inherited from class java.lang.Object
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Detail
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/endpoints/channel_groups/ListAllChannelGroup.html b/docs/com/pubnub/api/endpoints/channel_groups/ListAllChannelGroup.html
new file mode 100644
index 000000000..22465804c
--- /dev/null
+++ b/docs/com/pubnub/api/endpoints/channel_groups/ListAllChannelGroup.html
@@ -0,0 +1,344 @@
+
+
+
+
+
+ListAllChannelGroup (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+java.lang.Object
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+
+
+Methods inherited from class java.lang.Object
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Detail
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/endpoints/channel_groups/RemoveChannelChannelGroup.html b/docs/com/pubnub/api/endpoints/channel_groups/RemoveChannelChannelGroup.html
new file mode 100644
index 000000000..5448eb05d
--- /dev/null
+++ b/docs/com/pubnub/api/endpoints/channel_groups/RemoveChannelChannelGroup.html
@@ -0,0 +1,344 @@
+
+
+
+
+
+RemoveChannelChannelGroup (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+java.lang.Object
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+
+
+Methods inherited from class java.lang.Object
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Detail
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/endpoints/channel_groups/package-frame.html b/docs/com/pubnub/api/endpoints/channel_groups/package-frame.html
new file mode 100644
index 000000000..476dfb56b
--- /dev/null
+++ b/docs/com/pubnub/api/endpoints/channel_groups/package-frame.html
@@ -0,0 +1,27 @@
+
+
+
+
+
+com.pubnub.api.endpoints.channel_groups (pubnub 4.0.10 API)
+
+
+
+
+
+
+
Interfaces
+
+
Classes
+
+
+
+
diff --git a/docs/com/pubnub/api/endpoints/channel_groups/package-summary.html b/docs/com/pubnub/api/endpoints/channel_groups/package-summary.html
new file mode 100644
index 000000000..429f8e8f5
--- /dev/null
+++ b/docs/com/pubnub/api/endpoints/channel_groups/package-summary.html
@@ -0,0 +1,162 @@
+
+
+
+
+
+com.pubnub.api.endpoints.channel_groups (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/endpoints/channel_groups/package-tree.html b/docs/com/pubnub/api/endpoints/channel_groups/package-tree.html
new file mode 100644
index 000000000..211f67f86
--- /dev/null
+++ b/docs/com/pubnub/api/endpoints/channel_groups/package-tree.html
@@ -0,0 +1,138 @@
+
+
+
+
+
+com.pubnub.api.endpoints.channel_groups Class Hierarchy (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
Class Hierarchy
+
+java.lang.Object
+
+com.pubnub.api.endpoints.Endpoint <Input,Output>
+
+
+
+
+
+
Interface Hierarchy
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/endpoints/package-frame.html b/docs/com/pubnub/api/endpoints/package-frame.html
new file mode 100644
index 000000000..a42a7b0a0
--- /dev/null
+++ b/docs/com/pubnub/api/endpoints/package-frame.html
@@ -0,0 +1,21 @@
+
+
+
+
+
+com.pubnub.api.endpoints (pubnub 4.0.10 API)
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/endpoints/package-summary.html b/docs/com/pubnub/api/endpoints/package-summary.html
new file mode 100644
index 000000000..4388738ef
--- /dev/null
+++ b/docs/com/pubnub/api/endpoints/package-summary.html
@@ -0,0 +1,139 @@
+
+
+
+
+
+com.pubnub.api.endpoints (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+Class Summary
+
+Class
+Description
+
+
+
+Endpoint <Input,Output>
+
+
+
+History
+
+
+
+Time
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/endpoints/package-tree.html b/docs/com/pubnub/api/endpoints/package-tree.html
new file mode 100644
index 000000000..d9fce6ceb
--- /dev/null
+++ b/docs/com/pubnub/api/endpoints/package-tree.html
@@ -0,0 +1,131 @@
+
+
+
+
+
+com.pubnub.api.endpoints Class Hierarchy (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
Class Hierarchy
+
+java.lang.Object
+
+com.pubnub.api.endpoints.Endpoint <Input,Output>
+
+com.pubnub.api.endpoints.History
+com.pubnub.api.endpoints.Time
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/endpoints/presence/GetState.html b/docs/com/pubnub/api/endpoints/presence/GetState.html
new file mode 100644
index 000000000..3ea658eab
--- /dev/null
+++ b/docs/com/pubnub/api/endpoints/presence/GetState.html
@@ -0,0 +1,344 @@
+
+
+
+
+
+GetState (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+java.lang.Object
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+Constructors
+
+Constructor and Description
+
+
+GetState (PubNub pubnub,
+ retrofit2.Retrofit retrofit)
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+
+
+Methods inherited from class java.lang.Object
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Detail
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/endpoints/presence/Heartbeat.html b/docs/com/pubnub/api/endpoints/presence/Heartbeat.html
new file mode 100644
index 000000000..5403c22ae
--- /dev/null
+++ b/docs/com/pubnub/api/endpoints/presence/Heartbeat.html
@@ -0,0 +1,346 @@
+
+
+
+
+
+Heartbeat (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+java.lang.Object
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+Constructors
+
+Constructor and Description
+
+
+Heartbeat (PubNub pubnub,
+ retrofit2.Retrofit retrofit)
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+
+
+Methods inherited from class java.lang.Object
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Detail
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/endpoints/presence/HereNow.html b/docs/com/pubnub/api/endpoints/presence/HereNow.html
new file mode 100644
index 000000000..e402e72e6
--- /dev/null
+++ b/docs/com/pubnub/api/endpoints/presence/HereNow.html
@@ -0,0 +1,342 @@
+
+
+
+
+
+HereNow (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+java.lang.Object
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+Constructors
+
+Constructor and Description
+
+
+HereNow (PubNub pubnubInstance,
+ retrofit2.Retrofit retrofit)
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+
+
+Methods inherited from class java.lang.Object
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Detail
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/endpoints/presence/Leave.html b/docs/com/pubnub/api/endpoints/presence/Leave.html
new file mode 100644
index 000000000..12169e23a
--- /dev/null
+++ b/docs/com/pubnub/api/endpoints/presence/Leave.html
@@ -0,0 +1,378 @@
+
+
+
+
+
+Leave (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+java.lang.Object
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+Constructors
+
+Constructor and Description
+
+
+Leave (PubNub pubnub,
+ retrofit2.Retrofit retrofit)
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+
+
+Methods inherited from class java.lang.Object
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Detail
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/endpoints/presence/PresenceService.html b/docs/com/pubnub/api/endpoints/presence/PresenceService.html
new file mode 100644
index 000000000..83e858606
--- /dev/null
+++ b/docs/com/pubnub/api/endpoints/presence/PresenceService.html
@@ -0,0 +1,341 @@
+
+
+
+
+
+PresenceService (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+Summary:
+Nested |
+Field |
+Constr |
+Method
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Method Summary
+
+Methods
+
+Modifier and Type
+Method and Description
+
+
+retrofit2.Call<Envelope <java.lang.Object>>
+getState (java.lang.String subKey,
+ java.lang.String channel,
+ java.lang.String uuid,
+ java.util.Map<java.lang.String,java.lang.String> options)
+
+
+retrofit2.Call<Envelope <java.lang.Object>>
+globalHereNow (java.lang.String subKey,
+ java.util.Map<java.lang.String,java.lang.String> options)
+
+
+retrofit2.Call<Envelope >
+heartbeat (java.lang.String subKey,
+ java.lang.String channel,
+ java.util.Map<java.lang.String,java.lang.String> options)
+
+
+retrofit2.Call<Envelope <java.lang.Object>>
+hereNow (java.lang.String subKey,
+ java.lang.String channel,
+ java.util.Map<java.lang.String,java.lang.String> options)
+
+
+retrofit2.Call<Envelope >
+leave (java.lang.String subKey,
+ java.lang.String channel,
+ java.util.Map<java.lang.String,java.lang.String> options)
+
+
+retrofit2.Call<Envelope <java.util.Map<java.lang.String,java.lang.Object>>>
+setState (java.lang.String subKey,
+ java.lang.String channel,
+ java.lang.String uuid,
+ java.util.Map<java.lang.String,java.lang.String> options)
+
+
+retrofit2.Call<Envelope <WhereNowPayload >>
+whereNow (java.lang.String subKey,
+ java.lang.String uuid,
+ java.util.Map<java.lang.String,java.lang.String> options)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Method Detail
+
+
+
+
+
+leave
+@GET(value="v2/presence/sub-key/{subKey}/channel/{channel}/leave")
+retrofit2.Call<Envelope > leave(@Path(value="subKey")
+ java.lang.String subKey,
+ @Path(value="channel")
+ java.lang.String channel,
+ @QueryMap
+ java.util.Map<java.lang.String,java.lang.String> options)
+
+
+
+
+
+
+
+heartbeat
+@GET(value="v2/presence/sub-key/{subKey}/channel/{channel}/heartbeat")
+retrofit2.Call<Envelope > heartbeat(@Path(value="subKey")
+ java.lang.String subKey,
+ @Path(value="channel")
+ java.lang.String channel,
+ @QueryMap
+ java.util.Map<java.lang.String,java.lang.String> options)
+
+
+
+
+
+
+
+whereNow
+@GET(value="v2/presence/sub-key/{subKey}/uuid/{uuid}")
+retrofit2.Call<Envelope <WhereNowPayload >> whereNow(@Path(value="subKey")
+ java.lang.String subKey,
+ @Path(value="uuid")
+ java.lang.String uuid,
+ @QueryMap
+ java.util.Map<java.lang.String,java.lang.String> options)
+
+
+
+
+
+
+
+globalHereNow
+@GET(value="v2/presence/sub_key/{subKey}")
+retrofit2.Call<Envelope <java.lang.Object>> globalHereNow(@Path(value="subKey")
+ java.lang.String subKey,
+ @QueryMap
+ java.util.Map<java.lang.String,java.lang.String> options)
+
+
+
+
+
+
+
+hereNow
+@GET(value="v2/presence/sub_key/{subKey}/channel/{channel}")
+retrofit2.Call<Envelope <java.lang.Object>> hereNow(@Path(value="subKey")
+ java.lang.String subKey,
+ @Path(value="channel")
+ java.lang.String channel,
+ @QueryMap
+ java.util.Map<java.lang.String,java.lang.String> options)
+
+
+
+
+
+
+
+getState
+@GET(value="v2/presence/sub-key/{subKey}/channel/{channel}/uuid/{uuid}")
+retrofit2.Call<Envelope <java.lang.Object>> getState(@Path(value="subKey")
+ java.lang.String subKey,
+ @Path(value="channel")
+ java.lang.String channel,
+ @Path(value="uuid")
+ java.lang.String uuid,
+ @QueryMap
+ java.util.Map<java.lang.String,java.lang.String> options)
+
+
+
+
+
+
+
+setState
+@GET(value="v2/presence/sub-key/{subKey}/channel/{channel}/uuid/{uuid}/data")
+retrofit2.Call<Envelope <java.util.Map<java.lang.String,java.lang.Object>>> setState(@Path(value="subKey")
+ java.lang.String subKey,
+ @Path(value="channel")
+ java.lang.String channel,
+ @Path(value="uuid")
+ java.lang.String uuid,
+ @QueryMap(encoded=true)
+ java.util.Map<java.lang.String,java.lang.String> options)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Summary:
+Nested |
+Field |
+Constr |
+Method
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/endpoints/presence/SetState.html b/docs/com/pubnub/api/endpoints/presence/SetState.html
new file mode 100644
index 000000000..f7e5a28fa
--- /dev/null
+++ b/docs/com/pubnub/api/endpoints/presence/SetState.html
@@ -0,0 +1,348 @@
+
+
+
+
+
+SetState (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+java.lang.Object
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+
+
+Methods inherited from class java.lang.Object
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Detail
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/endpoints/presence/WhereNow.html b/docs/com/pubnub/api/endpoints/presence/WhereNow.html
new file mode 100644
index 000000000..1134db4c9
--- /dev/null
+++ b/docs/com/pubnub/api/endpoints/presence/WhereNow.html
@@ -0,0 +1,344 @@
+
+
+
+
+
+WhereNow (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+java.lang.Object
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+Constructors
+
+Constructor and Description
+
+
+WhereNow (PubNub pubnub,
+ retrofit2.Retrofit retrofit)
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+
+
+Methods inherited from class java.lang.Object
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Detail
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/endpoints/presence/package-frame.html b/docs/com/pubnub/api/endpoints/presence/package-frame.html
new file mode 100644
index 000000000..6196c8429
--- /dev/null
+++ b/docs/com/pubnub/api/endpoints/presence/package-frame.html
@@ -0,0 +1,28 @@
+
+
+
+
+
+com.pubnub.api.endpoints.presence (pubnub 4.0.10 API)
+
+
+
+
+
+
+
Interfaces
+
+
Classes
+
+
+
+
diff --git a/docs/com/pubnub/api/endpoints/presence/package-summary.html b/docs/com/pubnub/api/endpoints/presence/package-summary.html
new file mode 100644
index 000000000..c0c89ec1a
--- /dev/null
+++ b/docs/com/pubnub/api/endpoints/presence/package-summary.html
@@ -0,0 +1,166 @@
+
+
+
+
+
+com.pubnub.api.endpoints.presence (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+Interface Summary
+
+Interface
+Description
+
+
+
+PresenceService
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/endpoints/presence/package-tree.html b/docs/com/pubnub/api/endpoints/presence/package-tree.html
new file mode 100644
index 000000000..13cd3788a
--- /dev/null
+++ b/docs/com/pubnub/api/endpoints/presence/package-tree.html
@@ -0,0 +1,139 @@
+
+
+
+
+
+com.pubnub.api.endpoints.presence Class Hierarchy (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
Class Hierarchy
+
+java.lang.Object
+
+com.pubnub.api.endpoints.Endpoint <Input,Output>
+
+com.pubnub.api.endpoints.presence.GetState
+com.pubnub.api.endpoints.presence.Heartbeat
+com.pubnub.api.endpoints.presence.HereNow
+com.pubnub.api.endpoints.presence.Leave
+com.pubnub.api.endpoints.presence.SetState
+com.pubnub.api.endpoints.presence.WhereNow
+
+
+
+
+
+
Interface Hierarchy
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/endpoints/pubsub/PubSubService.html b/docs/com/pubnub/api/endpoints/pubsub/PubSubService.html
new file mode 100644
index 000000000..1304d3f52
--- /dev/null
+++ b/docs/com/pubnub/api/endpoints/pubsub/PubSubService.html
@@ -0,0 +1,267 @@
+
+
+
+
+
+PubSubService (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+Summary:
+Nested |
+Field |
+Constr |
+Method
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Method Summary
+
+Methods
+
+Modifier and Type
+Method and Description
+
+
+retrofit2.Call<java.util.List<java.lang.Object>>
+publish (java.lang.String pubKey,
+ java.lang.String subKey,
+ java.lang.String channel,
+ java.lang.String message,
+ java.util.Map<java.lang.String,java.lang.String> options)
+
+
+retrofit2.Call<java.util.List<java.lang.Object>>
+publishWithPost (java.lang.String pubKey,
+ java.lang.String subKey,
+ java.lang.String channel,
+ java.lang.Object body,
+ java.util.Map<java.lang.String,java.lang.String> options)
+
+
+retrofit2.Call<SubscribeEnvelope >
+subscribe (java.lang.String subKey,
+ java.lang.String channel,
+ java.util.Map<java.lang.String,java.lang.String> options)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Method Detail
+
+
+
+
+
+subscribe
+@GET(value="v2/subscribe/{subKey}/{channel}/0")
+retrofit2.Call<SubscribeEnvelope > subscribe(@Path(value="subKey")
+ java.lang.String subKey,
+ @Path(value="channel")
+ java.lang.String channel,
+ @QueryMap(encoded=true)
+ java.util.Map<java.lang.String,java.lang.String> options)
+
+
+
+
+
+
+
+publish
+@GET(value="publish/{pubKey}/{subKey}/0/{channel}/0/{message}")
+retrofit2.Call<java.util.List<java.lang.Object>> publish(@Path(value="pubKey")
+ java.lang.String pubKey,
+ @Path(value="subKey")
+ java.lang.String subKey,
+ @Path(value="channel")
+ java.lang.String channel,
+ @Path(value="message",encoded=true)
+ java.lang.String message,
+ @QueryMap(encoded=true)
+ java.util.Map<java.lang.String,java.lang.String> options)
+
+
+
+
+
+
+
+publishWithPost
+@POST(value="publish/{pubKey}/{subKey}/0/{channel}/0")
+@Headers(value="Content-Type: application/json; charset=UTF-8")
+retrofit2.Call<java.util.List<java.lang.Object>> publishWithPost(@Path(value="pubKey")
+ java.lang.String pubKey,
+ @Path(value="subKey")
+ java.lang.String subKey,
+ @Path(value="channel")
+ java.lang.String channel,
+ @Body
+ java.lang.Object body,
+ @QueryMap(encoded=true)
+ java.util.Map<java.lang.String,java.lang.String> options)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Summary:
+Nested |
+Field |
+Constr |
+Method
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/endpoints/pubsub/Publish.html b/docs/com/pubnub/api/endpoints/pubsub/Publish.html
new file mode 100644
index 000000000..4e536872a
--- /dev/null
+++ b/docs/com/pubnub/api/endpoints/pubsub/Publish.html
@@ -0,0 +1,348 @@
+
+
+
+
+
+Publish (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+java.lang.Object
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+
+
+Methods inherited from class java.lang.Object
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Detail
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/endpoints/pubsub/Subscribe.html b/docs/com/pubnub/api/endpoints/pubsub/Subscribe.html
new file mode 100644
index 000000000..4f6e0fd0a
--- /dev/null
+++ b/docs/com/pubnub/api/endpoints/pubsub/Subscribe.html
@@ -0,0 +1,351 @@
+
+
+
+
+
+Subscribe (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+java.lang.Object
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+Constructors
+
+Constructor and Description
+
+
+Subscribe (PubNub pubnub,
+ retrofit2.Retrofit retrofit)
+CreFte a new Subscribe instance endpoint.
+
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+
+
+Methods inherited from class java.lang.Object
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Detail
+
+
+
+
+
+Subscribe
+public Subscribe(PubNub pubnub,
+ retrofit2.Retrofit retrofit)
+CreFte a new Subscribe instance endpoint.
+Parameters: pubnub - supplied pubnub instance.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/endpoints/pubsub/package-frame.html b/docs/com/pubnub/api/endpoints/pubsub/package-frame.html
new file mode 100644
index 000000000..49555908f
--- /dev/null
+++ b/docs/com/pubnub/api/endpoints/pubsub/package-frame.html
@@ -0,0 +1,24 @@
+
+
+
+
+
+com.pubnub.api.endpoints.pubsub (pubnub 4.0.10 API)
+
+
+
+
+
+
+
Interfaces
+
+
Classes
+
+
+
+
diff --git a/docs/com/pubnub/api/endpoints/pubsub/package-summary.html b/docs/com/pubnub/api/endpoints/pubsub/package-summary.html
new file mode 100644
index 000000000..c42d117a6
--- /dev/null
+++ b/docs/com/pubnub/api/endpoints/pubsub/package-summary.html
@@ -0,0 +1,152 @@
+
+
+
+
+
+com.pubnub.api.endpoints.pubsub (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+Interface Summary
+
+Interface
+Description
+
+
+
+PubSubService
+
+
+
+
+
+
+
+Class Summary
+
+Class
+Description
+
+
+
+Publish
+
+
+
+Subscribe
+
+Supports calling of the subscribe endpoints and deconstructs the response to POJO's.
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/endpoints/pubsub/package-tree.html b/docs/com/pubnub/api/endpoints/pubsub/package-tree.html
new file mode 100644
index 000000000..7b1f9e93b
--- /dev/null
+++ b/docs/com/pubnub/api/endpoints/pubsub/package-tree.html
@@ -0,0 +1,135 @@
+
+
+
+
+
+com.pubnub.api.endpoints.pubsub Class Hierarchy (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
Class Hierarchy
+
+java.lang.Object
+
+com.pubnub.api.endpoints.Endpoint <Input,Output>
+
+com.pubnub.api.endpoints.pubsub.Publish
+com.pubnub.api.endpoints.pubsub.Subscribe
+
+
+
+
+
+
Interface Hierarchy
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/endpoints/push/AddChannelsToPush.html b/docs/com/pubnub/api/endpoints/push/AddChannelsToPush.html
new file mode 100644
index 000000000..efc157033
--- /dev/null
+++ b/docs/com/pubnub/api/endpoints/push/AddChannelsToPush.html
@@ -0,0 +1,346 @@
+
+
+
+
+
+AddChannelsToPush (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+java.lang.Object
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+Constructors
+
+Constructor and Description
+
+
+AddChannelsToPush (PubNub pubnub,
+ retrofit2.Retrofit retrofit)
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+
+
+Methods inherited from class java.lang.Object
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Detail
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/endpoints/push/ListPushProvisions.html b/docs/com/pubnub/api/endpoints/push/ListPushProvisions.html
new file mode 100644
index 000000000..ab356495e
--- /dev/null
+++ b/docs/com/pubnub/api/endpoints/push/ListPushProvisions.html
@@ -0,0 +1,346 @@
+
+
+
+
+
+ListPushProvisions (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+java.lang.Object
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+
+
+Methods inherited from class java.lang.Object
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Detail
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/endpoints/push/PushService.html b/docs/com/pubnub/api/endpoints/push/PushService.html
new file mode 100644
index 000000000..0818f6244
--- /dev/null
+++ b/docs/com/pubnub/api/endpoints/push/PushService.html
@@ -0,0 +1,254 @@
+
+
+
+
+
+PushService (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+Summary:
+Nested |
+Field |
+Constr |
+Method
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Method Summary
+
+Methods
+
+Modifier and Type
+Method and Description
+
+
+retrofit2.Call<java.util.List<java.lang.String>>
+listChannelsForDevice (java.lang.String subKey,
+ java.lang.String pushToken,
+ java.util.Map<java.lang.String,java.lang.String> options)
+
+
+retrofit2.Call<java.util.List<java.lang.Object>>
+modifyChannelsForDevice (java.lang.String subKey,
+ java.lang.String pushToken,
+ java.util.Map<java.lang.String,java.lang.String> options)
+
+
+retrofit2.Call<java.util.List<java.lang.Object>>
+removeAllChannelsForDevice (java.lang.String subKey,
+ java.lang.String pushToken,
+ java.util.Map<java.lang.String,java.lang.String> options)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Method Detail
+
+
+
+
+
+modifyChannelsForDevice
+@GET(value="v1/push/sub-key/{subKey}/devices/{pushToken}")
+retrofit2.Call<java.util.List<java.lang.Object>> modifyChannelsForDevice(@Path(value="subKey")
+ java.lang.String subKey,
+ @Path(value="pushToken")
+ java.lang.String pushToken,
+ @QueryMap
+ java.util.Map<java.lang.String,java.lang.String> options)
+
+
+
+
+
+
+
+removeAllChannelsForDevice
+@GET(value="v1/push/sub-key/{subKey}/devices/{pushToken}/remove")
+retrofit2.Call<java.util.List<java.lang.Object>> removeAllChannelsForDevice(@Path(value="subKey")
+ java.lang.String subKey,
+ @Path(value="pushToken")
+ java.lang.String pushToken,
+ @QueryMap
+ java.util.Map<java.lang.String,java.lang.String> options)
+
+
+
+
+
+
+
+listChannelsForDevice
+@GET(value="v1/push/sub-key/{subKey}/devices/{pushToken}")
+retrofit2.Call<java.util.List<java.lang.String>> listChannelsForDevice(@Path(value="subKey")
+ java.lang.String subKey,
+ @Path(value="pushToken")
+ java.lang.String pushToken,
+ @QueryMap
+ java.util.Map<java.lang.String,java.lang.String> options)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Summary:
+Nested |
+Field |
+Constr |
+Method
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/endpoints/push/RemoveAllPushChannelsForDevice.html b/docs/com/pubnub/api/endpoints/push/RemoveAllPushChannelsForDevice.html
new file mode 100644
index 000000000..8e4eb95f4
--- /dev/null
+++ b/docs/com/pubnub/api/endpoints/push/RemoveAllPushChannelsForDevice.html
@@ -0,0 +1,346 @@
+
+
+
+
+
+RemoveAllPushChannelsForDevice (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+java.lang.Object
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+
+
+Methods inherited from class java.lang.Object
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Detail
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/endpoints/push/RemoveChannelsFromPush.html b/docs/com/pubnub/api/endpoints/push/RemoveChannelsFromPush.html
new file mode 100644
index 000000000..57d706204
--- /dev/null
+++ b/docs/com/pubnub/api/endpoints/push/RemoveChannelsFromPush.html
@@ -0,0 +1,346 @@
+
+
+
+
+
+RemoveChannelsFromPush (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+java.lang.Object
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+
+
+Methods inherited from class java.lang.Object
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Detail
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/endpoints/push/package-frame.html b/docs/com/pubnub/api/endpoints/push/package-frame.html
new file mode 100644
index 000000000..775ba9293
--- /dev/null
+++ b/docs/com/pubnub/api/endpoints/push/package-frame.html
@@ -0,0 +1,26 @@
+
+
+
+
+
+com.pubnub.api.endpoints.push (pubnub 4.0.10 API)
+
+
+
+
+
+
+
Interfaces
+
+
Classes
+
+
+
+
diff --git a/docs/com/pubnub/api/endpoints/push/package-summary.html b/docs/com/pubnub/api/endpoints/push/package-summary.html
new file mode 100644
index 000000000..043f6463c
--- /dev/null
+++ b/docs/com/pubnub/api/endpoints/push/package-summary.html
@@ -0,0 +1,158 @@
+
+
+
+
+
+com.pubnub.api.endpoints.push (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+Interface Summary
+
+Interface
+Description
+
+
+
+PushService
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/endpoints/push/package-tree.html b/docs/com/pubnub/api/endpoints/push/package-tree.html
new file mode 100644
index 000000000..33761bb4a
--- /dev/null
+++ b/docs/com/pubnub/api/endpoints/push/package-tree.html
@@ -0,0 +1,137 @@
+
+
+
+
+
+com.pubnub.api.endpoints.push Class Hierarchy (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
Class Hierarchy
+
+java.lang.Object
+
+com.pubnub.api.endpoints.Endpoint <Input,Output>
+
+
+
+
+
+
Interface Hierarchy
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/enums/PNHeartbeatNotificationOptions.html b/docs/com/pubnub/api/enums/PNHeartbeatNotificationOptions.html
new file mode 100644
index 000000000..4fe6d2981
--- /dev/null
+++ b/docs/com/pubnub/api/enums/PNHeartbeatNotificationOptions.html
@@ -0,0 +1,329 @@
+
+
+
+
+
+PNHeartbeatNotificationOptions (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+java.lang.Object
+
+
+
+
+
+
+
+
+
+
+
+
+
+Enum Constant Summary
+
+Enum Constants
+
+Enum Constant and Description
+
+
+ALL
+
+
+FAILURES
+
+
+NONE
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+
+Methods inherited from class java.lang.Enum
+clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
+
+
+
+
+
+Methods inherited from class java.lang.Object
+getClass, notify, notifyAll, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Method Detail
+
+
+
+
+
+
+
+
+
+valueOf
+public static PNHeartbeatNotificationOptions valueOf(java.lang.String name)
+Returns the enum constant of this type with the specified name.
+The string must match exactly an identifier used to declare an
+enum constant in this type. (Extraneous whitespace characters are
+not permitted.)
+Parameters: name - the name of the enum constant to be returned.
+Returns: the enum constant with the specified name
+Throws:
+java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
+java.lang.NullPointerException - if the argument is null
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/enums/PNLogVerbosity.html b/docs/com/pubnub/api/enums/PNLogVerbosity.html
new file mode 100644
index 000000000..ab7238751
--- /dev/null
+++ b/docs/com/pubnub/api/enums/PNLogVerbosity.html
@@ -0,0 +1,317 @@
+
+
+
+
+
+PNLogVerbosity (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+java.lang.Object
+
+
+java.lang.Enum<PNLogVerbosity >
+
+
+com.pubnub.api.enums.PNLogVerbosity
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Enum Constant Summary
+
+Enum Constants
+
+Enum Constant and Description
+
+
+BODY
+
+
+NONE
+
+
+
+
+
+
+
+
+
+Method Summary
+
+Methods
+
+Modifier and Type
+Method and Description
+
+
+static PNLogVerbosity
+valueOf (java.lang.String name)
+Returns the enum constant of this type with the specified name.
+
+
+
+static PNLogVerbosity []
+values ()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+
+
+
+
+
+
+
+Methods inherited from class java.lang.Enum
+clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
+
+
+
+
+
+Methods inherited from class java.lang.Object
+getClass, notify, notifyAll, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Enum Constant Detail
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Method Detail
+
+
+
+
+
+
+
+
+
+valueOf
+public static PNLogVerbosity valueOf(java.lang.String name)
+Returns the enum constant of this type with the specified name.
+The string must match exactly an identifier used to declare an
+enum constant in this type. (Extraneous whitespace characters are
+not permitted.)
+Parameters: name - the name of the enum constant to be returned.
+Returns: the enum constant with the specified name
+Throws:
+java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
+java.lang.NullPointerException - if the argument is null
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/enums/PNOperationType.html b/docs/com/pubnub/api/enums/PNOperationType.html
new file mode 100644
index 000000000..6c356b99a
--- /dev/null
+++ b/docs/com/pubnub/api/enums/PNOperationType.html
@@ -0,0 +1,546 @@
+
+
+
+
+
+PNOperationType (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+java.lang.Object
+
+
+java.lang.Enum<PNOperationType >
+
+
+com.pubnub.api.enums.PNOperationType
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Enum Constant Summary
+
+
+
+
+
+
+
+
+Method Summary
+
+Methods
+
+Modifier and Type
+Method and Description
+
+
+static PNOperationType
+valueOf (java.lang.String name)
+Returns the enum constant of this type with the specified name.
+
+
+
+static PNOperationType []
+values ()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+
+
+
+
+
+
+
+Methods inherited from class java.lang.Enum
+clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
+
+
+
+
+
+Methods inherited from class java.lang.Object
+getClass, notify, notifyAll, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Method Detail
+
+
+
+
+
+
+
+
+
+valueOf
+public static PNOperationType valueOf(java.lang.String name)
+Returns the enum constant of this type with the specified name.
+The string must match exactly an identifier used to declare an
+enum constant in this type. (Extraneous whitespace characters are
+not permitted.)
+Parameters: name - the name of the enum constant to be returned.
+Returns: the enum constant with the specified name
+Throws:
+java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
+java.lang.NullPointerException - if the argument is null
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/enums/PNPushType.html b/docs/com/pubnub/api/enums/PNPushType.html
new file mode 100644
index 000000000..35709a689
--- /dev/null
+++ b/docs/com/pubnub/api/enums/PNPushType.html
@@ -0,0 +1,329 @@
+
+
+
+
+
+PNPushType (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+java.lang.Object
+
+
+java.lang.Enum<PNPushType >
+
+
+com.pubnub.api.enums.PNPushType
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Enum Constant Summary
+
+Enum Constants
+
+Enum Constant and Description
+
+
+APNS
+
+
+GCM
+
+
+MPNS
+
+
+
+
+
+
+
+
+
+Method Summary
+
+Methods
+
+Modifier and Type
+Method and Description
+
+
+static PNPushType
+valueOf (java.lang.String name)
+Returns the enum constant of this type with the specified name.
+
+
+
+static PNPushType []
+values ()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+
+
+
+
+
+
+
+Methods inherited from class java.lang.Enum
+clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
+
+
+
+
+
+Methods inherited from class java.lang.Object
+getClass, notify, notifyAll, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Method Detail
+
+
+
+
+
+
+
+
+
+valueOf
+public static PNPushType valueOf(java.lang.String name)
+Returns the enum constant of this type with the specified name.
+The string must match exactly an identifier used to declare an
+enum constant in this type. (Extraneous whitespace characters are
+not permitted.)
+Parameters: name - the name of the enum constant to be returned.
+Returns: the enum constant with the specified name
+Throws:
+java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
+java.lang.NullPointerException - if the argument is null
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/enums/PNReconnectionPolicy.html b/docs/com/pubnub/api/enums/PNReconnectionPolicy.html
new file mode 100644
index 000000000..3ad887b8d
--- /dev/null
+++ b/docs/com/pubnub/api/enums/PNReconnectionPolicy.html
@@ -0,0 +1,329 @@
+
+
+
+
+
+PNReconnectionPolicy (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+java.lang.Object
+
+
+
+
+
+
+
+
+
+
+
+
+
+Enum Constant Summary
+
+
+
+
+
+
+
+
+Method Summary
+
+Methods
+
+Modifier and Type
+Method and Description
+
+
+static PNReconnectionPolicy
+valueOf (java.lang.String name)
+Returns the enum constant of this type with the specified name.
+
+
+
+static PNReconnectionPolicy []
+values ()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+
+
+
+
+
+
+
+Methods inherited from class java.lang.Enum
+clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
+
+
+
+
+
+Methods inherited from class java.lang.Object
+getClass, notify, notifyAll, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Method Detail
+
+
+
+
+
+
+
+
+
+valueOf
+public static PNReconnectionPolicy valueOf(java.lang.String name)
+Returns the enum constant of this type with the specified name.
+The string must match exactly an identifier used to declare an
+enum constant in this type. (Extraneous whitespace characters are
+not permitted.)
+Parameters: name - the name of the enum constant to be returned.
+Returns: the enum constant with the specified name
+Throws:
+java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
+java.lang.NullPointerException - if the argument is null
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/enums/PNStatusCategory.html b/docs/com/pubnub/api/enums/PNStatusCategory.html
new file mode 100644
index 000000000..1bb1bd64c
--- /dev/null
+++ b/docs/com/pubnub/api/enums/PNStatusCategory.html
@@ -0,0 +1,485 @@
+
+
+
+
+
+PNStatusCategory (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+java.lang.Object
+
+
+java.lang.Enum<PNStatusCategory >
+
+
+com.pubnub.api.enums.PNStatusCategory
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Enum Constant Summary
+
+
+
+
+
+
+
+
+Method Summary
+
+Methods
+
+Modifier and Type
+Method and Description
+
+
+static PNStatusCategory
+valueOf (java.lang.String name)
+Returns the enum constant of this type with the specified name.
+
+
+
+static PNStatusCategory []
+values ()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+
+
+
+
+
+
+
+Methods inherited from class java.lang.Enum
+clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
+
+
+
+
+
+Methods inherited from class java.lang.Object
+getClass, notify, notifyAll, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Method Detail
+
+
+
+
+
+
+
+
+
+valueOf
+public static PNStatusCategory valueOf(java.lang.String name)
+Returns the enum constant of this type with the specified name.
+The string must match exactly an identifier used to declare an
+enum constant in this type. (Extraneous whitespace characters are
+not permitted.)
+Parameters: name - the name of the enum constant to be returned.
+Returns: the enum constant with the specified name
+Throws:
+java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
+java.lang.NullPointerException - if the argument is null
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/enums/package-frame.html b/docs/com/pubnub/api/enums/package-frame.html
new file mode 100644
index 000000000..5c568c763
--- /dev/null
+++ b/docs/com/pubnub/api/enums/package-frame.html
@@ -0,0 +1,24 @@
+
+
+
+
+
+com.pubnub.api.enums (pubnub 4.0.10 API)
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/enums/package-summary.html b/docs/com/pubnub/api/enums/package-summary.html
new file mode 100644
index 000000000..9841497a1
--- /dev/null
+++ b/docs/com/pubnub/api/enums/package-summary.html
@@ -0,0 +1,153 @@
+
+
+
+
+
+com.pubnub.api.enums (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/enums/package-tree.html b/docs/com/pubnub/api/enums/package-tree.html
new file mode 100644
index 000000000..956684705
--- /dev/null
+++ b/docs/com/pubnub/api/enums/package-tree.html
@@ -0,0 +1,135 @@
+
+
+
+
+
+com.pubnub.api.enums Class Hierarchy (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
Enum Hierarchy
+
+java.lang.Object
+
+java.lang.Enum<E> (implements java.lang.Comparable<T>, java.io.Serializable)
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/managers/BasePathManager.html b/docs/com/pubnub/api/managers/BasePathManager.html
new file mode 100644
index 000000000..22ab738ca
--- /dev/null
+++ b/docs/com/pubnub/api/managers/BasePathManager.html
@@ -0,0 +1,263 @@
+
+
+
+
+
+BasePathManager (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+java.lang.Object
+
+
+com.pubnub.api.managers.BasePathManager
+
+
+
+
+
+
+
+
+public class BasePathManager
+extends java.lang.Object
+A stateful manager to support base path construction, proxying and cache busting.
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+
+
+
+
+
+
+Method Summary
+
+Methods
+
+Modifier and Type
+Method and Description
+
+
+java.lang.String
+getBasePath ()
+Prepares a next usable base url.
+
+
+
+
+
+
+
+Methods inherited from class java.lang.Object
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Detail
+
+
+
+
+
+
+
+
+
+
+
+Method Detail
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/managers/ListenerManager.html b/docs/com/pubnub/api/managers/ListenerManager.html
new file mode 100644
index 000000000..1f45d24ba
--- /dev/null
+++ b/docs/com/pubnub/api/managers/ListenerManager.html
@@ -0,0 +1,310 @@
+
+
+
+
+
+ListenerManager (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+java.lang.Object
+
+
+com.pubnub.api.managers.ListenerManager
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+
+Methods inherited from class java.lang.Object
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Detail
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/managers/PublishSequenceManager.html b/docs/com/pubnub/api/managers/PublishSequenceManager.html
new file mode 100644
index 000000000..89f9a2794
--- /dev/null
+++ b/docs/com/pubnub/api/managers/PublishSequenceManager.html
@@ -0,0 +1,254 @@
+
+
+
+
+
+PublishSequenceManager (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+java.lang.Object
+
+
+com.pubnub.api.managers.PublishSequenceManager
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+
+
+
+
+
+
+Method Summary
+
+Methods
+
+Modifier and Type
+Method and Description
+
+
+int
+getNextSequence ()
+
+
+
+
+
+
+Methods inherited from class java.lang.Object
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Detail
+
+
+
+
+
+
+
+
+
+
+
+Method Detail
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/managers/ReconnectionManager.html b/docs/com/pubnub/api/managers/ReconnectionManager.html
new file mode 100644
index 000000000..13f2d0182
--- /dev/null
+++ b/docs/com/pubnub/api/managers/ReconnectionManager.html
@@ -0,0 +1,267 @@
+
+
+
+
+
+ReconnectionManager (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+java.lang.Object
+
+
+com.pubnub.api.managers.ReconnectionManager
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+
+Methods inherited from class java.lang.Object
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Detail
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/managers/RetrofitManager.html b/docs/com/pubnub/api/managers/RetrofitManager.html
new file mode 100644
index 000000000..6b52828ec
--- /dev/null
+++ b/docs/com/pubnub/api/managers/RetrofitManager.html
@@ -0,0 +1,256 @@
+
+
+
+
+
+RetrofitManager (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+java.lang.Object
+
+
+com.pubnub.api.managers.RetrofitManager
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+
+
+
+
+
+
+Method Summary
+
+Methods
+
+Modifier and Type
+Method and Description
+
+
+protected retrofit2.Retrofit
+createRetrofit (int requestTimeout,
+ int connectTimeOut)
+
+
+
+
+
+
+Methods inherited from class java.lang.Object
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Detail
+
+
+
+
+
+
+
+
+
+
+
+Method Detail
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/managers/StateManager.html b/docs/com/pubnub/api/managers/StateManager.html
new file mode 100644
index 000000000..cb7c0ca41
--- /dev/null
+++ b/docs/com/pubnub/api/managers/StateManager.html
@@ -0,0 +1,332 @@
+
+
+
+
+
+StateManager (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+java.lang.Object
+
+
+com.pubnub.api.managers.StateManager
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+Constructors
+
+Constructor and Description
+
+
+StateManager ()
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+
+Methods inherited from class java.lang.Object
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Detail
+
+
+
+
+
+StateManager
+public StateManager()
+
+
+
+
+
+
+
+
+
+Method Detail
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+isEmpty
+public boolean isEmpty()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/managers/SubscriptionManager.html b/docs/com/pubnub/api/managers/SubscriptionManager.html
new file mode 100644
index 000000000..9fafc8118
--- /dev/null
+++ b/docs/com/pubnub/api/managers/SubscriptionManager.html
@@ -0,0 +1,386 @@
+
+
+
+
+
+SubscriptionManager (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+java.lang.Object
+
+
+com.pubnub.api.managers.SubscriptionManager
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+
+Methods inherited from class java.lang.Object
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Detail
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/managers/package-frame.html b/docs/com/pubnub/api/managers/package-frame.html
new file mode 100644
index 000000000..a06c0b53b
--- /dev/null
+++ b/docs/com/pubnub/api/managers/package-frame.html
@@ -0,0 +1,25 @@
+
+
+
+
+
+com.pubnub.api.managers (pubnub 4.0.10 API)
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/managers/package-summary.html b/docs/com/pubnub/api/managers/package-summary.html
new file mode 100644
index 000000000..78ec5aca7
--- /dev/null
+++ b/docs/com/pubnub/api/managers/package-summary.html
@@ -0,0 +1,157 @@
+
+
+
+
+
+com.pubnub.api.managers (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/managers/package-tree.html b/docs/com/pubnub/api/managers/package-tree.html
new file mode 100644
index 000000000..c55c2b201
--- /dev/null
+++ b/docs/com/pubnub/api/managers/package-tree.html
@@ -0,0 +1,132 @@
+
+
+
+
+
+com.pubnub.api.managers Class Hierarchy (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/models/SubscriptionItem.html b/docs/com/pubnub/api/models/SubscriptionItem.html
new file mode 100644
index 000000000..d68751f3f
--- /dev/null
+++ b/docs/com/pubnub/api/models/SubscriptionItem.html
@@ -0,0 +1,226 @@
+
+
+
+
+
+SubscriptionItem (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+Prev Class
+Next Class
+
+
+
+
+
+
+
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
+
+
+java.lang.Object
+
+
+com.pubnub.api.models.SubscriptionItem
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+Methods inherited from class java.lang.Object
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Detail
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Prev Class
+Next Class
+
+
+
+
+
+
+
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/models/consumer/PNErrorData.html b/docs/com/pubnub/api/models/consumer/PNErrorData.html
new file mode 100644
index 000000000..bc274f88d
--- /dev/null
+++ b/docs/com/pubnub/api/models/consumer/PNErrorData.html
@@ -0,0 +1,226 @@
+
+
+
+
+
+PNErrorData (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
+
+
+java.lang.Object
+
+
+com.pubnub.api.models.consumer.PNErrorData
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+Constructors
+
+Constructor and Description
+
+
+PNErrorData ()
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+Methods inherited from class java.lang.Object
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Detail
+
+
+
+
+
+PNErrorData
+public PNErrorData()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/models/consumer/PNPublishResult.html b/docs/com/pubnub/api/models/consumer/PNPublishResult.html
new file mode 100644
index 000000000..cb9418654
--- /dev/null
+++ b/docs/com/pubnub/api/models/consumer/PNPublishResult.html
@@ -0,0 +1,226 @@
+
+
+
+
+
+PNPublishResult (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
+
+
+java.lang.Object
+
+
+com.pubnub.api.models.consumer.PNPublishResult
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+Methods inherited from class java.lang.Object
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Detail
+
+
+
+
+
+PNPublishResult
+public PNPublishResult()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/models/consumer/PNStatus.html b/docs/com/pubnub/api/models/consumer/PNStatus.html
new file mode 100644
index 000000000..c46d67424
--- /dev/null
+++ b/docs/com/pubnub/api/models/consumer/PNStatus.html
@@ -0,0 +1,254 @@
+
+
+
+
+
+PNStatus (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+java.lang.Object
+
+
+com.pubnub.api.models.consumer.PNStatus
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+Constructors
+
+Constructor and Description
+
+
+PNStatus ()
+
+
+
+
+
+
+
+
+
+Method Summary
+
+Methods
+
+Modifier and Type
+Method and Description
+
+
+void
+retry ()
+
+
+
+
+
+
+Methods inherited from class java.lang.Object
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Detail
+
+
+
+
+
+PNStatus
+public PNStatus()
+
+
+
+
+
+
+
+
+
+Method Detail
+
+
+
+
+
+retry
+public void retry()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/models/consumer/PNTimeResult.html b/docs/com/pubnub/api/models/consumer/PNTimeResult.html
new file mode 100644
index 000000000..56e9a3602
--- /dev/null
+++ b/docs/com/pubnub/api/models/consumer/PNTimeResult.html
@@ -0,0 +1,226 @@
+
+
+
+
+
+PNTimeResult (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
+
+
+java.lang.Object
+
+
+com.pubnub.api.models.consumer.PNTimeResult
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+Constructors
+
+Constructor and Description
+
+
+PNTimeResult ()
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+Methods inherited from class java.lang.Object
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Detail
+
+
+
+
+
+PNTimeResult
+public PNTimeResult()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/models/consumer/access_manager/PNAccessManagerAuditResult.html b/docs/com/pubnub/api/models/consumer/access_manager/PNAccessManagerAuditResult.html
new file mode 100644
index 000000000..03a06381d
--- /dev/null
+++ b/docs/com/pubnub/api/models/consumer/access_manager/PNAccessManagerAuditResult.html
@@ -0,0 +1,226 @@
+
+
+
+
+
+PNAccessManagerAuditResult (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
+
+
+java.lang.Object
+
+
+com.pubnub.api.models.consumer.access_manager.PNAccessManagerAuditResult
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+Methods inherited from class java.lang.Object
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Detail
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/models/consumer/access_manager/PNAccessManagerGrantResult.html b/docs/com/pubnub/api/models/consumer/access_manager/PNAccessManagerGrantResult.html
new file mode 100644
index 000000000..d09ef0ab7
--- /dev/null
+++ b/docs/com/pubnub/api/models/consumer/access_manager/PNAccessManagerGrantResult.html
@@ -0,0 +1,226 @@
+
+
+
+
+
+PNAccessManagerGrantResult (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
+
+
+java.lang.Object
+
+
+com.pubnub.api.models.consumer.access_manager.PNAccessManagerGrantResult
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+Methods inherited from class java.lang.Object
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Detail
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/models/consumer/access_manager/PNAccessManagerKeyData.html b/docs/com/pubnub/api/models/consumer/access_manager/PNAccessManagerKeyData.html
new file mode 100644
index 000000000..15c68bd12
--- /dev/null
+++ b/docs/com/pubnub/api/models/consumer/access_manager/PNAccessManagerKeyData.html
@@ -0,0 +1,226 @@
+
+
+
+
+
+PNAccessManagerKeyData (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
+
+
+java.lang.Object
+
+
+com.pubnub.api.models.consumer.access_manager.PNAccessManagerKeyData
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+Methods inherited from class java.lang.Object
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Detail
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/models/consumer/access_manager/PNAccessManagerKeysData.html b/docs/com/pubnub/api/models/consumer/access_manager/PNAccessManagerKeysData.html
new file mode 100644
index 000000000..20d5b3f02
--- /dev/null
+++ b/docs/com/pubnub/api/models/consumer/access_manager/PNAccessManagerKeysData.html
@@ -0,0 +1,226 @@
+
+
+
+
+
+PNAccessManagerKeysData (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
+
+
+java.lang.Object
+
+
+com.pubnub.api.models.consumer.access_manager.PNAccessManagerKeysData
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+Methods inherited from class java.lang.Object
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Detail
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/models/consumer/access_manager/package-frame.html b/docs/com/pubnub/api/models/consumer/access_manager/package-frame.html
new file mode 100644
index 000000000..b26f2c55c
--- /dev/null
+++ b/docs/com/pubnub/api/models/consumer/access_manager/package-frame.html
@@ -0,0 +1,22 @@
+
+
+
+
+
+com.pubnub.api.models.consumer.access_manager (pubnub 4.0.10 API)
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/models/consumer/access_manager/package-summary.html b/docs/com/pubnub/api/models/consumer/access_manager/package-summary.html
new file mode 100644
index 000000000..5850e2093
--- /dev/null
+++ b/docs/com/pubnub/api/models/consumer/access_manager/package-summary.html
@@ -0,0 +1,143 @@
+
+
+
+
+
+com.pubnub.api.models.consumer.access_manager (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/models/consumer/access_manager/package-tree.html b/docs/com/pubnub/api/models/consumer/access_manager/package-tree.html
new file mode 100644
index 000000000..a0a196c47
--- /dev/null
+++ b/docs/com/pubnub/api/models/consumer/access_manager/package-tree.html
@@ -0,0 +1,129 @@
+
+
+
+
+
+com.pubnub.api.models.consumer.access_manager Class Hierarchy (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/models/consumer/channel_group/PNChannelGroupsAddChannelResult.html b/docs/com/pubnub/api/models/consumer/channel_group/PNChannelGroupsAddChannelResult.html
new file mode 100644
index 000000000..743ff1908
--- /dev/null
+++ b/docs/com/pubnub/api/models/consumer/channel_group/PNChannelGroupsAddChannelResult.html
@@ -0,0 +1,226 @@
+
+
+
+
+
+PNChannelGroupsAddChannelResult (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
+
+
+java.lang.Object
+
+
+com.pubnub.api.models.consumer.channel_group.PNChannelGroupsAddChannelResult
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+Methods inherited from class java.lang.Object
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Detail
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/models/consumer/channel_group/PNChannelGroupsAllChannelsResult.html b/docs/com/pubnub/api/models/consumer/channel_group/PNChannelGroupsAllChannelsResult.html
new file mode 100644
index 000000000..0d36c9b19
--- /dev/null
+++ b/docs/com/pubnub/api/models/consumer/channel_group/PNChannelGroupsAllChannelsResult.html
@@ -0,0 +1,226 @@
+
+
+
+
+
+PNChannelGroupsAllChannelsResult (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
+
+
+java.lang.Object
+
+
+com.pubnub.api.models.consumer.channel_group.PNChannelGroupsAllChannelsResult
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+Methods inherited from class java.lang.Object
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Detail
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/models/consumer/channel_group/PNChannelGroupsDeleteGroupResult.html b/docs/com/pubnub/api/models/consumer/channel_group/PNChannelGroupsDeleteGroupResult.html
new file mode 100644
index 000000000..06ee08d66
--- /dev/null
+++ b/docs/com/pubnub/api/models/consumer/channel_group/PNChannelGroupsDeleteGroupResult.html
@@ -0,0 +1,226 @@
+
+
+
+
+
+PNChannelGroupsDeleteGroupResult (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
+
+
+java.lang.Object
+
+
+com.pubnub.api.models.consumer.channel_group.PNChannelGroupsDeleteGroupResult
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+Methods inherited from class java.lang.Object
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Detail
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/models/consumer/channel_group/PNChannelGroupsListAllResult.html b/docs/com/pubnub/api/models/consumer/channel_group/PNChannelGroupsListAllResult.html
new file mode 100644
index 000000000..4522e9a87
--- /dev/null
+++ b/docs/com/pubnub/api/models/consumer/channel_group/PNChannelGroupsListAllResult.html
@@ -0,0 +1,226 @@
+
+
+
+
+
+PNChannelGroupsListAllResult (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
+
+
+java.lang.Object
+
+
+com.pubnub.api.models.consumer.channel_group.PNChannelGroupsListAllResult
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+Methods inherited from class java.lang.Object
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Detail
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/models/consumer/channel_group/PNChannelGroupsRemoveChannelResult.html b/docs/com/pubnub/api/models/consumer/channel_group/PNChannelGroupsRemoveChannelResult.html
new file mode 100644
index 000000000..825eafc0c
--- /dev/null
+++ b/docs/com/pubnub/api/models/consumer/channel_group/PNChannelGroupsRemoveChannelResult.html
@@ -0,0 +1,226 @@
+
+
+
+
+
+PNChannelGroupsRemoveChannelResult (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
+
+
+java.lang.Object
+
+
+com.pubnub.api.models.consumer.channel_group.PNChannelGroupsRemoveChannelResult
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+Methods inherited from class java.lang.Object
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Detail
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/models/consumer/channel_group/package-frame.html b/docs/com/pubnub/api/models/consumer/channel_group/package-frame.html
new file mode 100644
index 000000000..5662f1a56
--- /dev/null
+++ b/docs/com/pubnub/api/models/consumer/channel_group/package-frame.html
@@ -0,0 +1,23 @@
+
+
+
+
+
+com.pubnub.api.models.consumer.channel_group (pubnub 4.0.10 API)
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/models/consumer/channel_group/package-summary.html b/docs/com/pubnub/api/models/consumer/channel_group/package-summary.html
new file mode 100644
index 000000000..51406c3b6
--- /dev/null
+++ b/docs/com/pubnub/api/models/consumer/channel_group/package-summary.html
@@ -0,0 +1,147 @@
+
+
+
+
+
+com.pubnub.api.models.consumer.channel_group (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/models/consumer/channel_group/package-tree.html b/docs/com/pubnub/api/models/consumer/channel_group/package-tree.html
new file mode 100644
index 000000000..350e994ea
--- /dev/null
+++ b/docs/com/pubnub/api/models/consumer/channel_group/package-tree.html
@@ -0,0 +1,130 @@
+
+
+
+
+
+com.pubnub.api.models.consumer.channel_group Class Hierarchy (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/models/consumer/history/PNHistoryItemResult.html b/docs/com/pubnub/api/models/consumer/history/PNHistoryItemResult.html
new file mode 100644
index 000000000..76c79b88c
--- /dev/null
+++ b/docs/com/pubnub/api/models/consumer/history/PNHistoryItemResult.html
@@ -0,0 +1,226 @@
+
+
+
+
+
+PNHistoryItemResult (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
+
+
+java.lang.Object
+
+
+com.pubnub.api.models.consumer.history.PNHistoryItemResult
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+Methods inherited from class java.lang.Object
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Detail
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/models/consumer/history/PNHistoryResult.html b/docs/com/pubnub/api/models/consumer/history/PNHistoryResult.html
new file mode 100644
index 000000000..b4d807111
--- /dev/null
+++ b/docs/com/pubnub/api/models/consumer/history/PNHistoryResult.html
@@ -0,0 +1,226 @@
+
+
+
+
+
+PNHistoryResult (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
+
+
+java.lang.Object
+
+
+com.pubnub.api.models.consumer.history.PNHistoryResult
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+Methods inherited from class java.lang.Object
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Detail
+
+
+
+
+
+PNHistoryResult
+public PNHistoryResult()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/models/consumer/history/package-frame.html b/docs/com/pubnub/api/models/consumer/history/package-frame.html
new file mode 100644
index 000000000..7ee098836
--- /dev/null
+++ b/docs/com/pubnub/api/models/consumer/history/package-frame.html
@@ -0,0 +1,20 @@
+
+
+
+
+
+com.pubnub.api.models.consumer.history (pubnub 4.0.10 API)
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/models/consumer/history/package-summary.html b/docs/com/pubnub/api/models/consumer/history/package-summary.html
new file mode 100644
index 000000000..8067b997e
--- /dev/null
+++ b/docs/com/pubnub/api/models/consumer/history/package-summary.html
@@ -0,0 +1,135 @@
+
+
+
+
+
+com.pubnub.api.models.consumer.history (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/models/consumer/history/package-tree.html b/docs/com/pubnub/api/models/consumer/history/package-tree.html
new file mode 100644
index 000000000..1c115416f
--- /dev/null
+++ b/docs/com/pubnub/api/models/consumer/history/package-tree.html
@@ -0,0 +1,127 @@
+
+
+
+
+
+com.pubnub.api.models.consumer.history Class Hierarchy (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/models/consumer/package-frame.html b/docs/com/pubnub/api/models/consumer/package-frame.html
new file mode 100644
index 000000000..764248ab4
--- /dev/null
+++ b/docs/com/pubnub/api/models/consumer/package-frame.html
@@ -0,0 +1,22 @@
+
+
+
+
+
+com.pubnub.api.models.consumer (pubnub 4.0.10 API)
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/models/consumer/package-summary.html b/docs/com/pubnub/api/models/consumer/package-summary.html
new file mode 100644
index 000000000..a48c1beca
--- /dev/null
+++ b/docs/com/pubnub/api/models/consumer/package-summary.html
@@ -0,0 +1,143 @@
+
+
+
+
+
+com.pubnub.api.models.consumer (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/models/consumer/package-tree.html b/docs/com/pubnub/api/models/consumer/package-tree.html
new file mode 100644
index 000000000..ee87d3b6f
--- /dev/null
+++ b/docs/com/pubnub/api/models/consumer/package-tree.html
@@ -0,0 +1,129 @@
+
+
+
+
+
+com.pubnub.api.models.consumer Class Hierarchy (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/models/consumer/presence/PNGetStateResult.html b/docs/com/pubnub/api/models/consumer/presence/PNGetStateResult.html
new file mode 100644
index 000000000..174001e3c
--- /dev/null
+++ b/docs/com/pubnub/api/models/consumer/presence/PNGetStateResult.html
@@ -0,0 +1,226 @@
+
+
+
+
+
+PNGetStateResult (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
+
+
+java.lang.Object
+
+
+com.pubnub.api.models.consumer.presence.PNGetStateResult
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+Methods inherited from class java.lang.Object
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Detail
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/models/consumer/presence/PNHereNowChannelData.html b/docs/com/pubnub/api/models/consumer/presence/PNHereNowChannelData.html
new file mode 100644
index 000000000..44a3bea6a
--- /dev/null
+++ b/docs/com/pubnub/api/models/consumer/presence/PNHereNowChannelData.html
@@ -0,0 +1,226 @@
+
+
+
+
+
+PNHereNowChannelData (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
+
+
+java.lang.Object
+
+
+com.pubnub.api.models.consumer.presence.PNHereNowChannelData
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+Methods inherited from class java.lang.Object
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Detail
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/models/consumer/presence/PNHereNowOccupantData.html b/docs/com/pubnub/api/models/consumer/presence/PNHereNowOccupantData.html
new file mode 100644
index 000000000..e8092b465
--- /dev/null
+++ b/docs/com/pubnub/api/models/consumer/presence/PNHereNowOccupantData.html
@@ -0,0 +1,226 @@
+
+
+
+
+
+PNHereNowOccupantData (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
+
+
+java.lang.Object
+
+
+com.pubnub.api.models.consumer.presence.PNHereNowOccupantData
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+Methods inherited from class java.lang.Object
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Detail
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/models/consumer/presence/PNHereNowResult.html b/docs/com/pubnub/api/models/consumer/presence/PNHereNowResult.html
new file mode 100644
index 000000000..595c15136
--- /dev/null
+++ b/docs/com/pubnub/api/models/consumer/presence/PNHereNowResult.html
@@ -0,0 +1,226 @@
+
+
+
+
+
+PNHereNowResult (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
+
+
+java.lang.Object
+
+
+com.pubnub.api.models.consumer.presence.PNHereNowResult
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+Methods inherited from class java.lang.Object
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Detail
+
+
+
+
+
+PNHereNowResult
+public PNHereNowResult()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/models/consumer/presence/PNSetStateResult.html b/docs/com/pubnub/api/models/consumer/presence/PNSetStateResult.html
new file mode 100644
index 000000000..f3b1b999a
--- /dev/null
+++ b/docs/com/pubnub/api/models/consumer/presence/PNSetStateResult.html
@@ -0,0 +1,226 @@
+
+
+
+
+
+PNSetStateResult (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
+
+
+java.lang.Object
+
+
+com.pubnub.api.models.consumer.presence.PNSetStateResult
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+Methods inherited from class java.lang.Object
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Detail
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/models/consumer/presence/PNWhereNowResult.html b/docs/com/pubnub/api/models/consumer/presence/PNWhereNowResult.html
new file mode 100644
index 000000000..744fe4e38
--- /dev/null
+++ b/docs/com/pubnub/api/models/consumer/presence/PNWhereNowResult.html
@@ -0,0 +1,226 @@
+
+
+
+
+
+PNWhereNowResult (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
+
+
+java.lang.Object
+
+
+com.pubnub.api.models.consumer.presence.PNWhereNowResult
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+Methods inherited from class java.lang.Object
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Detail
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/models/consumer/presence/package-frame.html b/docs/com/pubnub/api/models/consumer/presence/package-frame.html
new file mode 100644
index 000000000..271f0a4a3
--- /dev/null
+++ b/docs/com/pubnub/api/models/consumer/presence/package-frame.html
@@ -0,0 +1,24 @@
+
+
+
+
+
+com.pubnub.api.models.consumer.presence (pubnub 4.0.10 API)
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/models/consumer/presence/package-summary.html b/docs/com/pubnub/api/models/consumer/presence/package-summary.html
new file mode 100644
index 000000000..e918ff0e5
--- /dev/null
+++ b/docs/com/pubnub/api/models/consumer/presence/package-summary.html
@@ -0,0 +1,151 @@
+
+
+
+
+
+com.pubnub.api.models.consumer.presence (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/models/consumer/presence/package-tree.html b/docs/com/pubnub/api/models/consumer/presence/package-tree.html
new file mode 100644
index 000000000..447d38875
--- /dev/null
+++ b/docs/com/pubnub/api/models/consumer/presence/package-tree.html
@@ -0,0 +1,131 @@
+
+
+
+
+
+com.pubnub.api.models.consumer.presence Class Hierarchy (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/models/consumer/pubsub/PNMessageResult.html b/docs/com/pubnub/api/models/consumer/pubsub/PNMessageResult.html
new file mode 100644
index 000000000..89525b4d6
--- /dev/null
+++ b/docs/com/pubnub/api/models/consumer/pubsub/PNMessageResult.html
@@ -0,0 +1,226 @@
+
+
+
+
+
+PNMessageResult (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
+
+
+java.lang.Object
+
+
+com.pubnub.api.models.consumer.pubsub.PNMessageResult
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+Methods inherited from class java.lang.Object
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Detail
+
+
+
+
+
+PNMessageResult
+public PNMessageResult()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/models/consumer/pubsub/PNPresenceEventResult.html b/docs/com/pubnub/api/models/consumer/pubsub/PNPresenceEventResult.html
new file mode 100644
index 000000000..b947ba962
--- /dev/null
+++ b/docs/com/pubnub/api/models/consumer/pubsub/PNPresenceEventResult.html
@@ -0,0 +1,226 @@
+
+
+
+
+
+PNPresenceEventResult (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
+
+
+java.lang.Object
+
+
+com.pubnub.api.models.consumer.pubsub.PNPresenceEventResult
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+Methods inherited from class java.lang.Object
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Detail
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/models/consumer/pubsub/package-frame.html b/docs/com/pubnub/api/models/consumer/pubsub/package-frame.html
new file mode 100644
index 000000000..b5ac4fa9f
--- /dev/null
+++ b/docs/com/pubnub/api/models/consumer/pubsub/package-frame.html
@@ -0,0 +1,20 @@
+
+
+
+
+
+com.pubnub.api.models.consumer.pubsub (pubnub 4.0.10 API)
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/models/consumer/pubsub/package-summary.html b/docs/com/pubnub/api/models/consumer/pubsub/package-summary.html
new file mode 100644
index 000000000..d7262ad5d
--- /dev/null
+++ b/docs/com/pubnub/api/models/consumer/pubsub/package-summary.html
@@ -0,0 +1,135 @@
+
+
+
+
+
+com.pubnub.api.models.consumer.pubsub (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/models/consumer/pubsub/package-tree.html b/docs/com/pubnub/api/models/consumer/pubsub/package-tree.html
new file mode 100644
index 000000000..4d5529df1
--- /dev/null
+++ b/docs/com/pubnub/api/models/consumer/pubsub/package-tree.html
@@ -0,0 +1,127 @@
+
+
+
+
+
+com.pubnub.api.models.consumer.pubsub Class Hierarchy (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/models/consumer/push/PNPushAddChannelResult.html b/docs/com/pubnub/api/models/consumer/push/PNPushAddChannelResult.html
new file mode 100644
index 000000000..e44e98800
--- /dev/null
+++ b/docs/com/pubnub/api/models/consumer/push/PNPushAddChannelResult.html
@@ -0,0 +1,226 @@
+
+
+
+
+
+PNPushAddChannelResult (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
+
+
+java.lang.Object
+
+
+com.pubnub.api.models.consumer.push.PNPushAddChannelResult
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+Methods inherited from class java.lang.Object
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Detail
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/models/consumer/push/PNPushListProvisionsResult.html b/docs/com/pubnub/api/models/consumer/push/PNPushListProvisionsResult.html
new file mode 100644
index 000000000..8e3e81f85
--- /dev/null
+++ b/docs/com/pubnub/api/models/consumer/push/PNPushListProvisionsResult.html
@@ -0,0 +1,226 @@
+
+
+
+
+
+PNPushListProvisionsResult (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
+
+
+java.lang.Object
+
+
+com.pubnub.api.models.consumer.push.PNPushListProvisionsResult
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+Methods inherited from class java.lang.Object
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Detail
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/models/consumer/push/PNPushRemoveAllChannelsResult.html b/docs/com/pubnub/api/models/consumer/push/PNPushRemoveAllChannelsResult.html
new file mode 100644
index 000000000..cd8a86f61
--- /dev/null
+++ b/docs/com/pubnub/api/models/consumer/push/PNPushRemoveAllChannelsResult.html
@@ -0,0 +1,226 @@
+
+
+
+
+
+PNPushRemoveAllChannelsResult (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
+
+
+java.lang.Object
+
+
+com.pubnub.api.models.consumer.push.PNPushRemoveAllChannelsResult
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+Methods inherited from class java.lang.Object
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Detail
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/models/consumer/push/PNPushRemoveChannelResult.html b/docs/com/pubnub/api/models/consumer/push/PNPushRemoveChannelResult.html
new file mode 100644
index 000000000..bab5119d1
--- /dev/null
+++ b/docs/com/pubnub/api/models/consumer/push/PNPushRemoveChannelResult.html
@@ -0,0 +1,226 @@
+
+
+
+
+
+PNPushRemoveChannelResult (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
+
+
+java.lang.Object
+
+
+com.pubnub.api.models.consumer.push.PNPushRemoveChannelResult
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+Methods inherited from class java.lang.Object
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Detail
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/models/consumer/push/package-frame.html b/docs/com/pubnub/api/models/consumer/push/package-frame.html
new file mode 100644
index 000000000..c98bdca9c
--- /dev/null
+++ b/docs/com/pubnub/api/models/consumer/push/package-frame.html
@@ -0,0 +1,22 @@
+
+
+
+
+
+com.pubnub.api.models.consumer.push (pubnub 4.0.10 API)
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/models/consumer/push/package-summary.html b/docs/com/pubnub/api/models/consumer/push/package-summary.html
new file mode 100644
index 000000000..b952dfd48
--- /dev/null
+++ b/docs/com/pubnub/api/models/consumer/push/package-summary.html
@@ -0,0 +1,143 @@
+
+
+
+
+
+com.pubnub.api.models.consumer.push (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/models/consumer/push/package-tree.html b/docs/com/pubnub/api/models/consumer/push/package-tree.html
new file mode 100644
index 000000000..39b27b655
--- /dev/null
+++ b/docs/com/pubnub/api/models/consumer/push/package-tree.html
@@ -0,0 +1,129 @@
+
+
+
+
+
+com.pubnub.api.models.consumer.push Class Hierarchy (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/models/package-frame.html b/docs/com/pubnub/api/models/package-frame.html
new file mode 100644
index 000000000..6037c44d5
--- /dev/null
+++ b/docs/com/pubnub/api/models/package-frame.html
@@ -0,0 +1,19 @@
+
+
+
+
+
+com.pubnub.api.models (pubnub 4.0.10 API)
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/models/package-summary.html b/docs/com/pubnub/api/models/package-summary.html
new file mode 100644
index 000000000..cb2dab9c4
--- /dev/null
+++ b/docs/com/pubnub/api/models/package-summary.html
@@ -0,0 +1,131 @@
+
+
+
+
+
+com.pubnub.api.models (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/models/package-tree.html b/docs/com/pubnub/api/models/package-tree.html
new file mode 100644
index 000000000..e488589d6
--- /dev/null
+++ b/docs/com/pubnub/api/models/package-tree.html
@@ -0,0 +1,126 @@
+
+
+
+
+
+com.pubnub.api.models Class Hierarchy (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/models/server/Envelope.html b/docs/com/pubnub/api/models/server/Envelope.html
new file mode 100644
index 000000000..7f9984c55
--- /dev/null
+++ b/docs/com/pubnub/api/models/server/Envelope.html
@@ -0,0 +1,226 @@
+
+
+
+
+
+Envelope (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
+
+
+java.lang.Object
+
+
+com.pubnub.api.models.server.Envelope<T>
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+Constructors
+
+Constructor and Description
+
+
+Envelope ()
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+Methods inherited from class java.lang.Object
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Detail
+
+
+
+
+
+Envelope
+public Envelope()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/models/server/PresenceEnvelope.html b/docs/com/pubnub/api/models/server/PresenceEnvelope.html
new file mode 100644
index 000000000..d9999c94a
--- /dev/null
+++ b/docs/com/pubnub/api/models/server/PresenceEnvelope.html
@@ -0,0 +1,226 @@
+
+
+
+
+
+PresenceEnvelope (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
+
+
+java.lang.Object
+
+
+com.pubnub.api.models.server.PresenceEnvelope
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+Methods inherited from class java.lang.Object
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Detail
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/models/server/PublishMetaData.html b/docs/com/pubnub/api/models/server/PublishMetaData.html
new file mode 100644
index 000000000..94cfccbd3
--- /dev/null
+++ b/docs/com/pubnub/api/models/server/PublishMetaData.html
@@ -0,0 +1,226 @@
+
+
+
+
+
+PublishMetaData (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
+
+
+java.lang.Object
+
+
+com.pubnub.api.models.server.PublishMetaData
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+Methods inherited from class java.lang.Object
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Detail
+
+
+
+
+
+PublishMetaData
+public PublishMetaData()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/models/server/SubscribeEnvelope.html b/docs/com/pubnub/api/models/server/SubscribeEnvelope.html
new file mode 100644
index 000000000..0d61120a3
--- /dev/null
+++ b/docs/com/pubnub/api/models/server/SubscribeEnvelope.html
@@ -0,0 +1,226 @@
+
+
+
+
+
+SubscribeEnvelope (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
+
+
+java.lang.Object
+
+
+com.pubnub.api.models.server.SubscribeEnvelope
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+Methods inherited from class java.lang.Object
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Detail
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/models/server/SubscribeMessage.html b/docs/com/pubnub/api/models/server/SubscribeMessage.html
new file mode 100644
index 000000000..3d95f9114
--- /dev/null
+++ b/docs/com/pubnub/api/models/server/SubscribeMessage.html
@@ -0,0 +1,226 @@
+
+
+
+
+
+SubscribeMessage (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
+
+
+java.lang.Object
+
+
+com.pubnub.api.models.server.SubscribeMessage
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+Methods inherited from class java.lang.Object
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Detail
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/models/server/SubscribeMetadata.html b/docs/com/pubnub/api/models/server/SubscribeMetadata.html
new file mode 100644
index 000000000..fecc0c5cd
--- /dev/null
+++ b/docs/com/pubnub/api/models/server/SubscribeMetadata.html
@@ -0,0 +1,226 @@
+
+
+
+
+
+SubscribeMetadata (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
+
+
+java.lang.Object
+
+
+com.pubnub.api.models.server.SubscribeMetadata
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+Methods inherited from class java.lang.Object
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Detail
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/models/server/access_manager/AccessManagerAuditPayload.html b/docs/com/pubnub/api/models/server/access_manager/AccessManagerAuditPayload.html
new file mode 100644
index 000000000..1d525966c
--- /dev/null
+++ b/docs/com/pubnub/api/models/server/access_manager/AccessManagerAuditPayload.html
@@ -0,0 +1,226 @@
+
+
+
+
+
+AccessManagerAuditPayload (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
+
+
+java.lang.Object
+
+
+com.pubnub.api.models.server.access_manager.AccessManagerAuditPayload
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+Methods inherited from class java.lang.Object
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Detail
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/models/server/access_manager/AccessManagerGrantPayload.html b/docs/com/pubnub/api/models/server/access_manager/AccessManagerGrantPayload.html
new file mode 100644
index 000000000..874a40775
--- /dev/null
+++ b/docs/com/pubnub/api/models/server/access_manager/AccessManagerGrantPayload.html
@@ -0,0 +1,226 @@
+
+
+
+
+
+AccessManagerGrantPayload (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
+
+
+java.lang.Object
+
+
+com.pubnub.api.models.server.access_manager.AccessManagerGrantPayload
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+Methods inherited from class java.lang.Object
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Detail
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/models/server/access_manager/package-frame.html b/docs/com/pubnub/api/models/server/access_manager/package-frame.html
new file mode 100644
index 000000000..15d79fdcb
--- /dev/null
+++ b/docs/com/pubnub/api/models/server/access_manager/package-frame.html
@@ -0,0 +1,20 @@
+
+
+
+
+
+com.pubnub.api.models.server.access_manager (pubnub 4.0.10 API)
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/models/server/access_manager/package-summary.html b/docs/com/pubnub/api/models/server/access_manager/package-summary.html
new file mode 100644
index 000000000..dd7d3f117
--- /dev/null
+++ b/docs/com/pubnub/api/models/server/access_manager/package-summary.html
@@ -0,0 +1,135 @@
+
+
+
+
+
+com.pubnub.api.models.server.access_manager (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/models/server/access_manager/package-tree.html b/docs/com/pubnub/api/models/server/access_manager/package-tree.html
new file mode 100644
index 000000000..2680e925f
--- /dev/null
+++ b/docs/com/pubnub/api/models/server/access_manager/package-tree.html
@@ -0,0 +1,127 @@
+
+
+
+
+
+com.pubnub.api.models.server.access_manager Class Hierarchy (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/models/server/package-frame.html b/docs/com/pubnub/api/models/server/package-frame.html
new file mode 100644
index 000000000..e7d44ca79
--- /dev/null
+++ b/docs/com/pubnub/api/models/server/package-frame.html
@@ -0,0 +1,24 @@
+
+
+
+
+
+com.pubnub.api.models.server (pubnub 4.0.10 API)
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/models/server/package-summary.html b/docs/com/pubnub/api/models/server/package-summary.html
new file mode 100644
index 000000000..5448ee73f
--- /dev/null
+++ b/docs/com/pubnub/api/models/server/package-summary.html
@@ -0,0 +1,151 @@
+
+
+
+
+
+com.pubnub.api.models.server (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/models/server/package-tree.html b/docs/com/pubnub/api/models/server/package-tree.html
new file mode 100644
index 000000000..562d4d2cd
--- /dev/null
+++ b/docs/com/pubnub/api/models/server/package-tree.html
@@ -0,0 +1,131 @@
+
+
+
+
+
+com.pubnub.api.models.server Class Hierarchy (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/models/server/presence/WhereNowPayload.html b/docs/com/pubnub/api/models/server/presence/WhereNowPayload.html
new file mode 100644
index 000000000..fa1d0aa6a
--- /dev/null
+++ b/docs/com/pubnub/api/models/server/presence/WhereNowPayload.html
@@ -0,0 +1,226 @@
+
+
+
+
+
+WhereNowPayload (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+Prev Class
+Next Class
+
+
+
+
+
+
+
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
+
+
+java.lang.Object
+
+
+com.pubnub.api.models.server.presence.WhereNowPayload
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+Methods inherited from class java.lang.Object
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Detail
+
+
+
+
+
+WhereNowPayload
+public WhereNowPayload()
+
+
+
+
+
+
+
+
+
+
+
+
+
+Prev Class
+Next Class
+
+
+
+
+
+
+
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/models/server/presence/package-frame.html b/docs/com/pubnub/api/models/server/presence/package-frame.html
new file mode 100644
index 000000000..c7c25add5
--- /dev/null
+++ b/docs/com/pubnub/api/models/server/presence/package-frame.html
@@ -0,0 +1,19 @@
+
+
+
+
+
+com.pubnub.api.models.server.presence (pubnub 4.0.10 API)
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/models/server/presence/package-summary.html b/docs/com/pubnub/api/models/server/presence/package-summary.html
new file mode 100644
index 000000000..0fe88d073
--- /dev/null
+++ b/docs/com/pubnub/api/models/server/presence/package-summary.html
@@ -0,0 +1,131 @@
+
+
+
+
+
+com.pubnub.api.models.server.presence (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/models/server/presence/package-tree.html b/docs/com/pubnub/api/models/server/presence/package-tree.html
new file mode 100644
index 000000000..992af0650
--- /dev/null
+++ b/docs/com/pubnub/api/models/server/presence/package-tree.html
@@ -0,0 +1,126 @@
+
+
+
+
+
+com.pubnub.api.models.server.presence Class Hierarchy (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/package-frame.html b/docs/com/pubnub/api/package-frame.html
new file mode 100644
index 000000000..713921d07
--- /dev/null
+++ b/docs/com/pubnub/api/package-frame.html
@@ -0,0 +1,26 @@
+
+
+
+
+
+com.pubnub.api (pubnub 4.0.10 API)
+
+
+
+
+
+
+
Classes
+
+
Exceptions
+
+
+
+
diff --git a/docs/com/pubnub/api/package-summary.html b/docs/com/pubnub/api/package-summary.html
new file mode 100644
index 000000000..7f32a74ae
--- /dev/null
+++ b/docs/com/pubnub/api/package-summary.html
@@ -0,0 +1,160 @@
+
+
+
+
+
+com.pubnub.api (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
+Exception Summary
+
+Exception
+Description
+
+
+
+PubNubException
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/package-tree.html b/docs/com/pubnub/api/package-tree.html
new file mode 100644
index 000000000..953ee1f58
--- /dev/null
+++ b/docs/com/pubnub/api/package-tree.html
@@ -0,0 +1,138 @@
+
+
+
+
+
+com.pubnub.api Class Hierarchy (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/vendor/Base64.html b/docs/com/pubnub/api/vendor/Base64.html
new file mode 100644
index 000000000..c284b6635
--- /dev/null
+++ b/docs/com/pubnub/api/vendor/Base64.html
@@ -0,0 +1,543 @@
+
+
+
+
+
+Base64 (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+java.lang.Object
+
+
+com.pubnub.api.vendor.Base64
+
+
+
+
+
+
+
+
+
+
+
+
+Field Summary
+
+Fields
+
+Modifier and Type
+Field and Description
+
+
+static int
+CRLF
+Encoder flag bit to indicate lines should be terminated with a
+ CRLF pair instead of just an LF.
+
+
+
+static int
+DEFAULT
+Default values for encoder/decoder flags.
+
+
+
+static int
+NO_CLOSE
+Flag to pass to indicate that it
+ should not close the output stream it is wrapping when it
+ itself is closed.
+
+
+
+static int
+NO_PADDING
+Encoder flag bit to omit the padding '=' characters at the end
+ of the output (if any).
+
+
+
+static int
+NO_WRAP
+Encoder flag bit to omit all line terminators (i.e., the output
+ will be on one long line).
+
+
+
+static int
+URL_SAFE
+Encoder/decoder flag bit to indicate using the "URL and
+ filename safe" variant of Base64 (see RFC 3548 section 4) where
+ - and _ are used in place of + and
+ /.
+
+
+
+
+
+
+
+
+
+
+Method Summary
+
+Methods
+
+Modifier and Type
+Method and Description
+
+
+static byte[]
+decode (byte[] input,
+ int flags)
+Decode the Base64-encoded data in input and return the data in
+ a new byte array.
+
+
+
+static byte[]
+decode (byte[] input,
+ int offset,
+ int len,
+ int flags)
+Decode the Base64-encoded data in input and return the data in
+ a new byte array.
+
+
+
+static byte[]
+decode (java.lang.String str,
+ int flags)
+Decode the Base64-encoded data in input and return the data in
+ a new byte array.
+
+
+
+static byte[]
+encode (byte[] input,
+ int flags)
+Base64-encode the given data and return a newly allocated
+ byte[] with the result.
+
+
+
+static byte[]
+encode (byte[] input,
+ int offset,
+ int len,
+ int flags)
+Base64-encode the given data and return a newly allocated
+ byte[] with the result.
+
+
+
+static java.lang.String
+encodeToString (byte[] input,
+ int flags)
+Base64-encode the given data and return a newly allocated
+ String with the result.
+
+
+
+static java.lang.String
+encodeToString (byte[] input,
+ int offset,
+ int len,
+ int flags)
+Base64-encode the given data and return a newly allocated
+ String with the result.
+
+
+
+
+
+
+
+Methods inherited from class java.lang.Object
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Field Detail
+
+
+
+
+
+
+
+
+
+
+
+
+
+NO_WRAP
+public static final int NO_WRAP
+Encoder flag bit to omit all line terminators (i.e., the output
+ will be on one long line).
+See Also: Constant Field Values
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Method Detail
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+encodeToString
+public static java.lang.String encodeToString(byte[] input,
+ int flags)
+Base64-encode the given data and return a newly allocated
+ String with the result.
+Parameters: input - the data to encodeflags - controls certain features of the encoded output.
+ Passing DEFAULT results in output that
+ adheres to RFC 2045.
+
+
+
+
+
+
+
+encodeToString
+public static java.lang.String encodeToString(byte[] input,
+ int offset,
+ int len,
+ int flags)
+Base64-encode the given data and return a newly allocated
+ String with the result.
+Parameters: input - the data to encodeoffset - the position within the input array at which to
+ startlen - the number of bytes of input to encodeflags - controls certain features of the encoded output.
+ Passing DEFAULT results in output that
+ adheres to RFC 2045.
+
+
+
+
+
+
+
+encode
+public static byte[] encode(byte[] input,
+ int flags)
+Base64-encode the given data and return a newly allocated
+ byte[] with the result.
+Parameters: input - the data to encodeflags - controls certain features of the encoded output.
+ Passing DEFAULT results in output that
+ adheres to RFC 2045.
+
+
+
+
+
+
+
+encode
+public static byte[] encode(byte[] input,
+ int offset,
+ int len,
+ int flags)
+Base64-encode the given data and return a newly allocated
+ byte[] with the result.
+Parameters: input - the data to encodeoffset - the position within the input array at which to
+ startlen - the number of bytes of input to encodeflags - controls certain features of the encoded output.
+ Passing DEFAULT results in output that
+ adheres to RFC 2045.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/vendor/Crypto.html b/docs/com/pubnub/api/vendor/Crypto.html
new file mode 100644
index 000000000..0f1297c58
--- /dev/null
+++ b/docs/com/pubnub/api/vendor/Crypto.html
@@ -0,0 +1,379 @@
+
+
+
+
+
+Crypto (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+java.lang.Object
+
+
+com.pubnub.api.vendor.Crypto
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+Constructors
+
+Constructor and Description
+
+
+Crypto (java.lang.String cipherKey)
+
+
+Crypto (java.lang.String cipherKey,
+ java.lang.String customInitializationVector)
+
+
+
+
+
+
+
+
+
+Method Summary
+
+Methods
+
+Modifier and Type
+Method and Description
+
+
+java.lang.String
+decrypt (java.lang.String cipher_text)
+Decrypt
+
+
+
+java.lang.String
+encrypt (java.lang.String input)
+
+
+static byte[]
+hexEncode (byte[] input)
+
+
+static byte[]
+hexStringToByteArray (java.lang.String s)
+
+
+void
+initCiphers ()
+
+
+static byte[]
+md5 (java.lang.String input)
+Get MD5
+
+
+
+static byte[]
+sha256 (byte[] input)
+Get SHA256
+
+
+
+
+
+
+
+Methods inherited from class java.lang.Object
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Detail
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/vendor/package-frame.html b/docs/com/pubnub/api/vendor/package-frame.html
new file mode 100644
index 000000000..dc4be35de
--- /dev/null
+++ b/docs/com/pubnub/api/vendor/package-frame.html
@@ -0,0 +1,20 @@
+
+
+
+
+
+com.pubnub.api.vendor (pubnub 4.0.10 API)
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/vendor/package-summary.html b/docs/com/pubnub/api/vendor/package-summary.html
new file mode 100644
index 000000000..982c3793e
--- /dev/null
+++ b/docs/com/pubnub/api/vendor/package-summary.html
@@ -0,0 +1,138 @@
+
+
+
+
+
+com.pubnub.api.vendor (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+Class Summary
+
+Class
+Description
+
+
+
+Base64
+
+Utilities for encoding and decoding the Base64 representation of
+ binary data.
+
+
+
+Crypto
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/vendor/package-tree.html b/docs/com/pubnub/api/vendor/package-tree.html
new file mode 100644
index 000000000..ebef98f24
--- /dev/null
+++ b/docs/com/pubnub/api/vendor/package-tree.html
@@ -0,0 +1,127 @@
+
+
+
+
+
+com.pubnub.api.vendor Class Hierarchy (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
Class Hierarchy
+
+java.lang.Object
+
+com.pubnub.api.vendor.Base64
+com.pubnub.api.vendor.Crypto
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/workers/SubscribeMessageWorker.html b/docs/com/pubnub/api/workers/SubscribeMessageWorker.html
new file mode 100644
index 000000000..3dfd90e65
--- /dev/null
+++ b/docs/com/pubnub/api/workers/SubscribeMessageWorker.html
@@ -0,0 +1,267 @@
+
+
+
+
+
+SubscribeMessageWorker (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+Prev Class
+Next Class
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+java.lang.Object
+
+
+com.pubnub.api.workers.SubscribeMessageWorker
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+
+
+
+
+
+
+Method Summary
+
+Methods
+
+Modifier and Type
+Method and Description
+
+
+void
+run ()
+
+
+
+
+
+
+Methods inherited from class java.lang.Object
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Detail
+
+
+
+
+
+
+
+
+
+
+
+Method Detail
+
+
+
+
+
+run
+public void run()
+
+Specified by:
+run in interface java.lang.Runnable
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Prev Class
+Next Class
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/workers/package-frame.html b/docs/com/pubnub/api/workers/package-frame.html
new file mode 100644
index 000000000..79b3d7fee
--- /dev/null
+++ b/docs/com/pubnub/api/workers/package-frame.html
@@ -0,0 +1,19 @@
+
+
+
+
+
+com.pubnub.api.workers (pubnub 4.0.10 API)
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/workers/package-summary.html b/docs/com/pubnub/api/workers/package-summary.html
new file mode 100644
index 000000000..7bb30e454
--- /dev/null
+++ b/docs/com/pubnub/api/workers/package-summary.html
@@ -0,0 +1,131 @@
+
+
+
+
+
+com.pubnub.api.workers (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/com/pubnub/api/workers/package-tree.html b/docs/com/pubnub/api/workers/package-tree.html
new file mode 100644
index 000000000..707ea5b1f
--- /dev/null
+++ b/docs/com/pubnub/api/workers/package-tree.html
@@ -0,0 +1,126 @@
+
+
+
+
+
+com.pubnub.api.workers Class Hierarchy (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/constant-values.html b/docs/constant-values.html
new file mode 100644
index 000000000..ffb76c851
--- /dev/null
+++ b/docs/constant-values.html
@@ -0,0 +1,499 @@
+
+
+
+
+
+Constant Field Values (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
com.pubnub.*
+
+
+
+
+com.pubnub.api.vendor.Base64
+
+Modifier and Type
+Constant Field
+Value
+
+
+
+
+
+ public static final int
+CRLF
+4
+
+
+
+
+ public static final int
+DEFAULT
+0
+
+
+
+
+ public static final int
+NO_CLOSE
+16
+
+
+
+
+ public static final int
+NO_PADDING
+1
+
+
+
+
+ public static final int
+NO_WRAP
+2
+
+
+
+
+ public static final int
+URL_SAFE
+8
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/deprecated-list.html b/docs/deprecated-list.html
new file mode 100644
index 000000000..d530110f1
--- /dev/null
+++ b/docs/deprecated-list.html
@@ -0,0 +1,113 @@
+
+
+
+
+
+Deprecated List (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/help-doc.html b/docs/help-doc.html
new file mode 100644
index 000000000..5635ce4d2
--- /dev/null
+++ b/docs/help-doc.html
@@ -0,0 +1,214 @@
+
+
+
+
+
+API Help (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+Overview
+The Overview page is the front page of this API document and provides a list of all packages with a summary for each. This page can also contain an overall description of the set of packages.
+
+
+Package
+Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain six categories:
+
+Interfaces (italic)
+Classes
+Enums
+Exceptions
+Errors
+Annotation Types
+
+
+
+Class/Interface
+Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:
+
+Class inheritance diagram
+Direct Subclasses
+All Known Subinterfaces
+All Known Implementing Classes
+Class/interface declaration
+Class/interface description
+
+
+Nested Class Summary
+Field Summary
+Constructor Summary
+Method Summary
+
+
+Field Detail
+Constructor Detail
+Method Detail
+
+Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.
+
+
+Annotation Type
+Each annotation type has its own separate page with the following sections:
+
+Annotation Type declaration
+Annotation Type description
+Required Element Summary
+Optional Element Summary
+Element Detail
+
+
+
+Enum
+Each enum has its own separate page with the following sections:
+
+Enum declaration
+Enum description
+Enum Constant Summary
+Enum Constant Detail
+
+
+
+Tree (Class Hierarchy)
+There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object. The interfaces do not inherit from java.lang.Object.
+
+When viewing the Overview page, clicking on "Tree" displays the hierarchy for all packages.
+When viewing a particular package, class or interface page, clicking "Tree" displays the hierarchy for only that package.
+
+
+
+Deprecated API
+The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.
+
+
+Index
+The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.
+
+
+Prev/Next
+These links take you to the next or previous class, interface, package, or related page.
+
+
+Frames/No Frames
+These links show and hide the HTML frames. All pages are available with or without frames.
+
+
+All Classes
+The All Classes link shows all classes and interfaces except non-static nested types.
+
+
+Serialized Form
+Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.
+
+
+Constant Field Values
+The Constant Field Values page lists the static final fields and their values.
+
+
+
This help file applies to API documentation generated using the standard doclet.
+
+
+
+
+
+
diff --git a/docs/index-all.html b/docs/index-all.html
new file mode 100644
index 000000000..dfa723211
--- /dev/null
+++ b/docs/index-all.html
@@ -0,0 +1,1560 @@
+
+
+
+
+
+Index (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+A B C D E F G H I J L M N O P R S T U V W
+
+
+
A
+
+AccessManagerAuditPayload - Class in com.pubnub.api.models.server.access_manager
+
+AccessManagerAuditPayload() - Constructor for class com.pubnub.api.models.server.access_manager.AccessManagerAuditPayload
+
+AccessManagerGrantPayload - Class in com.pubnub.api.models.server.access_manager
+
+AccessManagerGrantPayload() - Constructor for class com.pubnub.api.models.server.access_manager.AccessManagerGrantPayload
+
+AccessManagerService - Interface in com.pubnub.api.endpoints.access
+
+adaptStateBuilder(StateOperation) - Method in class com.pubnub.api.managers.StateManager
+
+adaptStateBuilder(StateOperation) - Method in class com.pubnub.api.managers.SubscriptionManager
+
+adaptSubscribeBuilder(SubscribeOperation) - Method in class com.pubnub.api.managers.StateManager
+
+adaptSubscribeBuilder(SubscribeOperation) - Method in class com.pubnub.api.managers.SubscriptionManager
+
+adaptUnsubscribeBuilder(UnsubscribeOperation) - Method in class com.pubnub.api.managers.StateManager
+
+adaptUnsubscribeBuilder(UnsubscribeOperation) - Method in class com.pubnub.api.managers.SubscriptionManager
+
+AddChannelChannelGroup - Class in com.pubnub.api.endpoints.channel_groups
+
+AddChannelChannelGroup(PubNub, Retrofit) - Constructor for class com.pubnub.api.endpoints.channel_groups.AddChannelChannelGroup
+
+addChannelChannelGroup(String, String, Map<String, String>) - Method in interface com.pubnub.api.endpoints.channel_groups.ChannelGroupService
+
+addChannelsToChannelGroup() - Method in class com.pubnub.api.PubNub
+
+AddChannelsToPush - Class in com.pubnub.api.endpoints.push
+
+AddChannelsToPush(PubNub, Retrofit) - Constructor for class com.pubnub.api.endpoints.push.AddChannelsToPush
+
+addListener(SubscribeCallback) - Method in class com.pubnub.api.managers.ListenerManager
+
+addListener(SubscribeCallback) - Method in class com.pubnub.api.managers.SubscriptionManager
+
+addListener(SubscribeCallback) - Method in class com.pubnub.api.PubNub
+
+addPushNotificationsOnChannels() - Method in class com.pubnub.api.PubNub
+
+AllChannelsChannelGroup - Class in com.pubnub.api.endpoints.channel_groups
+
+AllChannelsChannelGroup(PubNub, Retrofit) - Constructor for class com.pubnub.api.endpoints.channel_groups.AllChannelsChannelGroup
+
+allChannelsChannelGroup(String, String, Map<String, String>) - Method in interface com.pubnub.api.endpoints.channel_groups.ChannelGroupService
+
+announce(PNStatus) - Method in class com.pubnub.api.managers.ListenerManager
+
+announce a PNStatus to listeners.
+
+announce(PNMessageResult) - Method in class com.pubnub.api.managers.ListenerManager
+
+announce(PNPresenceEventResult) - Method in class com.pubnub.api.managers.ListenerManager
+
+async(PNCallback<Output>) - Method in class com.pubnub.api.endpoints.Endpoint
+
+audit(String, Map<String, String>) - Method in interface com.pubnub.api.endpoints.access.AccessManagerService
+
+Audit - Class in com.pubnub.api.endpoints.access
+
+Audit(PubNub, Retrofit) - Constructor for class com.pubnub.api.endpoints.access.Audit
+
+audit() - Method in class com.pubnub.api.PubNub
+
+auditPushChannelProvisions() - Method in class com.pubnub.api.PubNub
+
+
+
+
+
+
B
+
+Base64 - Class in com.pubnub.api.vendor
+
+Utilities for encoding and decoding the Base64 representation of
+ binary data.
+
+BasePathManager - Class in com.pubnub.api.managers
+
+A stateful manager to support base path construction, proxying and cache busting.
+
+BasePathManager(PNConfiguration) - Constructor for class com.pubnub.api.managers.BasePathManager
+
+Initialize the path management.
+
+
+
+
+
+
C
+
+channelGroups(List<String>) - Method in class com.pubnub.api.builder.PubSubBuilder
+
+channelGroups(List<String>) - Method in class com.pubnub.api.builder.SubscribeBuilder
+
+ChannelGroupService - Interface in com.pubnub.api.endpoints.channel_groups
+
+channels(List<String>) - Method in class com.pubnub.api.builder.PubSubBuilder
+
+channels(List<String>) - Method in class com.pubnub.api.builder.SubscribeBuilder
+
+com.pubnub.api - package com.pubnub.api
+
+com.pubnub.api.builder - package com.pubnub.api.builder
+
+com.pubnub.api.builder.dto - package com.pubnub.api.builder.dto
+
+com.pubnub.api.callbacks - package com.pubnub.api.callbacks
+
+com.pubnub.api.core.models.server - package com.pubnub.api.core.models.server
+
+com.pubnub.api.endpoints - package com.pubnub.api.endpoints
+
+com.pubnub.api.endpoints.access - package com.pubnub.api.endpoints.access
+
+com.pubnub.api.endpoints.channel_groups - package com.pubnub.api.endpoints.channel_groups
+
+com.pubnub.api.endpoints.presence - package com.pubnub.api.endpoints.presence
+
+com.pubnub.api.endpoints.pubsub - package com.pubnub.api.endpoints.pubsub
+
+com.pubnub.api.endpoints.push - package com.pubnub.api.endpoints.push
+
+com.pubnub.api.enums - package com.pubnub.api.enums
+
+com.pubnub.api.managers - package com.pubnub.api.managers
+
+com.pubnub.api.models - package com.pubnub.api.models
+
+com.pubnub.api.models.consumer - package com.pubnub.api.models.consumer
+
+com.pubnub.api.models.consumer.access_manager - package com.pubnub.api.models.consumer.access_manager
+
+com.pubnub.api.models.consumer.channel_group - package com.pubnub.api.models.consumer.channel_group
+
+com.pubnub.api.models.consumer.history - package com.pubnub.api.models.consumer.history
+
+com.pubnub.api.models.consumer.presence - package com.pubnub.api.models.consumer.presence
+
+com.pubnub.api.models.consumer.pubsub - package com.pubnub.api.models.consumer.pubsub
+
+com.pubnub.api.models.consumer.push - package com.pubnub.api.models.consumer.push
+
+com.pubnub.api.models.server - package com.pubnub.api.models.server
+
+com.pubnub.api.models.server.access_manager - package com.pubnub.api.models.server.access_manager
+
+com.pubnub.api.models.server.presence - package com.pubnub.api.models.server.presence
+
+com.pubnub.api.vendor - package com.pubnub.api.vendor
+
+com.pubnub.api.workers - package com.pubnub.api.workers
+
+createBaseParams() - Method in class com.pubnub.api.endpoints.Endpoint
+
+createCryptoError(int, String) - Static method in class com.pubnub.api.builder.PubNubErrorBuilder
+
+createResponse(Response<Envelope<AccessManagerAuditPayload>>) - Method in class com.pubnub.api.endpoints.access.Audit
+
+createResponse(Response<Envelope<AccessManagerGrantPayload>>) - Method in class com.pubnub.api.endpoints.access.Grant
+
+createResponse(Response<Envelope>) - Method in class com.pubnub.api.endpoints.channel_groups.AddChannelChannelGroup
+
+createResponse(Response<Envelope<Object>>) - Method in class com.pubnub.api.endpoints.channel_groups.AllChannelsChannelGroup
+
+createResponse(Response<Envelope>) - Method in class com.pubnub.api.endpoints.channel_groups.DeleteChannelGroup
+
+createResponse(Response<Envelope<Object>>) - Method in class com.pubnub.api.endpoints.channel_groups.ListAllChannelGroup
+
+createResponse(Response<Envelope>) - Method in class com.pubnub.api.endpoints.channel_groups.RemoveChannelChannelGroup
+
+createResponse(Response<Input>) - Method in class com.pubnub.api.endpoints.Endpoint
+
+createResponse(Response<JsonNode>) - Method in class com.pubnub.api.endpoints.History
+
+createResponse(Response<Envelope<Object>>) - Method in class com.pubnub.api.endpoints.presence.GetState
+
+createResponse(Response<Envelope>) - Method in class com.pubnub.api.endpoints.presence.Heartbeat
+
+createResponse(Response<Envelope<Object>>) - Method in class com.pubnub.api.endpoints.presence.HereNow
+
+createResponse(Response<Envelope>) - Method in class com.pubnub.api.endpoints.presence.Leave
+
+createResponse(Response<Envelope<Map<String, Object>>>) - Method in class com.pubnub.api.endpoints.presence.SetState
+
+createResponse(Response<Envelope<WhereNowPayload>>) - Method in class com.pubnub.api.endpoints.presence.WhereNow
+
+createResponse(Response<List<Object>>) - Method in class com.pubnub.api.endpoints.pubsub.Publish
+
+createResponse(Response<SubscribeEnvelope>) - Method in class com.pubnub.api.endpoints.pubsub.Subscribe
+
+createResponse(Response<List<Object>>) - Method in class com.pubnub.api.endpoints.push.AddChannelsToPush
+
+createResponse(Response<List<String>>) - Method in class com.pubnub.api.endpoints.push.ListPushProvisions
+
+createResponse(Response<List<Object>>) - Method in class com.pubnub.api.endpoints.push.RemoveAllPushChannelsForDevice
+
+createResponse(Response<List<Object>>) - Method in class com.pubnub.api.endpoints.push.RemoveChannelsFromPush
+
+createResponse(Response<List<Long>>) - Method in class com.pubnub.api.endpoints.Time
+
+createRetrofit(int, int) - Method in class com.pubnub.api.managers.RetrofitManager
+
+createStatePayload() - Method in class com.pubnub.api.managers.StateManager
+
+CRLF - Static variable in class com.pubnub.api.vendor.Base64
+
+Encoder flag bit to indicate lines should be terminated with a
+ CRLF pair instead of just an LF.
+
+Crypto - Class in com.pubnub.api.vendor
+
+Crypto(String) - Constructor for class com.pubnub.api.vendor.Crypto
+
+Crypto(String, String) - Constructor for class com.pubnub.api.vendor.Crypto
+
+
+
+
+
+
D
+
+decode(String, int) - Static method in class com.pubnub.api.vendor.Base64
+
+Decode the Base64-encoded data in input and return the data in
+ a new byte array.
+
+decode(byte[], int) - Static method in class com.pubnub.api.vendor.Base64
+
+Decode the Base64-encoded data in input and return the data in
+ a new byte array.
+
+decode(byte[], int, int, int) - Static method in class com.pubnub.api.vendor.Base64
+
+Decode the Base64-encoded data in input and return the data in
+ a new byte array.
+
+decrypt(String) - Method in class com.pubnub.api.PubNub
+
+Perform Cryptographic decryption of an input string using cipher key provided by PNConfiguration
+
+decrypt(String, String) - Method in class com.pubnub.api.PubNub
+
+Perform Cryptographic decryption of an input string using the cipher key
+
+decrypt(String) - Method in class com.pubnub.api.vendor.Crypto
+
+Decrypt
+
+DEFAULT - Static variable in class com.pubnub.api.vendor.Base64
+
+Default values for encoder/decoder flags.
+
+deleteChannelGroup(String, String, Map<String, String>) - Method in interface com.pubnub.api.endpoints.channel_groups.ChannelGroupService
+
+DeleteChannelGroup - Class in com.pubnub.api.endpoints.channel_groups
+
+DeleteChannelGroup(PubNub, Retrofit) - Constructor for class com.pubnub.api.endpoints.channel_groups.DeleteChannelGroup
+
+deleteChannelGroup() - Method in class com.pubnub.api.PubNub
+
+disconnect() - Method in class com.pubnub.api.managers.SubscriptionManager
+
+doWork(Map<String, String>) - Method in class com.pubnub.api.endpoints.access.Audit
+
+doWork(Map<String, String>) - Method in class com.pubnub.api.endpoints.access.Grant
+
+doWork(Map<String, String>) - Method in class com.pubnub.api.endpoints.channel_groups.AddChannelChannelGroup
+
+doWork(Map<String, String>) - Method in class com.pubnub.api.endpoints.channel_groups.AllChannelsChannelGroup
+
+doWork(Map<String, String>) - Method in class com.pubnub.api.endpoints.channel_groups.DeleteChannelGroup
+
+doWork(Map<String, String>) - Method in class com.pubnub.api.endpoints.channel_groups.ListAllChannelGroup
+
+doWork(Map<String, String>) - Method in class com.pubnub.api.endpoints.channel_groups.RemoveChannelChannelGroup
+
+doWork(Map<String, String>) - Method in class com.pubnub.api.endpoints.Endpoint
+
+doWork(Map<String, String>) - Method in class com.pubnub.api.endpoints.History
+
+doWork(Map<String, String>) - Method in class com.pubnub.api.endpoints.presence.GetState
+
+doWork(Map<String, String>) - Method in class com.pubnub.api.endpoints.presence.Heartbeat
+
+doWork(Map<String, String>) - Method in class com.pubnub.api.endpoints.presence.HereNow
+
+doWork(Map<String, String>) - Method in class com.pubnub.api.endpoints.presence.Leave
+
+doWork(Map<String, String>) - Method in class com.pubnub.api.endpoints.presence.SetState
+
+doWork(Map<String, String>) - Method in class com.pubnub.api.endpoints.presence.WhereNow
+
+doWork(Map<String, String>) - Method in class com.pubnub.api.endpoints.pubsub.Publish
+
+doWork(Map<String, String>) - Method in class com.pubnub.api.endpoints.pubsub.Subscribe
+
+doWork(Map<String, String>) - Method in class com.pubnub.api.endpoints.push.AddChannelsToPush
+
+doWork(Map<String, String>) - Method in class com.pubnub.api.endpoints.push.ListPushProvisions
+
+doWork(Map<String, String>) - Method in class com.pubnub.api.endpoints.push.RemoveAllPushChannelsForDevice
+
+doWork(Map<String, String>) - Method in class com.pubnub.api.endpoints.push.RemoveChannelsFromPush
+
+doWork(Map<String, String>) - Method in class com.pubnub.api.endpoints.Time
+
+
+
+
+
+
E
+
+encode(byte[], int) - Static method in class com.pubnub.api.vendor.Base64
+
+Base64-encode the given data and return a newly allocated
+ byte[] with the result.
+
+encode(byte[], int, int, int) - Static method in class com.pubnub.api.vendor.Base64
+
+Base64-encode the given data and return a newly allocated
+ byte[] with the result.
+
+encodeToString(byte[], int) - Static method in class com.pubnub.api.vendor.Base64
+
+Base64-encode the given data and return a newly allocated
+ String with the result.
+
+encodeToString(byte[], int, int, int) - Static method in class com.pubnub.api.vendor.Base64
+
+Base64-encode the given data and return a newly allocated
+ String with the result.
+
+encrypt(String) - Method in class com.pubnub.api.PubNub
+
+Perform Cryptographic encryption of an input string and the cipher key provided by PNConfiguration
+
+encrypt(String, String) - Method in class com.pubnub.api.PubNub
+
+Perform Cryptographic encryption of an input string and the cipher key.
+
+encrypt(String) - Method in class com.pubnub.api.vendor.Crypto
+
+Endpoint <Input ,Output > - Class in com.pubnub.api.endpoints
+
+Endpoint(PubNub, Retrofit) - Constructor for class com.pubnub.api.endpoints.Endpoint
+
+Envelope <T > - Class in com.pubnub.api.models.server
+
+Envelope() - Constructor for class com.pubnub.api.models.server.Envelope
+
+execute() - Method in class com.pubnub.api.builder.PubSubBuilder
+
+execute() - Method in class com.pubnub.api.builder.SubscribeBuilder
+
+execute() - Method in class com.pubnub.api.builder.UnsubscribeBuilder
+
+
+
+
+
+
F
+
+fire() - Method in class com.pubnub.api.PubNub
+
+
+
+
+
+
G
+
+getAffectedChannelGroups() - Method in class com.pubnub.api.endpoints.Endpoint
+
+getAffectedChannelGroups() - Method in class com.pubnub.api.endpoints.presence.Leave
+
+getAffectedChannels() - Method in class com.pubnub.api.endpoints.Endpoint
+
+getAffectedChannels() - Method in class com.pubnub.api.endpoints.presence.Leave
+
+getBasePath() - Method in class com.pubnub.api.managers.BasePathManager
+
+Prepares a next usable base url.
+
+getBaseUrl() - Method in class com.pubnub.api.PubNub
+
+getNextSequence() - Method in class com.pubnub.api.managers.PublishSequenceManager
+
+getOperationType() - Method in class com.pubnub.api.endpoints.access.Audit
+
+getOperationType() - Method in class com.pubnub.api.endpoints.access.Grant
+
+getOperationType() - Method in class com.pubnub.api.endpoints.channel_groups.AddChannelChannelGroup
+
+getOperationType() - Method in class com.pubnub.api.endpoints.channel_groups.AllChannelsChannelGroup
+
+getOperationType() - Method in class com.pubnub.api.endpoints.channel_groups.DeleteChannelGroup
+
+getOperationType() - Method in class com.pubnub.api.endpoints.channel_groups.ListAllChannelGroup
+
+getOperationType() - Method in class com.pubnub.api.endpoints.channel_groups.RemoveChannelChannelGroup
+
+getOperationType() - Method in class com.pubnub.api.endpoints.Endpoint
+
+getOperationType() - Method in class com.pubnub.api.endpoints.History
+
+getOperationType() - Method in class com.pubnub.api.endpoints.presence.GetState
+
+getOperationType() - Method in class com.pubnub.api.endpoints.presence.Heartbeat
+
+getOperationType() - Method in class com.pubnub.api.endpoints.presence.HereNow
+
+getOperationType() - Method in class com.pubnub.api.endpoints.presence.Leave
+
+getOperationType() - Method in class com.pubnub.api.endpoints.presence.SetState
+
+getOperationType() - Method in class com.pubnub.api.endpoints.presence.WhereNow
+
+getOperationType() - Method in class com.pubnub.api.endpoints.pubsub.Publish
+
+getOperationType() - Method in class com.pubnub.api.endpoints.pubsub.Subscribe
+
+getOperationType() - Method in class com.pubnub.api.endpoints.push.AddChannelsToPush
+
+getOperationType() - Method in class com.pubnub.api.endpoints.push.ListPushProvisions
+
+getOperationType() - Method in class com.pubnub.api.endpoints.push.RemoveAllPushChannelsForDevice
+
+getOperationType() - Method in class com.pubnub.api.endpoints.push.RemoveChannelsFromPush
+
+getOperationType() - Method in class com.pubnub.api.endpoints.Time
+
+getPresenceState() - Method in class com.pubnub.api.PubNub
+
+GetState - Class in com.pubnub.api.endpoints.presence
+
+GetState(PubNub, Retrofit) - Constructor for class com.pubnub.api.endpoints.presence.GetState
+
+getState(String, String, String, Map<String, String>) - Method in interface com.pubnub.api.endpoints.presence.PresenceService
+
+getSubscribedChannelGroups() - Method in class com.pubnub.api.managers.SubscriptionManager
+
+getSubscribedChannelGroups() - Method in class com.pubnub.api.PubNub
+
+getSubscribedChannels() - Method in class com.pubnub.api.managers.SubscriptionManager
+
+getSubscribedChannels() - Method in class com.pubnub.api.PubNub
+
+getTimestamp() - Method in class com.pubnub.api.PubNub
+
+getVersion() - Method in class com.pubnub.api.PubNub
+
+globalHereNow(String, Map<String, String>) - Method in interface com.pubnub.api.endpoints.presence.PresenceService
+
+grant(String, Map<String, String>) - Method in interface com.pubnub.api.endpoints.access.AccessManagerService
+
+Grant - Class in com.pubnub.api.endpoints.access
+
+Grant(PubNub, Retrofit) - Constructor for class com.pubnub.api.endpoints.access.Grant
+
+grant() - Method in class com.pubnub.api.PubNub
+
+
+
+
+
+
H
+
+Heartbeat - Class in com.pubnub.api.endpoints.presence
+
+Heartbeat(PubNub, Retrofit) - Constructor for class com.pubnub.api.endpoints.presence.Heartbeat
+
+heartbeat(String, String, Map<String, String>) - Method in interface com.pubnub.api.endpoints.presence.PresenceService
+
+HereNow - Class in com.pubnub.api.endpoints.presence
+
+HereNow(PubNub, Retrofit) - Constructor for class com.pubnub.api.endpoints.presence.HereNow
+
+hereNow(String, String, Map<String, String>) - Method in interface com.pubnub.api.endpoints.presence.PresenceService
+
+hereNow() - Method in class com.pubnub.api.PubNub
+
+hexEncode(byte[]) - Static method in class com.pubnub.api.vendor.Crypto
+
+hexStringToByteArray(String) - Static method in class com.pubnub.api.vendor.Crypto
+
+History - Class in com.pubnub.api.endpoints
+
+History(PubNub, Retrofit) - Constructor for class com.pubnub.api.endpoints.History
+
+history() - Method in class com.pubnub.api.PubNub
+
+
+
+
+
+
I
+
+initCiphers() - Method in class com.pubnub.api.vendor.Crypto
+
+isAuthRequired() - Method in class com.pubnub.api.endpoints.access.Audit
+
+isAuthRequired() - Method in class com.pubnub.api.endpoints.access.Grant
+
+isAuthRequired() - Method in class com.pubnub.api.endpoints.channel_groups.AddChannelChannelGroup
+
+isAuthRequired() - Method in class com.pubnub.api.endpoints.channel_groups.AllChannelsChannelGroup
+
+isAuthRequired() - Method in class com.pubnub.api.endpoints.channel_groups.DeleteChannelGroup
+
+isAuthRequired() - Method in class com.pubnub.api.endpoints.channel_groups.ListAllChannelGroup
+
+isAuthRequired() - Method in class com.pubnub.api.endpoints.channel_groups.RemoveChannelChannelGroup
+
+isAuthRequired() - Method in class com.pubnub.api.endpoints.Endpoint
+
+isAuthRequired() - Method in class com.pubnub.api.endpoints.History
+
+isAuthRequired() - Method in class com.pubnub.api.endpoints.presence.GetState
+
+isAuthRequired() - Method in class com.pubnub.api.endpoints.presence.Heartbeat
+
+isAuthRequired() - Method in class com.pubnub.api.endpoints.presence.HereNow
+
+isAuthRequired() - Method in class com.pubnub.api.endpoints.presence.Leave
+
+isAuthRequired() - Method in class com.pubnub.api.endpoints.presence.SetState
+
+isAuthRequired() - Method in class com.pubnub.api.endpoints.presence.WhereNow
+
+isAuthRequired() - Method in class com.pubnub.api.endpoints.pubsub.Publish
+
+isAuthRequired() - Method in class com.pubnub.api.endpoints.pubsub.Subscribe
+
+isAuthRequired() - Method in class com.pubnub.api.endpoints.push.AddChannelsToPush
+
+isAuthRequired() - Method in class com.pubnub.api.endpoints.push.ListPushProvisions
+
+isAuthRequired() - Method in class com.pubnub.api.endpoints.push.RemoveAllPushChannelsForDevice
+
+isAuthRequired() - Method in class com.pubnub.api.endpoints.push.RemoveChannelsFromPush
+
+isAuthRequired() - Method in class com.pubnub.api.endpoints.Time
+
+isEmpty() - Method in class com.pubnub.api.managers.StateManager
+
+
+
+
+
+
J
+
+joinString(List<String>, String) - Static method in class com.pubnub.api.PubNubUtil
+
+
+
+
+
+
L
+
+Leave - Class in com.pubnub.api.endpoints.presence
+
+Leave(PubNub, Retrofit) - Constructor for class com.pubnub.api.endpoints.presence.Leave
+
+leave(String, String, Map<String, String>) - Method in interface com.pubnub.api.endpoints.presence.PresenceService
+
+listAllChannelGroup(String, Map<String, String>) - Method in interface com.pubnub.api.endpoints.channel_groups.ChannelGroupService
+
+ListAllChannelGroup - Class in com.pubnub.api.endpoints.channel_groups
+
+ListAllChannelGroup(PubNub, Retrofit) - Constructor for class com.pubnub.api.endpoints.channel_groups.ListAllChannelGroup
+
+listAllChannelGroups() - Method in class com.pubnub.api.PubNub
+
+listChannelsForChannelGroup() - Method in class com.pubnub.api.PubNub
+
+listChannelsForDevice(String, String, Map<String, String>) - Method in interface com.pubnub.api.endpoints.push.PushService
+
+ListenerManager - Class in com.pubnub.api.managers
+
+ListenerManager(PubNub) - Constructor for class com.pubnub.api.managers.ListenerManager
+
+ListPushProvisions - Class in com.pubnub.api.endpoints.push
+
+ListPushProvisions(PubNub, Retrofit) - Constructor for class com.pubnub.api.endpoints.push.ListPushProvisions
+
+
+
+
+
+
M
+
+md5(String) - Static method in class com.pubnub.api.vendor.Crypto
+
+Get MD5
+
+message(PubNub, PNMessageResult) - Method in class com.pubnub.api.callbacks.SubscribeCallback
+
+modifyChannelsForDevice(String, String, Map<String, String>) - Method in interface com.pubnub.api.endpoints.push.PushService
+
+
+
+
+
+
N
+
+NO_CLOSE - Static variable in class com.pubnub.api.vendor.Base64
+
+Flag to pass to indicate that it
+ should not close the output stream it is wrapping when it
+ itself is closed.
+
+NO_PADDING - Static variable in class com.pubnub.api.vendor.Base64
+
+Encoder flag bit to omit the padding '=' characters at the end
+ of the output (if any).
+
+NO_WRAP - Static variable in class com.pubnub.api.vendor.Base64
+
+Encoder flag bit to omit all line terminators (i.e., the output
+ will be on one long line).
+
+
+
+
+
+
O
+
+onReconnection() - Method in class com.pubnub.api.callbacks.ReconnectionCallback
+
+onResponse(X, PNStatus) - Method in class com.pubnub.api.callbacks.PNCallback
+
+
+
+
+
+
P
+
+pamEncode(String) - Static method in class com.pubnub.api.PubNubUtil
+
+Returns encoded String
+
+PNAccessManagerAuditResult - Class in com.pubnub.api.models.consumer.access_manager
+
+PNAccessManagerAuditResult() - Constructor for class com.pubnub.api.models.consumer.access_manager.PNAccessManagerAuditResult
+
+PNAccessManagerGrantResult - Class in com.pubnub.api.models.consumer.access_manager
+
+PNAccessManagerGrantResult() - Constructor for class com.pubnub.api.models.consumer.access_manager.PNAccessManagerGrantResult
+
+PNAccessManagerKeyData - Class in com.pubnub.api.models.consumer.access_manager
+
+PNAccessManagerKeyData() - Constructor for class com.pubnub.api.models.consumer.access_manager.PNAccessManagerKeyData
+
+PNAccessManagerKeysData - Class in com.pubnub.api.models.consumer.access_manager
+
+PNAccessManagerKeysData() - Constructor for class com.pubnub.api.models.consumer.access_manager.PNAccessManagerKeysData
+
+PNCallback <X > - Class in com.pubnub.api.callbacks
+
+PNCallback() - Constructor for class com.pubnub.api.callbacks.PNCallback
+
+PNChannelGroupsAddChannelResult - Class in com.pubnub.api.models.consumer.channel_group
+
+PNChannelGroupsAddChannelResult() - Constructor for class com.pubnub.api.models.consumer.channel_group.PNChannelGroupsAddChannelResult
+
+PNChannelGroupsAllChannelsResult - Class in com.pubnub.api.models.consumer.channel_group
+
+PNChannelGroupsAllChannelsResult() - Constructor for class com.pubnub.api.models.consumer.channel_group.PNChannelGroupsAllChannelsResult
+
+PNChannelGroupsDeleteGroupResult - Class in com.pubnub.api.models.consumer.channel_group
+
+PNChannelGroupsDeleteGroupResult() - Constructor for class com.pubnub.api.models.consumer.channel_group.PNChannelGroupsDeleteGroupResult
+
+PNChannelGroupsListAllResult - Class in com.pubnub.api.models.consumer.channel_group
+
+PNChannelGroupsListAllResult() - Constructor for class com.pubnub.api.models.consumer.channel_group.PNChannelGroupsListAllResult
+
+PNChannelGroupsRemoveChannelResult - Class in com.pubnub.api.models.consumer.channel_group
+
+PNChannelGroupsRemoveChannelResult() - Constructor for class com.pubnub.api.models.consumer.channel_group.PNChannelGroupsRemoveChannelResult
+
+PNConfiguration - Class in com.pubnub.api
+
+PNConfiguration() - Constructor for class com.pubnub.api.PNConfiguration
+
+Initialize the PNConfiguration with default values
+
+PNERR_AUTH_KEYS_MISSING - Static variable in class com.pubnub.api.builder.PubNubErrorBuilder
+
+Auth Keys missing
+
+PNERR_BAD_GATEWAY - Static variable in class com.pubnub.api.builder.PubNubErrorBuilder
+
+Bad gateway .
+
+PNERR_BAD_REQUEST - Static variable in class com.pubnub.api.builder.PubNubErrorBuilder
+
+Bad Request .
+
+PNERR_CHANNEL_AND_GROUP_MISSING - Static variable in class com.pubnub.api.builder.PubNubErrorBuilder
+
+Channel and Group missing
+
+PNERR_CHANNEL_GROUP_PARSING_ERROR - Static variable in class com.pubnub.api.builder.PubNubErrorBuilder
+
+Error while parsing group name
+
+PNERR_CHANNEL_MISSING - Static variable in class com.pubnub.api.builder.PubNubErrorBuilder
+
+Channel missing
+
+PNERR_CLIENT_TIMEOUT - Static variable in class com.pubnub.api.builder.PubNubErrorBuilder
+
+Client Timeout .
+
+PNERR_CONNECT_EXCEPTION - Static variable in class com.pubnub.api.builder.PubNubErrorBuilder
+
+Connect Exception .
+
+PNERR_CONNECTION_NOT_SET - Static variable in class com.pubnub.api.builder.PubNubErrorBuilder
+
+PubNub connection not set on sender
+
+PNERR_CRYPTO_ERROR - Static variable in class com.pubnub.api.builder.PubNubErrorBuilder
+
+Crypto Error
+
+PNERR_DECRYPTION_ERROR - Static variable in class com.pubnub.api.builder.PubNubErrorBuilder
+
+Decryption Error .
+
+PNERR_DEVICE_ID_MISSING - Static variable in class com.pubnub.api.builder.PubNubErrorBuilder
+
+Device ID missing
+
+PNERR_DISCONN_AND_RESUB - Static variable in class com.pubnub.api.builder.PubNubErrorBuilder
+
+Disconnect and Resubscribe Received .
+
+PNERR_DISCONNECT - Static variable in class com.pubnub.api.builder.PubNubErrorBuilder
+
+Disconnect .
+
+PNERR_ENCRYPTION_ERROR - Static variable in class com.pubnub.api.builder.PubNubErrorBuilder
+
+Error while encrypting message to be published to PubNub Cloud .
+
+PNERR_FORBIDDEN - Static variable in class com.pubnub.api.builder.PubNubErrorBuilder
+
+PubNub server returned HTTP 403 forbidden status code.
+
+PNERR_GATEWAY_TIMEOUT - Static variable in class com.pubnub.api.builder.PubNubErrorBuilder
+
+Gateway Timeout
+
+PNERR_GETINPUTSTREAM - Static variable in class com.pubnub.api.builder.PubNubErrorBuilder
+
+Unable to open input stream .
+
+PNERR_GROUP_MISSING - Static variable in class com.pubnub.api.builder.PubNubErrorBuilder
+
+Group missing
+
+PNERR_HTTP_ERROR - Static variable in class com.pubnub.api.builder.PubNubErrorBuilder
+
+Please check network connectivity.
+
+PNERR_HTTP_RC_ERROR - Static variable in class com.pubnub.api.builder.PubNubErrorBuilder
+
+PNERR_HTTP_SUBSCRIBE_TIMEOUT - Static variable in class com.pubnub.api.builder.PubNubErrorBuilder
+
+Subscribe Timeout .
+
+PNERR_INTERNAL_ERROR - Static variable in class com.pubnub.api.builder.PubNubErrorBuilder
+
+PubNub server returned HTTP 502 internal server error status code.
+
+PNERR_INVALID_ARGUMENTS - Static variable in class com.pubnub.api.builder.PubNubErrorBuilder
+
+Invalid arguments provided to API
+
+PNERR_INVALID_JSON - Static variable in class com.pubnub.api.builder.PubNubErrorBuilder
+
+Invalid Json .
+
+PNERR_JSON_ERROR - Static variable in class com.pubnub.api.builder.PubNubErrorBuilder
+
+JSON Error while processing API response.
+
+PNERR_MALFORMED_URL - Static variable in class com.pubnub.api.builder.PubNubErrorBuilder
+
+Malformed URL .
+
+PNERR_MESSAGE_MISSING - Static variable in class com.pubnub.api.builder.PubNubErrorBuilder
+
+Message missing
+
+PNERR_NETWORK_ERROR - Static variable in class com.pubnub.api.builder.PubNubErrorBuilder
+
+Please verify if network is reachable
+
+PNERR_NOT_FOUND - Static variable in class com.pubnub.api.builder.PubNubErrorBuilder
+
+PubNub server or intermediate server returned HTTP 404 unauthorized
+ status code
+
+PNERR_PARSING_ERROR - Static variable in class com.pubnub.api.builder.PubNubErrorBuilder
+
+Parsing Error .
+
+PNERR_PROTOCOL_EXCEPTION - Static variable in class com.pubnub.api.builder.PubNubErrorBuilder
+
+Protocol Exception .
+
+PNERR_PUBLISH_KEY_MISSING - Static variable in class com.pubnub.api.builder.PubNubErrorBuilder
+
+Publish Key missing
+
+PNERR_PUBNUB_ERROR - Static variable in class com.pubnub.api.builder.PubNubErrorBuilder
+
+PNERR_PUBNUB_EXCEPTION - Static variable in class com.pubnub.api.builder.PubNubErrorBuilder
+
+PubNub Exception .
+
+PNERR_PUSH_TYPE_MISSING - Static variable in class com.pubnub.api.builder.PubNubErrorBuilder
+
+Push TYpe missing
+
+PNERR_READINPUT - Static variable in class com.pubnub.api.builder.PubNubErrorBuilder
+
+Unable to read input stream .
+
+PNERR_SECRET_KEY_MISSING - Static variable in class com.pubnub.api.builder.PubNubErrorBuilder
+
+Secret key not configured
+
+PNERR_STATE_MISSING - Static variable in class com.pubnub.api.builder.PubNubErrorBuilder
+
+State missing
+
+PNERR_SUBSCRIBE_KEY_MISSING - Static variable in class com.pubnub.api.builder.PubNubErrorBuilder
+
+Subscribe Key missing
+
+PNERR_TIMEOUT - Static variable in class com.pubnub.api.builder.PubNubErrorBuilder
+
+Timeout Error .
+
+PNERR_ULSSIGN_ERROR - Static variable in class com.pubnub.api.builder.PubNubErrorBuilder
+
+An ULS singature error occurred .
+
+PNERR_UNAUTHORIZED - Static variable in class com.pubnub.api.builder.PubNubErrorBuilder
+
+PubNub server returned HTTP 401 unauthorized status code Happens when
+ authentication key is missing .
+
+PNERR_URL_OPEN - Static variable in class com.pubnub.api.builder.PubNubErrorBuilder
+
+Error in opening URL .
+
+PNERROBJ_5023_INTERNAL_ERROR - Static variable in class com.pubnub.api.builder.PubNubErrorBuilder
+
+PNERROBJ_5075_NETWORK_ERROR - Static variable in class com.pubnub.api.builder.PubNubErrorBuilder
+
+PNERROBJ_AUTH_KEYS_MISSING - Static variable in class com.pubnub.api.builder.PubNubErrorBuilder
+
+PNERROBJ_BAD_GATEWAY - Static variable in class com.pubnub.api.builder.PubNubErrorBuilder
+
+PNERROBJ_BAD_REQUEST - Static variable in class com.pubnub.api.builder.PubNubErrorBuilder
+
+PNERROBJ_CHANNEL_AND_GROUP_MISSING - Static variable in class com.pubnub.api.builder.PubNubErrorBuilder
+
+PNERROBJ_CHANNEL_GROUP_PARSING_ERROR - Static variable in class com.pubnub.api.builder.PubNubErrorBuilder
+
+PNERROBJ_CHANNEL_MISSING - Static variable in class com.pubnub.api.builder.PubNubErrorBuilder
+
+PNERROBJ_CLIENT_TIMEOUT - Static variable in class com.pubnub.api.builder.PubNubErrorBuilder
+
+PNERROBJ_CONNECT_EXCEPTION - Static variable in class com.pubnub.api.builder.PubNubErrorBuilder
+
+PNERROBJ_CONNECTION_NOT_SET - Static variable in class com.pubnub.api.builder.PubNubErrorBuilder
+
+PNERROBJ_CRYPTO_ERROR - Static variable in class com.pubnub.api.builder.PubNubErrorBuilder
+
+PNERROBJ_DECRYPTION_ERROR - Static variable in class com.pubnub.api.builder.PubNubErrorBuilder
+
+PNERROBJ_DEVICE_ID_MISSING - Static variable in class com.pubnub.api.builder.PubNubErrorBuilder
+
+PNERROBJ_DISCONN_AND_RESUB - Static variable in class com.pubnub.api.builder.PubNubErrorBuilder
+
+PNERROBJ_DISCONNECT - Static variable in class com.pubnub.api.builder.PubNubErrorBuilder
+
+PNERROBJ_ENCRYPTION_ERROR - Static variable in class com.pubnub.api.builder.PubNubErrorBuilder
+
+PNERROBJ_FORBIDDEN - Static variable in class com.pubnub.api.builder.PubNubErrorBuilder
+
+PNERROBJ_GATEWAY_TIMEOUT - Static variable in class com.pubnub.api.builder.PubNubErrorBuilder
+
+PNERROBJ_GETINPUTSTREAM - Static variable in class com.pubnub.api.builder.PubNubErrorBuilder
+
+PNERROBJ_GROUP_MISSING - Static variable in class com.pubnub.api.builder.PubNubErrorBuilder
+
+PNERROBJ_HTTP_ERROR - Static variable in class com.pubnub.api.builder.PubNubErrorBuilder
+
+PNERROBJ_HTTP_RC_ERROR - Static variable in class com.pubnub.api.builder.PubNubErrorBuilder
+
+PNERROBJ_INTERNAL_ERROR - Static variable in class com.pubnub.api.builder.PubNubErrorBuilder
+
+PNERROBJ_INVALID_ARGUMENTS - Static variable in class com.pubnub.api.builder.PubNubErrorBuilder
+
+PNERROBJ_INVALID_JSON - Static variable in class com.pubnub.api.builder.PubNubErrorBuilder
+
+PNERROBJ_JSON_ERROR - Static variable in class com.pubnub.api.builder.PubNubErrorBuilder
+
+PNERROBJ_MALFORMED_URL - Static variable in class com.pubnub.api.builder.PubNubErrorBuilder
+
+PNERROBJ_MESSAGE_MISSING - Static variable in class com.pubnub.api.builder.PubNubErrorBuilder
+
+PNERROBJ_NOT_FOUND_ERROR - Static variable in class com.pubnub.api.builder.PubNubErrorBuilder
+
+PNERROBJ_PARSING_ERROR - Static variable in class com.pubnub.api.builder.PubNubErrorBuilder
+
+PNERROBJ_PROTOCOL_EXCEPTION - Static variable in class com.pubnub.api.builder.PubNubErrorBuilder
+
+PNERROBJ_PUBLISH_KEY_MISSING - Static variable in class com.pubnub.api.builder.PubNubErrorBuilder
+
+PNERROBJ_PUBNUB_ERROR - Static variable in class com.pubnub.api.builder.PubNubErrorBuilder
+
+PNERROBJ_PUBNUB_EXCEPTION - Static variable in class com.pubnub.api.builder.PubNubErrorBuilder
+
+PNERROBJ_PUSH_TYPE_MISSING - Static variable in class com.pubnub.api.builder.PubNubErrorBuilder
+
+PNERROBJ_READINPUT - Static variable in class com.pubnub.api.builder.PubNubErrorBuilder
+
+PNERROBJ_SECRET_KEY_MISSING - Static variable in class com.pubnub.api.builder.PubNubErrorBuilder
+
+PNERROBJ_STATE_MISSING - Static variable in class com.pubnub.api.builder.PubNubErrorBuilder
+
+PNERROBJ_SUBSCRIBE_KEY_MISSING - Static variable in class com.pubnub.api.builder.PubNubErrorBuilder
+
+PNERROBJ_SUBSCRIBE_TIMEOUT - Static variable in class com.pubnub.api.builder.PubNubErrorBuilder
+
+PNERROBJ_TIMEOUT - Static variable in class com.pubnub.api.builder.PubNubErrorBuilder
+
+PNERROBJ_ULSSIGN_ERROR - Static variable in class com.pubnub.api.builder.PubNubErrorBuilder
+
+PNERROBJ_UNAUTHORIZED - Static variable in class com.pubnub.api.builder.PubNubErrorBuilder
+
+PNERROBJ_URL_OPEN - Static variable in class com.pubnub.api.builder.PubNubErrorBuilder
+
+PNErrorData - Class in com.pubnub.api.models.consumer
+
+PNErrorData() - Constructor for class com.pubnub.api.models.consumer.PNErrorData
+
+PNGetStateResult - Class in com.pubnub.api.models.consumer.presence
+
+PNGetStateResult() - Constructor for class com.pubnub.api.models.consumer.presence.PNGetStateResult
+
+PNHeartbeatNotificationOptions - Enum in com.pubnub.api.enums
+
+PNHereNowChannelData - Class in com.pubnub.api.models.consumer.presence
+
+PNHereNowChannelData() - Constructor for class com.pubnub.api.models.consumer.presence.PNHereNowChannelData
+
+PNHereNowOccupantData - Class in com.pubnub.api.models.consumer.presence
+
+PNHereNowOccupantData() - Constructor for class com.pubnub.api.models.consumer.presence.PNHereNowOccupantData
+
+PNHereNowResult - Class in com.pubnub.api.models.consumer.presence
+
+PNHereNowResult() - Constructor for class com.pubnub.api.models.consumer.presence.PNHereNowResult
+
+PNHistoryItemResult - Class in com.pubnub.api.models.consumer.history
+
+PNHistoryItemResult() - Constructor for class com.pubnub.api.models.consumer.history.PNHistoryItemResult
+
+PNHistoryResult - Class in com.pubnub.api.models.consumer.history
+
+PNHistoryResult() - Constructor for class com.pubnub.api.models.consumer.history.PNHistoryResult
+
+PNLogVerbosity - Enum in com.pubnub.api.enums
+
+PNMessageResult - Class in com.pubnub.api.models.consumer.pubsub
+
+PNMessageResult() - Constructor for class com.pubnub.api.models.consumer.pubsub.PNMessageResult
+
+PNOperationType - Enum in com.pubnub.api.enums
+
+Created by Max on 4/7/16.
+
+PNPresenceEventResult - Class in com.pubnub.api.models.consumer.pubsub
+
+PNPresenceEventResult() - Constructor for class com.pubnub.api.models.consumer.pubsub.PNPresenceEventResult
+
+PNPublishResult - Class in com.pubnub.api.models.consumer
+
+PNPublishResult() - Constructor for class com.pubnub.api.models.consumer.PNPublishResult
+
+PNPushAddChannelResult - Class in com.pubnub.api.models.consumer.push
+
+PNPushAddChannelResult() - Constructor for class com.pubnub.api.models.consumer.push.PNPushAddChannelResult
+
+PNPushListProvisionsResult - Class in com.pubnub.api.models.consumer.push
+
+PNPushListProvisionsResult() - Constructor for class com.pubnub.api.models.consumer.push.PNPushListProvisionsResult
+
+PNPushRemoveAllChannelsResult - Class in com.pubnub.api.models.consumer.push
+
+PNPushRemoveAllChannelsResult() - Constructor for class com.pubnub.api.models.consumer.push.PNPushRemoveAllChannelsResult
+
+PNPushRemoveChannelResult - Class in com.pubnub.api.models.consumer.push
+
+PNPushRemoveChannelResult() - Constructor for class com.pubnub.api.models.consumer.push.PNPushRemoveChannelResult
+
+PNPushType - Enum in com.pubnub.api.enums
+
+PNReconnectionPolicy - Enum in com.pubnub.api.enums
+
+PNSetStateResult - Class in com.pubnub.api.models.consumer.presence
+
+PNSetStateResult() - Constructor for class com.pubnub.api.models.consumer.presence.PNSetStateResult
+
+PNStatus - Class in com.pubnub.api.models.consumer
+
+PNStatus() - Constructor for class com.pubnub.api.models.consumer.PNStatus
+
+PNStatusCategory - Enum in com.pubnub.api.enums
+
+PNTimeResult - Class in com.pubnub.api.models.consumer
+
+PNTimeResult() - Constructor for class com.pubnub.api.models.consumer.PNTimeResult
+
+PNWhereNowResult - Class in com.pubnub.api.models.consumer.presence
+
+PNWhereNowResult() - Constructor for class com.pubnub.api.models.consumer.presence.PNWhereNowResult
+
+prepareChannelGroupList(boolean) - Method in class com.pubnub.api.managers.StateManager
+
+prepareChannelList(boolean) - Method in class com.pubnub.api.managers.StateManager
+
+preparePamArguments(Map<String, String>) - Static method in class com.pubnub.api.PubNubUtil
+
+presence(PubNub, PNPresenceEventResult) - Method in class com.pubnub.api.callbacks.SubscribeCallback
+
+PresenceEnvelope - Class in com.pubnub.api.models.server
+
+PresenceEnvelope() - Constructor for class com.pubnub.api.models.server.PresenceEnvelope
+
+PresenceMessage - Class in com.pubnub.api.core.models.server
+
+PresenceMessage() - Constructor for class com.pubnub.api.core.models.server.PresenceMessage
+
+PresenceService - Interface in com.pubnub.api.endpoints.presence
+
+Publish - Class in com.pubnub.api.endpoints.pubsub
+
+Publish(PubNub, PublishSequenceManager, Retrofit) - Constructor for class com.pubnub.api.endpoints.pubsub.Publish
+
+publish(String, String, String, String, Map<String, String>) - Method in interface com.pubnub.api.endpoints.pubsub.PubSubService
+
+publish() - Method in class com.pubnub.api.PubNub
+
+PublishMetaData - Class in com.pubnub.api.models.server
+
+PublishMetaData() - Constructor for class com.pubnub.api.models.server.PublishMetaData
+
+PublishSequenceManager - Class in com.pubnub.api.managers
+
+PublishSequenceManager(int) - Constructor for class com.pubnub.api.managers.PublishSequenceManager
+
+publishWithPost(String, String, String, Object, Map<String, String>) - Method in interface com.pubnub.api.endpoints.pubsub.PubSubService
+
+PubNub - Class in com.pubnub.api
+
+PubNub(PNConfiguration) - Constructor for class com.pubnub.api.PubNub
+
+PubNubError - Class in com.pubnub.api
+
+PubNubError object is passed to errorCallback.
+
+PubNubError() - Constructor for class com.pubnub.api.PubNubError
+
+PubNubErrorBuilder - Class in com.pubnub.api.builder
+
+PubNubException - Exception in com.pubnub.api
+
+PubNubException() - Constructor for exception com.pubnub.api.PubNubException
+
+PubNubUtil - Class in com.pubnub.api
+
+PubSubBuilder - Class in com.pubnub.api.builder
+
+PubSubBuilder(SubscriptionManager) - Constructor for class com.pubnub.api.builder.PubSubBuilder
+
+PubSubService - Interface in com.pubnub.api.endpoints.pubsub
+
+PushService - Interface in com.pubnub.api.endpoints.push
+
+
+
+
+
+
R
+
+reconnect() - Method in class com.pubnub.api.managers.SubscriptionManager
+
+reconnect() - Method in class com.pubnub.api.PubNub
+
+Perform a Reconnect to the network
+
+ReconnectionCallback - Class in com.pubnub.api.callbacks
+
+ReconnectionCallback() - Constructor for class com.pubnub.api.callbacks.ReconnectionCallback
+
+ReconnectionManager - Class in com.pubnub.api.managers
+
+ReconnectionManager(PubNub) - Constructor for class com.pubnub.api.managers.ReconnectionManager
+
+removeAllChannelsForDevice(String, String, Map<String, String>) - Method in interface com.pubnub.api.endpoints.push.PushService
+
+RemoveAllPushChannelsForDevice - Class in com.pubnub.api.endpoints.push
+
+RemoveAllPushChannelsForDevice(PubNub, Retrofit) - Constructor for class com.pubnub.api.endpoints.push.RemoveAllPushChannelsForDevice
+
+removeAllPushNotificationsFromDeviceWithPushToken() - Method in class com.pubnub.api.PubNub
+
+removeChannel(String, String, Map<String, String>) - Method in interface com.pubnub.api.endpoints.channel_groups.ChannelGroupService
+
+RemoveChannelChannelGroup - Class in com.pubnub.api.endpoints.channel_groups
+
+RemoveChannelChannelGroup(PubNub, Retrofit) - Constructor for class com.pubnub.api.endpoints.channel_groups.RemoveChannelChannelGroup
+
+removeChannelsFromChannelGroup() - Method in class com.pubnub.api.PubNub
+
+RemoveChannelsFromPush - Class in com.pubnub.api.endpoints.push
+
+RemoveChannelsFromPush(PubNub, Retrofit) - Constructor for class com.pubnub.api.endpoints.push.RemoveChannelsFromPush
+
+removeListener(SubscribeCallback) - Method in class com.pubnub.api.managers.ListenerManager
+
+removeListener(SubscribeCallback) - Method in class com.pubnub.api.managers.SubscriptionManager
+
+removeListener(SubscribeCallback) - Method in class com.pubnub.api.PubNub
+
+removePushNotificationsFromChannels() - Method in class com.pubnub.api.PubNub
+
+replaceLast(String, String, String) - Static method in class com.pubnub.api.PubNubUtil
+
+RetrofitManager - Class in com.pubnub.api.managers
+
+RetrofitManager(PubNub) - Constructor for class com.pubnub.api.managers.RetrofitManager
+
+retry() - Method in class com.pubnub.api.endpoints.Endpoint
+
+retry() - Method in class com.pubnub.api.models.consumer.PNStatus
+
+run() - Method in class com.pubnub.api.workers.SubscribeMessageWorker
+
+
+
+
+
+
S
+
+setPresenceState() - Method in class com.pubnub.api.PubNub
+
+setPresenceTimeout(int) - Method in class com.pubnub.api.PNConfiguration
+
+set presence configurations for timeout and allow the client to pick the best interval
+
+setPresenceTimeoutWithCustomInterval(int, int) - Method in class com.pubnub.api.PNConfiguration
+
+set presence configurations for timeout and announce interval.
+
+setReconnectionListener(ReconnectionCallback) - Method in class com.pubnub.api.managers.ReconnectionManager
+
+setState(String, String, String, Map<String, String>) - Method in interface com.pubnub.api.endpoints.presence.PresenceService
+
+SetState - Class in com.pubnub.api.endpoints.presence
+
+SetState(PubNub, SubscriptionManager, Retrofit) - Constructor for class com.pubnub.api.endpoints.presence.SetState
+
+sha256(byte[]) - Static method in class com.pubnub.api.vendor.Crypto
+
+Get SHA256
+
+signSHA256(String, String) - Static method in class com.pubnub.api.PubNubUtil
+
+silentCancel() - Method in class com.pubnub.api.endpoints.Endpoint
+
+cancel the operation but do not alert anybody, useful for restarting the heartbeats and subscribe loops.
+
+startPolling() - Method in class com.pubnub.api.managers.ReconnectionManager
+
+StateManager - Class in com.pubnub.api.managers
+
+StateManager() - Constructor for class com.pubnub.api.managers.StateManager
+
+StateOperation - Class in com.pubnub.api.builder.dto
+
+StateOperation() - Constructor for class com.pubnub.api.builder.dto.StateOperation
+
+status(PubNub, PNStatus) - Method in class com.pubnub.api.callbacks.SubscribeCallback
+
+stop() - Method in class com.pubnub.api.managers.SubscriptionManager
+
+stop() - Method in class com.pubnub.api.PubNub
+
+Stop the SDK and terminate all listeners.
+
+subscribe(String, String, Map<String, String>) - Method in interface com.pubnub.api.endpoints.pubsub.PubSubService
+
+Subscribe - Class in com.pubnub.api.endpoints.pubsub
+
+Supports calling of the subscribe endpoints and deconstructs the response to POJO's.
+
+Subscribe(PubNub, Retrofit) - Constructor for class com.pubnub.api.endpoints.pubsub.Subscribe
+
+CreFte a new Subscribe instance endpoint.
+
+subscribe() - Method in class com.pubnub.api.PubNub
+
+SubscribeBuilder - Class in com.pubnub.api.builder
+
+SubscribeBuilder(SubscriptionManager) - Constructor for class com.pubnub.api.builder.SubscribeBuilder
+
+SubscribeCallback - Class in com.pubnub.api.callbacks
+
+SubscribeCallback() - Constructor for class com.pubnub.api.callbacks.SubscribeCallback
+
+SubscribeEnvelope - Class in com.pubnub.api.models.server
+
+SubscribeEnvelope() - Constructor for class com.pubnub.api.models.server.SubscribeEnvelope
+
+SubscribeMessage - Class in com.pubnub.api.models.server
+
+SubscribeMessage() - Constructor for class com.pubnub.api.models.server.SubscribeMessage
+
+SubscribeMessageWorker - Class in com.pubnub.api.workers
+
+SubscribeMessageWorker(PubNub, ListenerManager, LinkedBlockingQueue<SubscribeMessage>) - Constructor for class com.pubnub.api.workers.SubscribeMessageWorker
+
+SubscribeMetadata - Class in com.pubnub.api.models.server
+
+SubscribeMetadata() - Constructor for class com.pubnub.api.models.server.SubscribeMetadata
+
+SubscribeOperation - Class in com.pubnub.api.builder.dto
+
+SubscribeOperation() - Constructor for class com.pubnub.api.builder.dto.SubscribeOperation
+
+SubscriptionItem - Class in com.pubnub.api.models
+
+SubscriptionItem() - Constructor for class com.pubnub.api.models.SubscriptionItem
+
+SubscriptionManager - Class in com.pubnub.api.managers
+
+SubscriptionManager(PubNub, RetrofitManager) - Constructor for class com.pubnub.api.managers.SubscriptionManager
+
+sync() - Method in class com.pubnub.api.endpoints.Endpoint
+
+
+
+
+
+
T
+
+Time - Class in com.pubnub.api.endpoints
+
+Time(PubNub, Retrofit) - Constructor for class com.pubnub.api.endpoints.Time
+
+time() - Method in class com.pubnub.api.PubNub
+
+TimeCallback - Class in com.pubnub.api.callbacks
+
+TimeCallback() - Constructor for class com.pubnub.api.callbacks.TimeCallback
+
+
+
+
+
+
U
+
+unsubscribe() - Method in class com.pubnub.api.PubNub
+
+unsubscribeAll() - Method in class com.pubnub.api.managers.SubscriptionManager
+
+unsubscribeAll() - Method in class com.pubnub.api.PubNub
+
+UnsubscribeBuilder - Class in com.pubnub.api.builder
+
+UnsubscribeBuilder(SubscriptionManager) - Constructor for class com.pubnub.api.builder.UnsubscribeBuilder
+
+UnsubscribeOperation - Class in com.pubnub.api.builder.dto
+
+UnsubscribeOperation() - Constructor for class com.pubnub.api.builder.dto.UnsubscribeOperation
+
+URL_SAFE - Static variable in class com.pubnub.api.vendor.Base64
+
+Encoder/decoder flag bit to indicate using the "URL and
+ filename safe" variant of Base64 (see RFC 3548 section 4) where
+ - and _ are used in place of + and
+ /.
+
+urlDecode(String) - Static method in class com.pubnub.api.PubNubUtil
+
+Returns decoded String
+
+urlEncode(String) - Static method in class com.pubnub.api.PubNubUtil
+
+Returns encoded String
+
+
+
+
+
+
V
+
+validateParams() - Method in class com.pubnub.api.endpoints.access.Audit
+
+validateParams() - Method in class com.pubnub.api.endpoints.access.Grant
+
+validateParams() - Method in class com.pubnub.api.endpoints.channel_groups.AddChannelChannelGroup
+
+validateParams() - Method in class com.pubnub.api.endpoints.channel_groups.AllChannelsChannelGroup
+
+validateParams() - Method in class com.pubnub.api.endpoints.channel_groups.DeleteChannelGroup
+
+validateParams() - Method in class com.pubnub.api.endpoints.channel_groups.ListAllChannelGroup
+
+validateParams() - Method in class com.pubnub.api.endpoints.channel_groups.RemoveChannelChannelGroup
+
+validateParams() - Method in class com.pubnub.api.endpoints.Endpoint
+
+validateParams() - Method in class com.pubnub.api.endpoints.History
+
+validateParams() - Method in class com.pubnub.api.endpoints.presence.GetState
+
+validateParams() - Method in class com.pubnub.api.endpoints.presence.Heartbeat
+
+validateParams() - Method in class com.pubnub.api.endpoints.presence.HereNow
+
+validateParams() - Method in class com.pubnub.api.endpoints.presence.Leave
+
+validateParams() - Method in class com.pubnub.api.endpoints.presence.SetState
+
+validateParams() - Method in class com.pubnub.api.endpoints.presence.WhereNow
+
+validateParams() - Method in class com.pubnub.api.endpoints.pubsub.Publish
+
+validateParams() - Method in class com.pubnub.api.endpoints.pubsub.Subscribe
+
+validateParams() - Method in class com.pubnub.api.endpoints.push.AddChannelsToPush
+
+validateParams() - Method in class com.pubnub.api.endpoints.push.ListPushProvisions
+
+validateParams() - Method in class com.pubnub.api.endpoints.push.RemoveAllPushChannelsForDevice
+
+validateParams() - Method in class com.pubnub.api.endpoints.push.RemoveChannelsFromPush
+
+validateParams() - Method in class com.pubnub.api.endpoints.Time
+
+valueOf(String) - Static method in enum com.pubnub.api.enums.PNHeartbeatNotificationOptions
+
+Returns the enum constant of this type with the specified name.
+
+valueOf(String) - Static method in enum com.pubnub.api.enums.PNLogVerbosity
+
+Returns the enum constant of this type with the specified name.
+
+valueOf(String) - Static method in enum com.pubnub.api.enums.PNOperationType
+
+Returns the enum constant of this type with the specified name.
+
+valueOf(String) - Static method in enum com.pubnub.api.enums.PNPushType
+
+Returns the enum constant of this type with the specified name.
+
+valueOf(String) - Static method in enum com.pubnub.api.enums.PNReconnectionPolicy
+
+Returns the enum constant of this type with the specified name.
+
+valueOf(String) - Static method in enum com.pubnub.api.enums.PNStatusCategory
+
+Returns the enum constant of this type with the specified name.
+
+values() - Static method in enum com.pubnub.api.enums.PNHeartbeatNotificationOptions
+
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+
+values() - Static method in enum com.pubnub.api.enums.PNLogVerbosity
+
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+
+values() - Static method in enum com.pubnub.api.enums.PNOperationType
+
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+
+values() - Static method in enum com.pubnub.api.enums.PNPushType
+
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+
+values() - Static method in enum com.pubnub.api.enums.PNReconnectionPolicy
+
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+
+values() - Static method in enum com.pubnub.api.enums.PNStatusCategory
+
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+
+
+
+
+
+
W
+
+whereNow(String, String, Map<String, String>) - Method in interface com.pubnub.api.endpoints.presence.PresenceService
+
+WhereNow - Class in com.pubnub.api.endpoints.presence
+
+WhereNow(PubNub, Retrofit) - Constructor for class com.pubnub.api.endpoints.presence.WhereNow
+
+whereNow() - Method in class com.pubnub.api.PubNub
+
+WhereNowCallback - Class in com.pubnub.api.callbacks
+
+WhereNowCallback() - Constructor for class com.pubnub.api.callbacks.WhereNowCallback
+
+WhereNowPayload - Class in com.pubnub.api.models.server.presence
+
+WhereNowPayload() - Constructor for class com.pubnub.api.models.server.presence.WhereNowPayload
+
+withPresence() - Method in class com.pubnub.api.builder.SubscribeBuilder
+
+withTimetoken(Long) - Method in class com.pubnub.api.builder.SubscribeBuilder
+
+
+
A B C D E F G H I J L M N O P R S T U V W
+
+
+
+
+
+
diff --git a/docs/index.html b/docs/index.html
new file mode 100644
index 000000000..7ccfb3fb6
--- /dev/null
+++ b/docs/index.html
@@ -0,0 +1,74 @@
+
+
+
+
+
+pubnub 4.0.10 API
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+Frame Alert
+This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to Non-frame version .
+
+
+
diff --git a/docs/overview-frame.html b/docs/overview-frame.html
new file mode 100644
index 000000000..e7ea383c1
--- /dev/null
+++ b/docs/overview-frame.html
@@ -0,0 +1,45 @@
+
+
+
+
+
+Overview List (pubnub 4.0.10 API)
+
+
+
+
+
+
+
+
+
diff --git a/docs/overview-summary.html b/docs/overview-summary.html
new file mode 100644
index 000000000..beb784b9e
--- /dev/null
+++ b/docs/overview-summary.html
@@ -0,0 +1,227 @@
+
+
+
+
+
+Overview (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/overview-tree.html b/docs/overview-tree.html
new file mode 100644
index 000000000..ee4bb9bed
--- /dev/null
+++ b/docs/overview-tree.html
@@ -0,0 +1,279 @@
+
+
+
+
+
+Class Hierarchy (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
Class Hierarchy
+
+
Interface Hierarchy
+
+
Enum Hierarchy
+
+java.lang.Object
+
+java.lang.Enum<E> (implements java.lang.Comparable<T>, java.io.Serializable)
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/package-list b/docs/package-list
new file mode 100644
index 000000000..4915055b7
--- /dev/null
+++ b/docs/package-list
@@ -0,0 +1,26 @@
+com.pubnub.api
+com.pubnub.api.builder
+com.pubnub.api.builder.dto
+com.pubnub.api.callbacks
+com.pubnub.api.core.models.server
+com.pubnub.api.endpoints
+com.pubnub.api.endpoints.access
+com.pubnub.api.endpoints.channel_groups
+com.pubnub.api.endpoints.presence
+com.pubnub.api.endpoints.pubsub
+com.pubnub.api.endpoints.push
+com.pubnub.api.enums
+com.pubnub.api.managers
+com.pubnub.api.models
+com.pubnub.api.models.consumer
+com.pubnub.api.models.consumer.access_manager
+com.pubnub.api.models.consumer.channel_group
+com.pubnub.api.models.consumer.history
+com.pubnub.api.models.consumer.presence
+com.pubnub.api.models.consumer.pubsub
+com.pubnub.api.models.consumer.push
+com.pubnub.api.models.server
+com.pubnub.api.models.server.access_manager
+com.pubnub.api.models.server.presence
+com.pubnub.api.vendor
+com.pubnub.api.workers
diff --git a/docs/resources/background.gif b/docs/resources/background.gif
new file mode 100644
index 000000000..f471940fd
Binary files /dev/null and b/docs/resources/background.gif differ
diff --git a/docs/resources/tab.gif b/docs/resources/tab.gif
new file mode 100644
index 000000000..1a73a83be
Binary files /dev/null and b/docs/resources/tab.gif differ
diff --git a/docs/resources/titlebar.gif b/docs/resources/titlebar.gif
new file mode 100644
index 000000000..17443b3e1
Binary files /dev/null and b/docs/resources/titlebar.gif differ
diff --git a/docs/resources/titlebar_end.gif b/docs/resources/titlebar_end.gif
new file mode 100644
index 000000000..3ad78d461
Binary files /dev/null and b/docs/resources/titlebar_end.gif differ
diff --git a/docs/script.js b/docs/script.js
new file mode 100644
index 000000000..b34635693
--- /dev/null
+++ b/docs/script.js
@@ -0,0 +1,30 @@
+function show(type)
+{
+ count = 0;
+ for (var key in methods) {
+ var row = document.getElementById(key);
+ if ((methods[key] & type) != 0) {
+ row.style.display = '';
+ row.className = (count++ % 2) ? rowColor : altColor;
+ }
+ else
+ row.style.display = 'none';
+ }
+ updateTabs(type);
+}
+
+function updateTabs(type)
+{
+ for (var value in tabs) {
+ var sNode = document.getElementById(tabs[value][0]);
+ var spanNode = sNode.firstChild;
+ if (value == type) {
+ sNode.className = activeTableTab;
+ spanNode.innerHTML = tabs[value][1];
+ }
+ else {
+ sNode.className = tableTab;
+ spanNode.innerHTML = "" + tabs[value][1] + " ";
+ }
+ }
+}
diff --git a/docs/serialized-form.html b/docs/serialized-form.html
new file mode 100644
index 000000000..c10be0092
--- /dev/null
+++ b/docs/serialized-form.html
@@ -0,0 +1,159 @@
+
+
+
+
+
+Serialized Form (pubnub 4.0.10 API)
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/stylesheet.css b/docs/stylesheet.css
new file mode 100644
index 000000000..98055b22d
--- /dev/null
+++ b/docs/stylesheet.css
@@ -0,0 +1,574 @@
+/* Javadoc style sheet */
+/*
+Overall document style
+*/
+
+@import url('resources/fonts/dejavu.css');
+
+body {
+ background-color:#ffffff;
+ color:#353833;
+ font-family:'DejaVu Sans', Arial, Helvetica, sans-serif;
+ font-size:14px;
+ margin:0;
+}
+a:link, a:visited {
+ text-decoration:none;
+ color:#4A6782;
+}
+a:hover, a:focus {
+ text-decoration:none;
+ color:#bb7a2a;
+}
+a:active {
+ text-decoration:none;
+ color:#4A6782;
+}
+a[name] {
+ color:#353833;
+}
+a[name]:hover {
+ text-decoration:none;
+ color:#353833;
+}
+pre {
+ font-family:'DejaVu Sans Mono', monospace;
+ font-size:14px;
+}
+h1 {
+ font-size:20px;
+}
+h2 {
+ font-size:18px;
+}
+h3 {
+ font-size:16px;
+ font-style:italic;
+}
+h4 {
+ font-size:13px;
+}
+h5 {
+ font-size:12px;
+}
+h6 {
+ font-size:11px;
+}
+ul {
+ list-style-type:disc;
+}
+code, tt {
+ font-family:'DejaVu Sans Mono', monospace;
+ font-size:14px;
+ padding-top:4px;
+ margin-top:8px;
+ line-height:1.4em;
+}
+dt code {
+ font-family:'DejaVu Sans Mono', monospace;
+ font-size:14px;
+ padding-top:4px;
+}
+table tr td dt code {
+ font-family:'DejaVu Sans Mono', monospace;
+ font-size:14px;
+ vertical-align:top;
+ padding-top:4px;
+}
+sup {
+ font-size:8px;
+}
+/*
+Document title and Copyright styles
+*/
+.clear {
+ clear:both;
+ height:0px;
+ overflow:hidden;
+}
+.aboutLanguage {
+ float:right;
+ padding:0px 21px;
+ font-size:11px;
+ z-index:200;
+ margin-top:-9px;
+}
+.legalCopy {
+ margin-left:.5em;
+}
+.bar a, .bar a:link, .bar a:visited, .bar a:active {
+ color:#FFFFFF;
+ text-decoration:none;
+}
+.bar a:hover, .bar a:focus {
+ color:#bb7a2a;
+}
+.tab {
+ background-color:#0066FF;
+ color:#ffffff;
+ padding:8px;
+ width:5em;
+ font-weight:bold;
+}
+/*
+Navigation bar styles
+*/
+.bar {
+ background-color:#4D7A97;
+ color:#FFFFFF;
+ padding:.8em .5em .4em .8em;
+ height:auto;/*height:1.8em;*/
+ font-size:11px;
+ margin:0;
+}
+.topNav {
+ background-color:#4D7A97;
+ color:#FFFFFF;
+ float:left;
+ padding:0;
+ width:100%;
+ clear:right;
+ height:2.8em;
+ padding-top:10px;
+ overflow:hidden;
+ font-size:12px;
+}
+.bottomNav {
+ margin-top:10px;
+ background-color:#4D7A97;
+ color:#FFFFFF;
+ float:left;
+ padding:0;
+ width:100%;
+ clear:right;
+ height:2.8em;
+ padding-top:10px;
+ overflow:hidden;
+ font-size:12px;
+}
+.subNav {
+ background-color:#dee3e9;
+ float:left;
+ width:100%;
+ overflow:hidden;
+ font-size:12px;
+}
+.subNav div {
+ clear:left;
+ float:left;
+ padding:0 0 5px 6px;
+ text-transform:uppercase;
+}
+ul.navList, ul.subNavList {
+ float:left;
+ margin:0 25px 0 0;
+ padding:0;
+}
+ul.navList li{
+ list-style:none;
+ float:left;
+ padding: 5px 6px;
+ text-transform:uppercase;
+}
+ul.subNavList li{
+ list-style:none;
+ float:left;
+}
+.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited {
+ color:#FFFFFF;
+ text-decoration:none;
+ text-transform:uppercase;
+}
+.topNav a:hover, .bottomNav a:hover {
+ text-decoration:none;
+ color:#bb7a2a;
+ text-transform:uppercase;
+}
+.navBarCell1Rev {
+ background-color:#F8981D;
+ color:#253441;
+ margin: auto 5px;
+}
+.skipNav {
+ position:absolute;
+ top:auto;
+ left:-9999px;
+ overflow:hidden;
+}
+/*
+Page header and footer styles
+*/
+.header, .footer {
+ clear:both;
+ margin:0 20px;
+ padding:5px 0 0 0;
+}
+.indexHeader {
+ margin:10px;
+ position:relative;
+}
+.indexHeader span{
+ margin-right:15px;
+}
+.indexHeader h1 {
+ font-size:13px;
+}
+.title {
+ color:#2c4557;
+ margin:10px 0;
+}
+.subTitle {
+ margin:5px 0 0 0;
+}
+.header ul {
+ margin:0 0 15px 0;
+ padding:0;
+}
+.footer ul {
+ margin:20px 0 5px 0;
+}
+.header ul li, .footer ul li {
+ list-style:none;
+ font-size:13px;
+}
+/*
+Heading styles
+*/
+div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 {
+ background-color:#dee3e9;
+ border:1px solid #d0d9e0;
+ margin:0 0 6px -8px;
+ padding:7px 5px;
+}
+ul.blockList ul.blockList ul.blockList li.blockList h3 {
+ background-color:#dee3e9;
+ border:1px solid #d0d9e0;
+ margin:0 0 6px -8px;
+ padding:7px 5px;
+}
+ul.blockList ul.blockList li.blockList h3 {
+ padding:0;
+ margin:15px 0;
+}
+ul.blockList li.blockList h2 {
+ padding:0px 0 20px 0;
+}
+/*
+Page layout container styles
+*/
+.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer {
+ clear:both;
+ padding:10px 20px;
+ position:relative;
+}
+.indexContainer {
+ margin:10px;
+ position:relative;
+ font-size:12px;
+}
+.indexContainer h2 {
+ font-size:13px;
+ padding:0 0 3px 0;
+}
+.indexContainer ul {
+ margin:0;
+ padding:0;
+}
+.indexContainer ul li {
+ list-style:none;
+ padding-top:2px;
+}
+.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt {
+ font-size:12px;
+ font-weight:bold;
+ margin:10px 0 0 0;
+ color:#4E4E4E;
+}
+.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd {
+ margin:5px 0 10px 0px;
+ font-size:14px;
+ font-family:'DejaVu Sans Mono',monospace;
+}
+.serializedFormContainer dl.nameValue dt {
+ margin-left:1px;
+ font-size:1.1em;
+ display:inline;
+ font-weight:bold;
+}
+.serializedFormContainer dl.nameValue dd {
+ margin:0 0 0 1px;
+ font-size:1.1em;
+ display:inline;
+}
+/*
+List styles
+*/
+ul.horizontal li {
+ display:inline;
+ font-size:0.9em;
+}
+ul.inheritance {
+ margin:0;
+ padding:0;
+}
+ul.inheritance li {
+ display:inline;
+ list-style:none;
+}
+ul.inheritance li ul.inheritance {
+ margin-left:15px;
+ padding-left:15px;
+ padding-top:1px;
+}
+ul.blockList, ul.blockListLast {
+ margin:10px 0 10px 0;
+ padding:0;
+}
+ul.blockList li.blockList, ul.blockListLast li.blockList {
+ list-style:none;
+ margin-bottom:15px;
+ line-height:1.4;
+}
+ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList {
+ padding:0px 20px 5px 10px;
+ border:1px solid #ededed;
+ background-color:#f8f8f8;
+}
+ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList {
+ padding:0 0 5px 8px;
+ background-color:#ffffff;
+ border:none;
+}
+ul.blockList ul.blockList ul.blockList ul.blockList li.blockList {
+ margin-left:0;
+ padding-left:0;
+ padding-bottom:15px;
+ border:none;
+}
+ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast {
+ list-style:none;
+ border-bottom:none;
+ padding-bottom:0;
+}
+table tr td dl, table tr td dl dt, table tr td dl dd {
+ margin-top:0;
+ margin-bottom:1px;
+}
+/*
+Table styles
+*/
+.overviewSummary, .memberSummary, .typeSummary, .useSummary, .constantsSummary, .deprecatedSummary {
+ width:100%;
+ border-left:1px solid #EEE;
+ border-right:1px solid #EEE;
+ border-bottom:1px solid #EEE;
+}
+.overviewSummary, .memberSummary {
+ padding:0px;
+}
+.overviewSummary caption, .memberSummary caption, .typeSummary caption,
+.useSummary caption, .constantsSummary caption, .deprecatedSummary caption {
+ position:relative;
+ text-align:left;
+ background-repeat:no-repeat;
+ color:#253441;
+ font-weight:bold;
+ clear:none;
+ overflow:hidden;
+ padding:0px;
+ padding-top:10px;
+ padding-left:1px;
+ margin:0px;
+ white-space:pre;
+}
+.overviewSummary caption a:link, .memberSummary caption a:link, .typeSummary caption a:link,
+.useSummary caption a:link, .constantsSummary caption a:link, .deprecatedSummary caption a:link,
+.overviewSummary caption a:hover, .memberSummary caption a:hover, .typeSummary caption a:hover,
+.useSummary caption a:hover, .constantsSummary caption a:hover, .deprecatedSummary caption a:hover,
+.overviewSummary caption a:active, .memberSummary caption a:active, .typeSummary caption a:active,
+.useSummary caption a:active, .constantsSummary caption a:active, .deprecatedSummary caption a:active,
+.overviewSummary caption a:visited, .memberSummary caption a:visited, .typeSummary caption a:visited,
+.useSummary caption a:visited, .constantsSummary caption a:visited, .deprecatedSummary caption a:visited {
+ color:#FFFFFF;
+}
+.overviewSummary caption span, .memberSummary caption span, .typeSummary caption span,
+.useSummary caption span, .constantsSummary caption span, .deprecatedSummary caption span {
+ white-space:nowrap;
+ padding-top:5px;
+ padding-left:12px;
+ padding-right:12px;
+ padding-bottom:7px;
+ display:inline-block;
+ float:left;
+ background-color:#F8981D;
+ border: none;
+ height:16px;
+}
+.memberSummary caption span.activeTableTab span {
+ white-space:nowrap;
+ padding-top:5px;
+ padding-left:12px;
+ padding-right:12px;
+ margin-right:3px;
+ display:inline-block;
+ float:left;
+ background-color:#F8981D;
+ height:16px;
+}
+.memberSummary caption span.tableTab span {
+ white-space:nowrap;
+ padding-top:5px;
+ padding-left:12px;
+ padding-right:12px;
+ margin-right:3px;
+ display:inline-block;
+ float:left;
+ background-color:#4D7A97;
+ height:16px;
+}
+.memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab {
+ padding-top:0px;
+ padding-left:0px;
+ padding-right:0px;
+ background-image:none;
+ float:none;
+ display:inline;
+}
+.overviewSummary .tabEnd, .memberSummary .tabEnd, .typeSummary .tabEnd,
+.useSummary .tabEnd, .constantsSummary .tabEnd, .deprecatedSummary .tabEnd {
+ display:none;
+ width:5px;
+ position:relative;
+ float:left;
+ background-color:#F8981D;
+}
+.memberSummary .activeTableTab .tabEnd {
+ display:none;
+ width:5px;
+ margin-right:3px;
+ position:relative;
+ float:left;
+ background-color:#F8981D;
+}
+.memberSummary .tableTab .tabEnd {
+ display:none;
+ width:5px;
+ margin-right:3px;
+ position:relative;
+ background-color:#4D7A97;
+ float:left;
+
+}
+.overviewSummary td, .memberSummary td, .typeSummary td,
+.useSummary td, .constantsSummary td, .deprecatedSummary td {
+ text-align:left;
+ padding:0px 0px 12px 10px;
+}
+th.colOne, th.colFirst, th.colLast, .useSummary th, .constantsSummary th,
+td.colOne, td.colFirst, td.colLast, .useSummary td, .constantsSummary td{
+ vertical-align:top;
+ padding-right:0px;
+ padding-top:8px;
+ padding-bottom:3px;
+}
+th.colFirst, th.colLast, th.colOne, .constantsSummary th {
+ background:#dee3e9;
+ text-align:left;
+ padding:8px 3px 3px 7px;
+}
+td.colFirst, th.colFirst {
+ white-space:nowrap;
+ font-size:13px;
+}
+td.colLast, th.colLast {
+ font-size:13px;
+}
+td.colOne, th.colOne {
+ font-size:13px;
+}
+.overviewSummary td.colFirst, .overviewSummary th.colFirst,
+.useSummary td.colFirst, .useSummary th.colFirst,
+.overviewSummary td.colOne, .overviewSummary th.colOne,
+.memberSummary td.colFirst, .memberSummary th.colFirst,
+.memberSummary td.colOne, .memberSummary th.colOne,
+.typeSummary td.colFirst{
+ width:25%;
+ vertical-align:top;
+}
+td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover {
+ font-weight:bold;
+}
+.tableSubHeadingColor {
+ background-color:#EEEEFF;
+}
+.altColor {
+ background-color:#FFFFFF;
+}
+.rowColor {
+ background-color:#EEEEEF;
+}
+/*
+Content styles
+*/
+.description pre {
+ margin-top:0;
+}
+.deprecatedContent {
+ margin:0;
+ padding:10px 0;
+}
+.docSummary {
+ padding:0;
+}
+
+ul.blockList ul.blockList ul.blockList li.blockList h3 {
+ font-style:normal;
+}
+
+div.block {
+ font-size:14px;
+ font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif;
+}
+
+td.colLast div {
+ padding-top:0px;
+}
+
+
+td.colLast a {
+ padding-bottom:3px;
+}
+/*
+Formatting effect styles
+*/
+.sourceLineNo {
+ color:green;
+ padding:0 30px 0 0;
+}
+h1.hidden {
+ visibility:hidden;
+ overflow:hidden;
+ font-size:10px;
+}
+.block {
+ display:block;
+ margin:3px 10px 2px 0px;
+ color:#474747;
+}
+.deprecatedLabel, .descfrmTypeLabel, .memberNameLabel, .memberNameLink,
+.overrideSpecifyLabel, .packageHierarchyLabel, .paramLabel, .returnLabel,
+.seeLabel, .simpleTagLabel, .throwsLabel, .typeNameLabel, .typeNameLink {
+ font-weight:bold;
+}
+.deprecationComment, .emphasizedPhrase, .interfaceName {
+ font-style:italic;
+}
+
+div.block div.block span.deprecationComment, div.block div.block span.emphasizedPhrase,
+div.block div.block span.interfaceName {
+ font-style:normal;
+}
+
+div.contentContainer ul.blockList li.blockList h2{
+ padding-bottom:0px;
+}
diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar
index 2c6137b87..deedc7fa5 100644
Binary files a/gradle/wrapper/gradle-wrapper.jar and b/gradle/wrapper/gradle-wrapper.jar differ
diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
index cd6c5dbb2..26a3d0e05 100644
--- a/gradle/wrapper/gradle-wrapper.properties
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -1,6 +1,6 @@
-#Sun May 01 11:48:10 PDT 2016
+#Fri Sep 09 10:28:50 PDT 2016
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
-distributionUrl=https\://services.gradle.org/distributions/gradle-2.12-all.zip
+distributionUrl=https\://services.gradle.org/distributions/gradle-3.0-all.zip
diff --git a/gradlew b/gradlew
index 9d82f7891..9aa616c27 100755
--- a/gradlew
+++ b/gradlew
@@ -6,12 +6,30 @@
##
##############################################################################
-# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
-DEFAULT_JVM_OPTS=""
+# Attempt to set APP_HOME
+# Resolve links: $0 may be a link
+PRG="$0"
+# Need this for relative symlinks.
+while [ -h "$PRG" ] ; do
+ ls=`ls -ld "$PRG"`
+ link=`expr "$ls" : '.*-> \(.*\)$'`
+ if expr "$link" : '/.*' > /dev/null; then
+ PRG="$link"
+ else
+ PRG=`dirname "$PRG"`"/$link"
+ fi
+done
+SAVED="`pwd`"
+cd "`dirname \"$PRG\"`/" >/dev/null
+APP_HOME="`pwd -P`"
+cd "$SAVED" >/dev/null
APP_NAME="Gradle"
APP_BASE_NAME=`basename "$0"`
+# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+DEFAULT_JVM_OPTS=""
+
# Use the maximum available, or set MAX_FD != -1 to use that value.
MAX_FD="maximum"
@@ -30,6 +48,7 @@ die ( ) {
cygwin=false
msys=false
darwin=false
+nonstop=false
case "`uname`" in
CYGWIN* )
cygwin=true
@@ -40,26 +59,11 @@ case "`uname`" in
MINGW* )
msys=true
;;
+ NONSTOP* )
+ nonstop=true
+ ;;
esac
-# Attempt to set APP_HOME
-# Resolve links: $0 may be a link
-PRG="$0"
-# Need this for relative symlinks.
-while [ -h "$PRG" ] ; do
- ls=`ls -ld "$PRG"`
- link=`expr "$ls" : '.*-> \(.*\)$'`
- if expr "$link" : '/.*' > /dev/null; then
- PRG="$link"
- else
- PRG=`dirname "$PRG"`"/$link"
- fi
-done
-SAVED="`pwd`"
-cd "`dirname \"$PRG\"`/" >/dev/null
-APP_HOME="`pwd -P`"
-cd "$SAVED" >/dev/null
-
CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
# Determine the Java command to use to start the JVM.
@@ -85,7 +89,7 @@ location of your Java installation."
fi
# Increase the maximum file descriptors if we can.
-if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then
+if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then
MAX_FD_LIMIT=`ulimit -H -n`
if [ $? -eq 0 ] ; then
if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
@@ -157,4 +161,9 @@ function splitJvmOpts() {
eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS
JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME"
+# by default we should be in the correct project dir, but when run from Finder on Mac, the cwd is wrong
+if [[ "$(uname)" == "Darwin" ]] && [[ "$HOME" == "$PWD" ]]; then
+ cd "$(dirname "$0")"
+fi
+
exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@"
diff --git a/gradlew.bat b/gradlew.bat
index 72d362daf..e95643d6a 100644
--- a/gradlew.bat
+++ b/gradlew.bat
@@ -8,14 +8,14 @@
@rem Set local scope for the variables with windows NT shell
if "%OS%"=="Windows_NT" setlocal
-@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
-set DEFAULT_JVM_OPTS=
-
set DIRNAME=%~dp0
if "%DIRNAME%" == "" set DIRNAME=.
set APP_BASE_NAME=%~n0
set APP_HOME=%DIRNAME%
+@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+set DEFAULT_JVM_OPTS=
+
@rem Find java.exe
if defined JAVA_HOME goto findJavaFromJavaHome
@@ -49,7 +49,6 @@ goto fail
@rem Get command-line arguments, handling Windows variants
if not "%OS%" == "Windows_NT" goto win9xME_args
-if "%@eval[2+2]" == "4" goto 4NT_args
:win9xME_args
@rem Slurp the command line arguments.
@@ -60,11 +59,6 @@ set _SKIP=2
if "x%~1" == "x" goto execute
set CMD_LINE_ARGS=%*
-goto execute
-
-:4NT_args
-@rem Get arguments from the 4NT Shell from JP Software
-set CMD_LINE_ARGS=%$
:execute
@rem Setup the command line
diff --git a/src/main/java/com/pubnub/api/PubNub.java b/src/main/java/com/pubnub/api/PubNub.java
index d32049484..58df8090f 100644
--- a/src/main/java/com/pubnub/api/PubNub.java
+++ b/src/main/java/com/pubnub/api/PubNub.java
@@ -54,7 +54,7 @@ public class PubNub {
private static final int TIMESTAMP_DIVIDER = 1000;
private static final int MAX_SEQUENCE = 65535;
- private static final String SDK_VERSION = "4.0.10";
+ private static final String SDK_VERSION = "4.0.11";
public PubNub(final PNConfiguration initialConfig) {
this.configuration = initialConfig;
diff --git a/src/main/java/com/pubnub/api/models/consumer/pubsub/PNMessageResult.java b/src/main/java/com/pubnub/api/models/consumer/pubsub/PNMessageResult.java
index 93682b092..5ad8da017 100644
--- a/src/main/java/com/pubnub/api/models/consumer/pubsub/PNMessageResult.java
+++ b/src/main/java/com/pubnub/api/models/consumer/pubsub/PNMessageResult.java
@@ -16,7 +16,7 @@ public class PNMessageResult {
private String actualChannel;
private String channel;
- private String channelGroup;
+ private String subscription;
private Long timetoken;
private Object userMetadata;
diff --git a/src/main/java/com/pubnub/api/models/consumer/pubsub/PNPresenceEventResult.java b/src/main/java/com/pubnub/api/models/consumer/pubsub/PNPresenceEventResult.java
index 00254975a..608508ea5 100644
--- a/src/main/java/com/pubnub/api/models/consumer/pubsub/PNPresenceEventResult.java
+++ b/src/main/java/com/pubnub/api/models/consumer/pubsub/PNPresenceEventResult.java
@@ -21,7 +21,7 @@ public class PNPresenceEventResult {
private String actualChannel;
private String channel;
- private String channelGroup;
+ private String subscription;
private Long timetoken;
private Object userMetadata;
diff --git a/src/main/java/com/pubnub/api/workers/SubscribeMessageWorker.java b/src/main/java/com/pubnub/api/workers/SubscribeMessageWorker.java
index f04ee0f71..99ae0989a 100644
--- a/src/main/java/com/pubnub/api/workers/SubscribeMessageWorker.java
+++ b/src/main/java/com/pubnub/api/workers/SubscribeMessageWorker.java
@@ -117,21 +117,21 @@ private void processIncomingPayload(final SubscribeMessage message) {
String subscriptionMatch = message.getSubscriptionMatch();
PublishMetaData publishMetaData = message.getPublishMetaData();
- if (channel.equals(subscriptionMatch)) {
+ if (channel != null && channel.equals(subscriptionMatch)) {
subscriptionMatch = null;
}
if (message.getChannel().endsWith("-pnpres")) {
PresenceEnvelope presencePayload = mapper.convertValue(message.getPayload(), PresenceEnvelope.class);
- String associatedChannel = message.getChannel();
- String associatedChannelGroup = message.getSubscriptionMatch();
+ String strippedPresenceChannel = null;
+ String strippedPresenceSubscription = null;
- if (associatedChannel != null) {
- associatedChannel = PubNubUtil.replaceLast(associatedChannel, "-pnpres", "");
+ if (channel != null) {
+ strippedPresenceChannel = PubNubUtil.replaceLast(channel, "-pnpres", "");
}
- if (associatedChannelGroup != null) {
- associatedChannelGroup = PubNubUtil.replaceLast(associatedChannelGroup, "-pnpres", "");
+ if (subscriptionMatch != null) {
+ strippedPresenceSubscription = PubNubUtil.replaceLast(subscriptionMatch, "-pnpres", "");
}
PNPresenceEventResult pnPresenceEventResult = PNPresenceEventResult.builder()
@@ -140,8 +140,8 @@ private void processIncomingPayload(final SubscribeMessage message) {
.actualChannel((subscriptionMatch != null) ? channel : null)
.subscribedChannel(subscriptionMatch != null ? subscriptionMatch : channel)
// deprecated
- .channel(associatedChannel)
- .channelGroup(associatedChannelGroup)
+ .channel(strippedPresenceChannel)
+ .subscription(strippedPresenceSubscription)
.state(presencePayload.getData())
.timetoken(publishMetaData.getPublishTimetoken())
.occupancy(presencePayload.getOccupancy())
@@ -164,7 +164,7 @@ private void processIncomingPayload(final SubscribeMessage message) {
.subscribedChannel(subscriptionMatch != null ? subscriptionMatch : channel)
// deprecated
.channel(channel)
- .channelGroup(subscriptionMatch)
+ .subscription(subscriptionMatch)
.timetoken(publishMetaData.getPublishTimetoken())
.build();
diff --git a/src/test/java/PubNubExceptionTest.java b/src/test/java/PubNubExceptionTest.java
index 9d1705789..98c5ddfd6 100644
--- a/src/test/java/PubNubExceptionTest.java
+++ b/src/test/java/PubNubExceptionTest.java
@@ -1,7 +1,5 @@
-import com.fasterxml.jackson.databind.JsonNode;
import com.github.tomakehurst.wiremock.junit.WireMockRule;
import com.pubnub.api.PubNub;
-import com.pubnub.api.PubNubError;
import com.pubnub.api.PubNubException;
import com.pubnub.api.endpoints.TestHarness;
import com.pubnub.api.endpoints.pubsub.Publish;
@@ -28,6 +26,7 @@ public class PubNubExceptionTest extends TestHarness {
public void beforeEach() throws IOException {
pubnub = this.createPubNubInstance(8080);
instance = pubnub.publish();
+ wireMockRule.start();
}
@Test
@@ -37,31 +36,12 @@ public void testPubnubError() throws PubNubException, InterruptedException {
.willReturn(aResponse().withStatus(404).withBody("[1,\"Sent\",\"14598111595318003\"]")));
int statusCode = -1;
- PubNubError pubnubError = null;
- int pnErrorCode= - 1;
- int pnErroCodeExtended = -1;
- JsonNode pnErrorJNode = null;
- String pnErrorMessage = null;
- String pnErrorString = null;
- String response = null;
- String erroMsg = null;
- JsonNode jNode = null;
-
try {
instance.channel("coolChannel").message(new Object()).sync();
}
catch (PubNubException error) {
statusCode = error.getStatusCode();
- pubnubError = error.getPubnubError();
- pnErrorCode = pubnubError.getErrorCode();
- pnErroCodeExtended = pubnubError.getErrorCodeExtended();
- pnErrorJNode = pubnubError.getErrorObject();
- pnErrorMessage = pubnubError.getMessage();
- pnErrorString = pubnubError.getErrorString();
- response = error.getResponse();
- erroMsg = error.getErrormsg();
- jNode = error.getJso();
}
assertEquals(0, statusCode);
diff --git a/src/test/java/com/pubnub/api/Base64Test.java b/src/test/java/com/pubnub/api/Base64Test.java
index 72d4ee810..e20de871a 100644
--- a/src/test/java/com/pubnub/api/Base64Test.java
+++ b/src/test/java/com/pubnub/api/Base64Test.java
@@ -4,12 +4,14 @@
import org.junit.Assert;
import org.junit.Test;
+import java.nio.charset.Charset;
+
public class Base64Test {
@Test
public void testBase64Encode(){
- Assert.assertEquals("YWJj", Base64.encodeToString("abc".getBytes(), 0).trim());
+ Assert.assertEquals("YWJj", Base64.encodeToString("abc".getBytes(Charset.forName("UTF-8")), 0).trim());
}
}
diff --git a/src/test/java/com/pubnub/api/PubNubTest.java b/src/test/java/com/pubnub/api/PubNubTest.java
index 90797efe5..2d44c4038 100644
--- a/src/test/java/com/pubnub/api/PubNubTest.java
+++ b/src/test/java/com/pubnub/api/PubNubTest.java
@@ -87,11 +87,11 @@ public void testDecryptNull_B() throws PubNubException {
}
@org.junit.Test
- public void GetVersionAndTimeStamp() throws PubNubException {
+ public void getVersionAndTimeStamp() throws PubNubException {
pubnub = new PubNub(pnConfiguration);
String version = pubnub.getVersion();
int timeStamp = pubnub.getTimestamp();
- Assert.assertEquals("4.0.10", version);
+ Assert.assertEquals("4.0.11", version);
Assert.assertTrue(timeStamp > 0);
}
diff --git a/src/test/java/com/pubnub/api/endpoints/EndpointTest.java b/src/test/java/com/pubnub/api/endpoints/EndpointTest.java
index 1c6b37227..334d802ad 100644
--- a/src/test/java/com/pubnub/api/endpoints/EndpointTest.java
+++ b/src/test/java/com/pubnub/api/endpoints/EndpointTest.java
@@ -2,9 +2,7 @@
import com.pubnub.api.PubNub;
import com.pubnub.api.PubNubException;
-import com.pubnub.api.endpoints.channel_groups.RemoveChannelChannelGroup;
import com.pubnub.api.enums.PNOperationType;
-import com.pubnub.api.models.consumer.channel_group.PNChannelGroupsRemoveChannelResult;
import okhttp3.Request;
import org.junit.Assert;
import org.junit.Before;
@@ -14,12 +12,8 @@
import retrofit2.Response;
import java.io.IOException;
-import java.util.Arrays;
import java.util.Map;
-import static com.github.tomakehurst.wiremock.client.WireMock.*;
-import static org.junit.Assert.assertNotNull;
-
public class EndpointTest extends TestHarness {
PubNub pubnub;
@@ -86,7 +80,7 @@ public boolean isCanceled() {
@Override
public Call clone() {
- return null;
+ return this;
}
@Override
diff --git a/src/test/java/com/pubnub/api/endpoints/HeartbeatEndpointTest.java b/src/test/java/com/pubnub/api/endpoints/HeartbeatEndpointTest.java
index 91a27c44e..0d85b9961 100644
--- a/src/test/java/com/pubnub/api/endpoints/HeartbeatEndpointTest.java
+++ b/src/test/java/com/pubnub/api/endpoints/HeartbeatEndpointTest.java
@@ -32,6 +32,7 @@ public void beforeEach() throws IOException {
pubnub = this.createPubNubInstance(8080);
RetrofitManager retrofitManager = new RetrofitManager(pubnub);
partialHeartbeat = new Heartbeat(pubnub, retrofitManager.getTransactionInstance());
+ wireMockRule.start();
}
@org.junit.Test
diff --git a/src/test/java/com/pubnub/api/endpoints/HistoryEndpointTest.java b/src/test/java/com/pubnub/api/endpoints/HistoryEndpointTest.java
index 28ea0c4de..b3068162f 100644
--- a/src/test/java/com/pubnub/api/endpoints/HistoryEndpointTest.java
+++ b/src/test/java/com/pubnub/api/endpoints/HistoryEndpointTest.java
@@ -40,6 +40,7 @@ public class HistoryEndpointTest extends TestHarness {
public void beforeEach() throws IOException {
pubnub = this.createPubNubInstance(8080);
partialHistory = pubnub.history();
+ wireMockRule.start();
}
@@ -124,8 +125,7 @@ public void testSyncAuthSuccess() throws PubNubException, JsonProcessingExceptio
stubFor(get(urlPathEqualTo("/v2/history/sub-key/mySubscribeKey/channel/niceChannel"))
.willReturn(aResponse().withBody(mapper.writeValueAsString(testArray))));
-
- PNHistoryResult response = partialHistory.channel("niceChannel").includeTimetoken(true).sync();
+ partialHistory.channel("niceChannel").includeTimetoken(true).sync();
List requests = findAll(getRequestedFor(urlMatching("/.*")));
assertEquals("authKey", requests.get(0).queryParameter("auth").firstValue());
@@ -254,7 +254,7 @@ public void testMissinChannel() throws IOException, PubNubException {
stubFor(get(urlPathEqualTo("/v2/history/sub-key/mySubscribeKey/channel/niceChannel"))
.willReturn(aResponse().withBody(mapper.writeValueAsString(testArray))));
- PNHistoryResult response = partialHistory.includeTimetoken(true).sync();
+ partialHistory.includeTimetoken(true).sync();
}
@org.junit.Test(expected=PubNubException.class)
@@ -288,7 +288,7 @@ public void testChannelIsEmpty() throws IOException, PubNubException {
stubFor(get(urlPathEqualTo("/v2/history/sub-key/mySubscribeKey/channel/niceChannel"))
.willReturn(aResponse().withBody(mapper.writeValueAsString(testArray))));
- PNHistoryResult response = partialHistory.channel("").includeTimetoken(true).sync();
+ partialHistory.channel("").includeTimetoken(true).sync();
}
@org.junit.Test
@@ -424,7 +424,7 @@ public void testSyncProcessMessageError() throws IOException, PubNubException {
.willReturn(aResponse().withBody(mapper.writeValueAsString(testArray))));
pubnub.getConfiguration().setCipherKey("Test");
- PNHistoryResult response = partialHistory.channel("niceChannel").count(5).reverse(true).start(1L).end(2L).includeTimetoken(true).sync();
+ partialHistory.channel("niceChannel").count(5).reverse(true).start(1L).end(2L).includeTimetoken(true).sync();
}
diff --git a/src/test/java/com/pubnub/api/endpoints/TimeEndpointTest.java b/src/test/java/com/pubnub/api/endpoints/TimeEndpointTest.java
index b4a131143..61c7a4085 100644
--- a/src/test/java/com/pubnub/api/endpoints/TimeEndpointTest.java
+++ b/src/test/java/com/pubnub/api/endpoints/TimeEndpointTest.java
@@ -4,11 +4,10 @@
import com.github.tomakehurst.wiremock.verification.LoggedRequest;
import com.jayway.awaitility.Awaitility;
import com.pubnub.api.PubNub;
-import com.pubnub.api.callbacks.TimeCallback;
import com.pubnub.api.PubNubException;
+import com.pubnub.api.callbacks.TimeCallback;
import com.pubnub.api.models.consumer.PNStatus;
import com.pubnub.api.models.consumer.PNTimeResult;
-import org.junit.Assert;
import org.junit.Before;
import org.junit.Rule;
@@ -32,6 +31,7 @@ public class TimeEndpointTest extends TestHarness {
public void beforeEach() throws IOException {
pubnub = this.createPubNubInstance(8080);
partialTime = pubnub.time();
+ wireMockRule.start();
}
@@ -67,7 +67,7 @@ public void testSyncBrokenWithout200() throws IOException, PubNubException {
stubFor(get(urlPathEqualTo("/time/0"))
.willReturn(aResponse().withBody("[14593046077243110]").withStatus(404)));
PNTimeResult response = partialTime.sync();
- assertEquals(response.getTimetoken(), "14593046077243110");
+ assertTrue(response.getTimetoken().equals(14593046077243110L));
}
@org.junit.Test
diff --git a/src/test/java/com/pubnub/api/endpoints/access/AuditEndpointTest.java b/src/test/java/com/pubnub/api/endpoints/access/AuditEndpointTest.java
index 2b5d8865f..6a1542c7b 100644
--- a/src/test/java/com/pubnub/api/endpoints/access/AuditEndpointTest.java
+++ b/src/test/java/com/pubnub/api/endpoints/access/AuditEndpointTest.java
@@ -38,8 +38,8 @@ public void beforeEach() throws IOException {
pubnub = this.createPubNubInstance(8080);
partialAudit = pubnub.audit();
-
pubnub.getConfiguration().setSecretKey("secretKey");
+ wireMockRule.start();
}
@@ -106,7 +106,7 @@ public void testSuccessChannelMissingKeySync() throws PubNubException {
.withQueryParam("timestamp", matching("1337"))
.willReturn(aResponse().withBody("{\"message\":\"Success\",\"payload\":{\"level\":\"user\",\"subscribe_key\":\"sub-c-82ab2196-b64f-11e5-8622-0619f8945a4f\",\"channel\":\"ch1\",\"auths\":{\"key1\":{\"r\":1,\"m\":1,\"w\":1}}},\"service\":\"Access Manager\",\"status\":200}")));
- PNAccessManagerAuditResult pnAccessManagerAuditResult = partialAudit.channel("ch1").sync();
+ partialAudit.channel("ch1").sync();
}
@org.junit.Test
@@ -149,7 +149,7 @@ public void testIsAuthRequiredSuccessSync() throws IOException, PubNubException,
.willReturn(aResponse().withBody("{\"message\":\"Success\",\"payload\":{\"level\":\"channel-group+auth\",\"subscribe_key\":\"sub-c-82ab2196-b64f-11e5-8622-0619f8945a4f\",\"channel-group\":\"cg2\",\"auths\":{\"key1\":{\"r\":1,\"m\":1,\"w\":1}}},\"service\":\"Access Manager\",\"status\":200}")));
pubnub.getConfiguration().setAuthKey("myKey");
- PNAccessManagerAuditResult pnAccessManagerAuditResult = partialAudit.channelGroup("cg1").authKeys(Arrays.asList("key1")).sync();
+ partialAudit.channelGroup("cg1").authKeys(Arrays.asList("key1")).sync();
List requests = findAll(getRequestedFor(urlMatching("/.*")));
assertEquals(1, requests.size());
@@ -167,7 +167,7 @@ public void testNullPayload() throws IOException, PubNubException, InterruptedEx
.withQueryParam("timestamp", matching("1337"))
.willReturn(aResponse().withBody("{\"message\":\"Success\",\"service\":\"Access Manager\",\"status\":200}")));
- PNAccessManagerAuditResult pnAccessManagerAuditResult = partialAudit.channelGroup("cg1").authKeys(Arrays.asList("key1")).sync();
+ partialAudit.channelGroup("cg1").authKeys(Arrays.asList("key1")).sync();
}
@org.junit.Test(expected=PubNubException.class)
@@ -183,7 +183,7 @@ public void testNullSecretKey() throws IOException, PubNubException, Interrupted
.willReturn(aResponse().withBody("{\"message\":\"Success\",\"service\":\"Access Manager\",\"status\":200}")));
pubnub.getConfiguration().setSecretKey(null);
- PNAccessManagerAuditResult pnAccessManagerAuditResult = partialAudit.channelGroup("cg1").authKeys(Arrays.asList("key1")).sync();
+ partialAudit.channelGroup("cg1").authKeys(Arrays.asList("key1")).sync();
}
@org.junit.Test(expected=PubNubException.class)
@@ -199,7 +199,7 @@ public void testEmptySecretKey() throws IOException, PubNubException, Interrupte
.willReturn(aResponse().withBody("{\"message\":\"Success\",\"service\":\"Access Manager\",\"status\":200}")));
pubnub.getConfiguration().setSecretKey("");
- PNAccessManagerAuditResult pnAccessManagerAuditResult = partialAudit.channelGroup("cg1").authKeys(Arrays.asList("key1")).sync();
+ partialAudit.channelGroup("cg1").authKeys(Arrays.asList("key1")).sync();
}
@org.junit.Test(expected=PubNubException.class)
@@ -215,7 +215,7 @@ public void testNullSubscribeKey() throws IOException, PubNubException, Interrup
.willReturn(aResponse().withBody("{\"message\":\"Success\",\"service\":\"Access Manager\",\"status\":200}")));
pubnub.getConfiguration().setSubscribeKey(null);
- PNAccessManagerAuditResult pnAccessManagerAuditResult = partialAudit.channelGroup("cg1").authKeys(Arrays.asList("key1")).sync();
+ partialAudit.channelGroup("cg1").authKeys(Arrays.asList("key1")).sync();
}
@org.junit.Test(expected=PubNubException.class)
@@ -231,7 +231,7 @@ public void testEmptySubscribeKey() throws IOException, PubNubException, Interru
.willReturn(aResponse().withBody("{\"message\":\"Success\",\"service\":\"Access Manager\",\"status\":200}")));
pubnub.getConfiguration().setSubscribeKey("");
- PNAccessManagerAuditResult pnAccessManagerAuditResult = partialAudit.channelGroup("cg1").authKeys(Arrays.asList("key1")).sync();
+ partialAudit.channelGroup("cg1").authKeys(Arrays.asList("key1")).sync();
}
@org.junit.Test(expected=PubNubException.class)
@@ -247,7 +247,7 @@ public void testNullPublishKey() throws IOException, PubNubException, Interrupte
.willReturn(aResponse().withBody("{\"message\":\"Success\",\"service\":\"Access Manager\",\"status\":200}")));
pubnub.getConfiguration().setPublishKey(null);
- PNAccessManagerAuditResult pnAccessManagerAuditResult = partialAudit.channelGroup("cg1").authKeys(Arrays.asList("key1")).sync();
+ partialAudit.channelGroup("cg1").authKeys(Arrays.asList("key1")).sync();
}
@org.junit.Test(expected=PubNubException.class)
@@ -263,7 +263,7 @@ public void testEmptyPublishKey() throws IOException, PubNubException, Interrupt
.willReturn(aResponse().withBody("{\"message\":\"Success\",\"service\":\"Access Manager\",\"status\":200}")));
pubnub.getConfiguration().setPublishKey("");
- PNAccessManagerAuditResult pnAccessManagerAuditResult = partialAudit.channelGroup("cg1").authKeys(Arrays.asList("key1")).sync();
+ partialAudit.channelGroup("cg1").authKeys(Arrays.asList("key1")).sync();
}
@org.junit.Test(expected=PubNubException.class)
@@ -278,7 +278,7 @@ public void testChannelAndChanneGroupNull() throws IOException, PubNubException,
.withQueryParam("timestamp", matching("1337"))
.willReturn(aResponse().withBody("{\"message\":\"Success\",\"service\":\"Access Manager\",\"status\":200}")));
- PNAccessManagerAuditResult pnAccessManagerAuditResult = partialAudit.authKeys(Arrays.asList("key1")).channel(null).channelGroup(null).sync();
+ partialAudit.authKeys(Arrays.asList("key1")).channel(null).channelGroup(null).sync();
}
}
diff --git a/src/test/java/com/pubnub/api/endpoints/access/GrantEndpointTest.java b/src/test/java/com/pubnub/api/endpoints/access/GrantEndpointTest.java
index 86a9e6933..3499f0d54 100644
--- a/src/test/java/com/pubnub/api/endpoints/access/GrantEndpointTest.java
+++ b/src/test/java/com/pubnub/api/endpoints/access/GrantEndpointTest.java
@@ -6,25 +6,22 @@
import com.pubnub.api.PubNub;
import com.pubnub.api.PubNubException;
import com.pubnub.api.callbacks.PNCallback;
+import com.pubnub.api.endpoints.TestHarness;
import com.pubnub.api.enums.PNOperationType;
import com.pubnub.api.models.consumer.PNStatus;
import com.pubnub.api.models.consumer.access_manager.PNAccessManagerGrantResult;
import com.pubnub.api.models.consumer.access_manager.PNAccessManagerKeyData;
-import com.pubnub.api.endpoints.TestHarness;
-import org.junit.Assert;
import org.junit.Before;
import org.junit.Rule;
import org.junit.Test;
import java.io.IOException;
-import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.atomic.AtomicInteger;
import static com.github.tomakehurst.wiremock.client.WireMock.*;
-import static com.github.tomakehurst.wiremock.client.WireMock.matching;
import static org.junit.Assert.assertEquals;
public class GrantEndpointTest extends TestHarness {
@@ -37,12 +34,10 @@ public class GrantEndpointTest extends TestHarness {
@Before
public void beforeEach() throws IOException {
-
pubnub = this.createPubNubInstance(8080);
partialGrant = pubnub.grant();
-
pubnub.getConfiguration().setSecretKey("secretKey");
-
+ wireMockRule.start();
}
@Test
@@ -628,7 +623,7 @@ public void NoGroupsOneChannelMissingKey() throws PubNubException {
.withQueryParam("m", matching("1"))
.willReturn(aResponse().withBody("{\"message\":\"Success\",\"payload\":{\"level\":\"user\",\"subscribe_key\":\"sub-c-82ab2196-b64f-11e5-8622-0619f8945a4f\",\"ttl\":1,\"channel\":\"ch1\",\"auths\":{\"key1\":{\"r\":0,\"w\":0,\"m\":0}}},\"service\":\"Access Manager\",\"status\":200}")));
- PNAccessManagerGrantResult result = partialGrant.channels(Arrays.asList("ch1")).manage(true).sync();
+ partialGrant.channels(Arrays.asList("ch1")).manage(true).sync();
}
@org.junit.Test
@@ -647,7 +642,7 @@ public void testIsAuthRequiredSuccessSync() throws IOException, PubNubException,
.willReturn(aResponse().withBody("{\"message\":\"Success\",\"payload\":{\"level\":\"user\",\"subscribe_key\":\"sub-c-82ab2196-b64f-11e5-8622-0619f8945a4f\",\"ttl\":1,\"channel\":\"ch1\",\"auths\":{\"key1\":{\"r\":0,\"w\":0,\"m\":0}}},\"service\":\"Access Manager\",\"status\":200}")));
pubnub.getConfiguration().setAuthKey("myKey");
- PNAccessManagerGrantResult result = partialGrant.authKeys(Arrays.asList("key1")).channels(Arrays.asList("ch1")).sync();
+ partialGrant.authKeys(Arrays.asList("key1")).channels(Arrays.asList("ch1")).sync();
List requests = findAll(getRequestedFor(urlMatching("/.*")));
assertEquals(1, requests.size());
@@ -679,8 +674,7 @@ public void onResponse(PNAccessManagerGrantResult result, PNStatus status) {
}
});
- Awaitility.await().atMost(5, TimeUnit.SECONDS)
- .untilAtomic(atomic, org.hamcrest.core.IsEqual.equalTo(1));
+ Awaitility.await().atMost(5, TimeUnit.SECONDS).untilAtomic(atomic, org.hamcrest.core.IsEqual.equalTo(1));
}
@org.junit.Test(expected=PubNubException.class)
@@ -699,7 +693,7 @@ public void testNullSecretKey() throws IOException, PubNubException, Interrupted
.willReturn(aResponse().withBody("{\"message\":\"Success\",\"payload\":{\"level\":\"user\",\"subscribe_key\":\"sub-c-82ab2196-b64f-11e5-8622-0619f8945a4f\",\"ttl\":1,\"channel\":\"ch1\",\"auths\":{\"key1\":{\"r\":0,\"w\":0,\"m\":0}}},\"service\":\"Access Manager\",\"status\":200}")));
pubnub.getConfiguration().setSecretKey(null);
- PNAccessManagerGrantResult result = partialGrant.authKeys(Arrays.asList("key1")).channels(Arrays.asList("ch1")).sync();
+ partialGrant.authKeys(Arrays.asList("key1")).channels(Arrays.asList("ch1")).sync();
}
@org.junit.Test(expected=PubNubException.class)
@@ -718,7 +712,7 @@ public void testEmptySecretKey() throws IOException, PubNubException, Interrupte
.willReturn(aResponse().withBody("{\"message\":\"Success\",\"payload\":{\"level\":\"user\",\"subscribe_key\":\"sub-c-82ab2196-b64f-11e5-8622-0619f8945a4f\",\"ttl\":1,\"channel\":\"ch1\",\"auths\":{\"key1\":{\"r\":0,\"w\":0,\"m\":0}}},\"service\":\"Access Manager\",\"status\":200}")));
pubnub.getConfiguration().setSecretKey("");
- PNAccessManagerGrantResult result = partialGrant.authKeys(Arrays.asList("key1")).channels(Arrays.asList("ch1")).sync();
+ partialGrant.authKeys(Arrays.asList("key1")).channels(Arrays.asList("ch1")).sync();
}
@org.junit.Test(expected=PubNubException.class)
@@ -737,7 +731,7 @@ public void testNullSubscribeKey() throws IOException, PubNubException, Interrup
.willReturn(aResponse().withBody("{\"message\":\"Success\",\"payload\":{\"level\":\"user\",\"subscribe_key\":\"sub-c-82ab2196-b64f-11e5-8622-0619f8945a4f\",\"ttl\":1,\"channel\":\"ch1\",\"auths\":{\"key1\":{\"r\":0,\"w\":0,\"m\":0}}},\"service\":\"Access Manager\",\"status\":200}")));
pubnub.getConfiguration().setSubscribeKey(null);
- PNAccessManagerGrantResult result = partialGrant.authKeys(Arrays.asList("key1")).channels(Arrays.asList("ch1")).sync();
+ partialGrant.authKeys(Arrays.asList("key1")).channels(Arrays.asList("ch1")).sync();
}
@org.junit.Test(expected=PubNubException.class)
@@ -756,7 +750,7 @@ public void testEmptySubscribeKey() throws IOException, PubNubException, Interru
.willReturn(aResponse().withBody("{\"message\":\"Success\",\"payload\":{\"level\":\"user\",\"subscribe_key\":\"sub-c-82ab2196-b64f-11e5-8622-0619f8945a4f\",\"ttl\":1,\"channel\":\"ch1\",\"auths\":{\"key1\":{\"r\":0,\"w\":0,\"m\":0}}},\"service\":\"Access Manager\",\"status\":200}")));
pubnub.getConfiguration().setSubscribeKey("");
- PNAccessManagerGrantResult result = partialGrant.authKeys(Arrays.asList("key1")).channels(Arrays.asList("ch1")).sync();
+ partialGrant.authKeys(Arrays.asList("key1")).channels(Arrays.asList("ch1")).sync();
}
@org.junit.Test(expected=PubNubException.class)
@@ -775,7 +769,7 @@ public void testNullPublishKey() throws IOException, PubNubException, Interrupte
.willReturn(aResponse().withBody("{\"message\":\"Success\",\"payload\":{\"level\":\"user\",\"subscribe_key\":\"sub-c-82ab2196-b64f-11e5-8622-0619f8945a4f\",\"ttl\":1,\"channel\":\"ch1\",\"auths\":{\"key1\":{\"r\":0,\"w\":0,\"m\":0}}},\"service\":\"Access Manager\",\"status\":200}")));
pubnub.getConfiguration().setPublishKey(null);
- PNAccessManagerGrantResult result = partialGrant.authKeys(Arrays.asList("key1")).channels(Arrays.asList("ch1")).sync();
+ partialGrant.authKeys(Arrays.asList("key1")).channels(Arrays.asList("ch1")).sync();
}
@org.junit.Test(expected=PubNubException.class)
@@ -794,7 +788,7 @@ public void testEmptyPublishKey() throws IOException, PubNubException, Interrupt
.willReturn(aResponse().withBody("{\"message\":\"Success\",\"payload\":{\"level\":\"user\",\"subscribe_key\":\"sub-c-82ab2196-b64f-11e5-8622-0619f8945a4f\",\"ttl\":1,\"channel\":\"ch1\",\"auths\":{\"key1\":{\"r\":0,\"w\":0,\"m\":0}}},\"service\":\"Access Manager\",\"status\":200}")));
pubnub.getConfiguration().setPublishKey("");
- PNAccessManagerGrantResult result = partialGrant.authKeys(Arrays.asList("key1")).channels(Arrays.asList("ch1")).sync();
+ partialGrant.authKeys(Arrays.asList("key1")).channels(Arrays.asList("ch1")).sync();
}
@org.junit.Test(expected=PubNubException.class)
@@ -812,7 +806,7 @@ public void testMissingChannelsAndChannelGroup() throws IOException, PubNubExcep
.withQueryParam("m", matching("0"))
.willReturn(aResponse().withBody("{\"message\":\"Success\",\"payload\":{\"level\":\"user\",\"subscribe_key\":\"sub-c-82ab2196-b64f-11e5-8622-0619f8945a4f\",\"ttl\":1,\"channel\":\"ch1\",\"auths\":{\"key1\":{\"r\":0,\"w\":0,\"m\":0}}},\"service\":\"Access Manager\",\"status\":200}")));
- PNAccessManagerGrantResult result = partialGrant.authKeys(Arrays.asList("key1")).sync();
+ partialGrant.authKeys(Arrays.asList("key1")).sync();
}
@org.junit.Test(expected=PubNubException.class)
@@ -830,7 +824,7 @@ public void testNullPayload() throws IOException, PubNubException, InterruptedEx
.withQueryParam("m", matching("0"))
.willReturn(aResponse().withBody("{\"message\":\"Success\",\"service\":\"Access Manager\",\"status\":200}")));
- PNAccessManagerGrantResult result = partialGrant.authKeys(Arrays.asList("key1")).channels(Arrays.asList("ch1")).sync();
+ partialGrant.authKeys(Arrays.asList("key1")).channels(Arrays.asList("ch1")).sync();
}
}
diff --git a/src/test/java/com/pubnub/api/endpoints/channel_groups/AddChannelChannelGroupEndpointTest.java b/src/test/java/com/pubnub/api/endpoints/channel_groups/AddChannelChannelGroupEndpointTest.java
index 18ac15489..33b7d71ff 100644
--- a/src/test/java/com/pubnub/api/endpoints/channel_groups/AddChannelChannelGroupEndpointTest.java
+++ b/src/test/java/com/pubnub/api/endpoints/channel_groups/AddChannelChannelGroupEndpointTest.java
@@ -20,7 +20,6 @@
import java.util.concurrent.atomic.AtomicInteger;
import static com.github.tomakehurst.wiremock.client.WireMock.*;
-import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
@@ -35,6 +34,7 @@ public class AddChannelChannelGroupEndpointTest extends TestHarness {
public void beforeEach() throws IOException {
pubnub = this.createPubNubInstance(8080);
partialAddChannelChannelGroup = pubnub.addChannelsToChannelGroup();
+ wireMockRule.start();
}
@org.junit.Test
@@ -52,7 +52,7 @@ public void testSyncGroupMissing() throws IOException, PubNubException, Interrup
stubFor(get(urlPathEqualTo("/v1/channel-registration/sub-key/mySubscribeKey/channel-group/groupA"))
.willReturn(aResponse().withBody("{\"status\": 200, \"message\": \"OK\", \"payload\": {} , \"service\": \"ChannelGroups\"}")));
- PNChannelGroupsAddChannelResult response = partialAddChannelChannelGroup.channels(Arrays.asList("ch1", "ch2")).sync();
+ partialAddChannelChannelGroup.channels(Arrays.asList("ch1", "ch2")).sync();
}
@org.junit.Test(expected = PubNubException.class)
@@ -60,7 +60,7 @@ public void testSyncGroupIsEmpty() throws IOException, PubNubException, Interrup
stubFor(get(urlPathEqualTo("/v1/channel-registration/sub-key/mySubscribeKey/channel-group/groupA"))
.willReturn(aResponse().withBody("{\"status\": 200, \"message\": \"OK\", \"payload\": {} , \"service\": \"ChannelGroups\"}")));
- PNChannelGroupsAddChannelResult response = partialAddChannelChannelGroup.channelGroup("").channels(Arrays.asList("ch1", "ch2")).sync();
+ partialAddChannelChannelGroup.channelGroup("").channels(Arrays.asList("ch1", "ch2")).sync();
}
@org.junit.Test(expected = PubNubException.class)
@@ -68,7 +68,7 @@ public void testSyncChannelMissing() throws IOException, PubNubException, Interr
stubFor(get(urlPathEqualTo("/v1/channel-registration/sub-key/mySubscribeKey/channel-group/groupA"))
.willReturn(aResponse().withBody("{\"status\": 200, \"message\": \"OK\", \"payload\": {} , \"service\": \"ChannelGroups\"}")));
- PNChannelGroupsAddChannelResult response = partialAddChannelChannelGroup.channelGroup("groupA").sync();
+ partialAddChannelChannelGroup.channelGroup("groupA").sync();
}
@org.junit.Test
@@ -77,7 +77,7 @@ public void testIsAuthRequiredSuccessSync() throws IOException, PubNubException,
.willReturn(aResponse().withBody("{\"status\": 200, \"message\": \"OK\", \"payload\": {} , \"service\": \"ChannelGroups\"}")));
pubnub.getConfiguration().setAuthKey("myKey");
- PNChannelGroupsAddChannelResult response = partialAddChannelChannelGroup.channelGroup("groupA").channels(Arrays.asList("ch1", "ch2")).sync();
+ partialAddChannelChannelGroup.channelGroup("groupA").channels(Arrays.asList("ch1", "ch2")).sync();
List requests = findAll(getRequestedFor(urlMatching("/.*")));
assertEquals(1, requests.size());
@@ -100,8 +100,7 @@ public void onResponse(PNChannelGroupsAddChannelResult result, PNStatus status)
}
});
- Awaitility.await().atMost(5, TimeUnit.SECONDS)
- .untilAtomic(atomic, org.hamcrest.core.IsEqual.equalTo(1));
+ Awaitility.await().atMost(5, TimeUnit.SECONDS).untilAtomic(atomic, org.hamcrest.core.IsEqual.equalTo(1));
}
@org.junit.Test
@@ -120,8 +119,7 @@ public void onResponse(PNChannelGroupsAddChannelResult result, PNStatus status)
}
});
- Awaitility.await().atMost(15, TimeUnit.SECONDS)
- .untilAtomic(atomic, org.hamcrest.core.IsEqual.equalTo(1));
+ Awaitility.await().atMost(15, TimeUnit.SECONDS).untilAtomic(atomic, org.hamcrest.core.IsEqual.equalTo(1));
}
}
diff --git a/src/test/java/com/pubnub/api/endpoints/channel_groups/AllChannelsChannelGroupEndpointTest.java b/src/test/java/com/pubnub/api/endpoints/channel_groups/AllChannelsChannelGroupEndpointTest.java
index 6bbc04d60..c1540b1a0 100644
--- a/src/test/java/com/pubnub/api/endpoints/channel_groups/AllChannelsChannelGroupEndpointTest.java
+++ b/src/test/java/com/pubnub/api/endpoints/channel_groups/AllChannelsChannelGroupEndpointTest.java
@@ -6,11 +6,10 @@
import com.pubnub.api.PubNub;
import com.pubnub.api.PubNubException;
import com.pubnub.api.callbacks.PNCallback;
+import com.pubnub.api.endpoints.TestHarness;
import com.pubnub.api.enums.PNOperationType;
import com.pubnub.api.models.consumer.PNStatus;
import com.pubnub.api.models.consumer.channel_group.PNChannelGroupsAllChannelsResult;
-import com.pubnub.api.endpoints.TestHarness;
-import com.pubnub.api.models.consumer.channel_group.PNChannelGroupsListAllResult;
import org.junit.Before;
import org.junit.Rule;
@@ -22,7 +21,6 @@
import static com.github.tomakehurst.wiremock.client.WireMock.*;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertThat;
-import static org.junit.Assert.assertTrue;
public class AllChannelsChannelGroupEndpointTest extends TestHarness {
private AllChannelsChannelGroup partialAllChannelsChannelGroup;
@@ -35,6 +33,7 @@ public class AllChannelsChannelGroupEndpointTest extends TestHarness {
public void beforeEach() throws IOException {
pubnub = this.createPubNubInstance(8080);
partialAllChannelsChannelGroup = pubnub.listChannelsForChannelGroup();
+ wireMockRule.start();
}
@org.junit.Test
@@ -51,7 +50,7 @@ public void testSyncMissingGroup() throws IOException, PubNubException, Interrup
stubFor(get(urlPathEqualTo("/v1/channel-registration/sub-key/mySubscribeKey/channel-group/groupA"))
.willReturn(aResponse().withBody("{\"status\": 200, \"message\": \"OK\", \"payload\": {\"channels\": [\"a\",\"b\"]}, \"service\": \"ChannelGroups\"}")));
- PNChannelGroupsAllChannelsResult response = partialAllChannelsChannelGroup.sync();
+ partialAllChannelsChannelGroup.sync();
}
@org.junit.Test(expected=PubNubException.class)
@@ -59,7 +58,7 @@ public void testSyncEmptyGroup() throws IOException, PubNubException, Interrupte
stubFor(get(urlPathEqualTo("/v1/channel-registration/sub-key/mySubscribeKey/channel-group/groupA"))
.willReturn(aResponse().withBody("{\"status\": 200, \"message\": \"OK\", \"payload\": {\"channels\": [\"a\",\"b\"]}, \"service\": \"ChannelGroups\"}")));
- PNChannelGroupsAllChannelsResult response = partialAllChannelsChannelGroup.channelGroup("").sync();
+ partialAllChannelsChannelGroup.channelGroup("").sync();
}
@org.junit.Test(expected = PubNubException.class)
@@ -77,7 +76,7 @@ public void testIsAuthRequiredSuccessSync() throws IOException, PubNubException,
.willReturn(aResponse().withBody("{\"status\": 200, \"message\": \"OK\", \"payload\": {\"channels\": [\"a\",\"b\"]}, \"service\": \"ChannelGroups\"}")));
pubnub.getConfiguration().setAuthKey("myKey");
- PNChannelGroupsAllChannelsResult response = partialAllChannelsChannelGroup.channelGroup("groupA").sync();
+ partialAllChannelsChannelGroup.channelGroup("groupA").sync();
List requests = findAll(getRequestedFor(urlMatching("/.*")));
assertEquals(1, requests.size());
@@ -100,8 +99,7 @@ public void onResponse(PNChannelGroupsAllChannelsResult result, PNStatus status)
}
});
- Awaitility.await().atMost(5, TimeUnit.SECONDS)
- .untilAtomic(atomic, org.hamcrest.core.IsEqual.equalTo(1));
+ Awaitility.await().atMost(5, TimeUnit.SECONDS).untilAtomic(atomic, org.hamcrest.core.IsEqual.equalTo(1));
}
diff --git a/src/test/java/com/pubnub/api/endpoints/channel_groups/DeleteChannelGroupEndpointTest.java b/src/test/java/com/pubnub/api/endpoints/channel_groups/DeleteChannelGroupEndpointTest.java
index f4e5684e3..96015f3e2 100644
--- a/src/test/java/com/pubnub/api/endpoints/channel_groups/DeleteChannelGroupEndpointTest.java
+++ b/src/test/java/com/pubnub/api/endpoints/channel_groups/DeleteChannelGroupEndpointTest.java
@@ -10,7 +10,6 @@
import com.pubnub.api.enums.PNOperationType;
import com.pubnub.api.models.consumer.PNStatus;
import com.pubnub.api.models.consumer.channel_group.PNChannelGroupsDeleteGroupResult;
-import com.pubnub.api.models.consumer.channel_group.PNChannelGroupsListAllResult;
import org.junit.Before;
import org.junit.Rule;
@@ -22,7 +21,6 @@
import static com.github.tomakehurst.wiremock.client.WireMock.*;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
-import static org.junit.Assert.assertTrue;
public class DeleteChannelGroupEndpointTest extends TestHarness {
private DeleteChannelGroup partialDeleteChannelGroup;
@@ -35,6 +33,7 @@ public class DeleteChannelGroupEndpointTest extends TestHarness {
public void beforeEach() throws IOException {
pubnub = this.createPubNubInstance(8080);
partialDeleteChannelGroup = pubnub.deleteChannelGroup();
+ wireMockRule.start();
}
@org.junit.Test
@@ -51,7 +50,7 @@ public void testSyncMissingGroup() throws IOException, PubNubException, Interrup
stubFor(get(urlPathEqualTo("/v1/channel-registration/sub-key/mySubscribeKey/channel-group/groupA/remove"))
.willReturn(aResponse().withBody("{\"status\": 200, \"message\": \"OK\", \"payload\": {}, \"service\": \"ChannelGroups\"}")));
- PNChannelGroupsDeleteGroupResult response = partialDeleteChannelGroup.sync();
+ partialDeleteChannelGroup.sync();
}
@org.junit.Test(expected = PubNubException.class)
@@ -59,7 +58,7 @@ public void testSyncEmptyGroup() throws IOException, PubNubException, Interrupte
stubFor(get(urlPathEqualTo("/v1/channel-registration/sub-key/mySubscribeKey/channel-group/groupA/remove"))
.willReturn(aResponse().withBody("{\"status\": 200, \"message\": \"OK\", \"payload\": {}, \"service\": \"ChannelGroups\"}")));
- PNChannelGroupsDeleteGroupResult response = partialDeleteChannelGroup.channelGroup("").sync();
+ partialDeleteChannelGroup.channelGroup("").sync();
}
@org.junit.Test
@@ -68,7 +67,7 @@ public void testIsAuthRequiredSuccessSync() throws IOException, PubNubException,
.willReturn(aResponse().withBody("{\"status\": 200, \"message\": \"OK\", \"payload\": {}, \"service\": \"ChannelGroups\"}")));
pubnub.getConfiguration().setAuthKey("myKey");
- PNChannelGroupsDeleteGroupResult response = partialDeleteChannelGroup.channelGroup("groupA").sync();
+ partialDeleteChannelGroup.channelGroup("groupA").sync();
List requests = findAll(getRequestedFor(urlMatching("/.*")));
assertEquals(1, requests.size());
@@ -91,8 +90,7 @@ public void onResponse(PNChannelGroupsDeleteGroupResult result, PNStatus status)
}
});
- Awaitility.await().atMost(5, TimeUnit.SECONDS)
- .untilAtomic(atomic, org.hamcrest.core.IsEqual.equalTo(1));
+ Awaitility.await().atMost(5, TimeUnit.SECONDS).untilAtomic(atomic, org.hamcrest.core.IsEqual.equalTo(1));
}
}
diff --git a/src/test/java/com/pubnub/api/endpoints/channel_groups/ListAllChannelGroupEndpointTest.java b/src/test/java/com/pubnub/api/endpoints/channel_groups/ListAllChannelGroupEndpointTest.java
index 3b791006e..82e1a4112 100644
--- a/src/test/java/com/pubnub/api/endpoints/channel_groups/ListAllChannelGroupEndpointTest.java
+++ b/src/test/java/com/pubnub/api/endpoints/channel_groups/ListAllChannelGroupEndpointTest.java
@@ -6,10 +6,10 @@
import com.pubnub.api.PubNub;
import com.pubnub.api.PubNubException;
import com.pubnub.api.callbacks.PNCallback;
+import com.pubnub.api.endpoints.TestHarness;
import com.pubnub.api.enums.PNOperationType;
import com.pubnub.api.models.consumer.PNStatus;
import com.pubnub.api.models.consumer.channel_group.PNChannelGroupsListAllResult;
-import com.pubnub.api.endpoints.TestHarness;
import org.junit.Before;
import org.junit.Rule;
@@ -21,7 +21,6 @@
import static com.github.tomakehurst.wiremock.client.WireMock.*;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertThat;
-import static org.junit.Assert.assertTrue;
public class ListAllChannelGroupEndpointTest extends TestHarness {
private ListAllChannelGroup partialChannelGroup;
@@ -35,6 +34,7 @@ public class ListAllChannelGroupEndpointTest extends TestHarness {
public void beforeEach() throws IOException {
pubnub = this.createPubNubInstance(8080);
partialChannelGroup = pubnub.listAllChannelGroups();
+ wireMockRule.start();
}
@org.junit.Test
@@ -70,7 +70,7 @@ public void testIsAuthRequiredSuccessSync() throws IOException, PubNubException,
.willReturn(aResponse().withBody("{\"status\": 200, \"message\": \"OK\", \"payload\": {\"groups\": [\"a\",\"b\"]}, \"service\": \"ChannelGroups\"}")));
pubnub.getConfiguration().setAuthKey("myKey");
- PNChannelGroupsListAllResult response = partialChannelGroup.sync();
+ partialChannelGroup.sync();
List requests = findAll(getRequestedFor(urlMatching("/.*")));
assertEquals(1, requests.size());
diff --git a/src/test/java/com/pubnub/api/endpoints/channel_groups/RemoveChannelChannelGroupEndpointTest.java b/src/test/java/com/pubnub/api/endpoints/channel_groups/RemoveChannelChannelGroupEndpointTest.java
index d9b894437..abaad4266 100644
--- a/src/test/java/com/pubnub/api/endpoints/channel_groups/RemoveChannelChannelGroupEndpointTest.java
+++ b/src/test/java/com/pubnub/api/endpoints/channel_groups/RemoveChannelChannelGroupEndpointTest.java
@@ -34,6 +34,7 @@ public class RemoveChannelChannelGroupEndpointTest extends TestHarness {
public void beforeEach() throws IOException {
pubnub = this.createPubNubInstance(8080);
partialRemoveChannelChannelGroup = pubnub.removeChannelsFromChannelGroup();
+ wireMockRule.start();
}
@org.junit.Test
@@ -50,7 +51,7 @@ public void testSyncMissinGroup() throws IOException, PubNubException, Interrupt
stubFor(get(urlPathEqualTo("/v1/channel-registration/sub-key/mySubscribeKey/channel-group/groupA"))
.willReturn(aResponse().withBody("{\"status\": 200, \"message\": \"OK\", \"payload\": {}, \"service\": \"ChannelGroups\"}")));
- PNChannelGroupsRemoveChannelResult response = partialRemoveChannelChannelGroup.channels(Arrays.asList("ch1", "ch2")).sync();
+ partialRemoveChannelChannelGroup.channels(Arrays.asList("ch1", "ch2")).sync();
}
@org.junit.Test(expected = PubNubException.class)
@@ -58,7 +59,7 @@ public void testSyncMissinChannel() throws IOException, PubNubException, Interru
stubFor(get(urlPathEqualTo("/v1/channel-registration/sub-key/mySubscribeKey/channel-group/groupA"))
.willReturn(aResponse().withBody("{\"status\": 200, \"message\": \"OK\", \"payload\": {}, \"service\": \"ChannelGroups\"}")));
- PNChannelGroupsRemoveChannelResult response = partialRemoveChannelChannelGroup.channelGroup("groupA").sync();
+ partialRemoveChannelChannelGroup.channelGroup("groupA").sync();
}
@org.junit.Test
@@ -67,7 +68,7 @@ public void testIsAuthRequiredSuccessSync() throws IOException, PubNubException,
.willReturn(aResponse().withBody("{\"status\": 200, \"message\": \"OK\", \"payload\": {}, \"service\": \"ChannelGroups\"}")));
pubnub.getConfiguration().setAuthKey("myKey");
- PNChannelGroupsRemoveChannelResult response = partialRemoveChannelChannelGroup.channelGroup("groupA").channels(Arrays.asList("ch1", "ch2")).sync();
+ partialRemoveChannelChannelGroup.channelGroup("groupA").channels(Arrays.asList("ch1", "ch2")).sync();
List requests = findAll(getRequestedFor(urlMatching("/.*")));
assertEquals(1, requests.size());
@@ -90,7 +91,6 @@ public void onResponse(PNChannelGroupsRemoveChannelResult result, PNStatus statu
}
});
- Awaitility.await().atMost(5, TimeUnit.SECONDS)
- .untilAtomic(atomic, org.hamcrest.core.IsEqual.equalTo(1));
+ Awaitility.await().atMost(5, TimeUnit.SECONDS).untilAtomic(atomic, org.hamcrest.core.IsEqual.equalTo(1));
}
}
diff --git a/src/test/java/com/pubnub/api/endpoints/presence/GetStateEndpointTest.java b/src/test/java/com/pubnub/api/endpoints/presence/GetStateEndpointTest.java
index 6e6cf03c0..2ca7a49ed 100644
--- a/src/test/java/com/pubnub/api/endpoints/presence/GetStateEndpointTest.java
+++ b/src/test/java/com/pubnub/api/endpoints/presence/GetStateEndpointTest.java
@@ -38,6 +38,7 @@ public class GetStateEndpointTest extends TestHarness {
public void beforeEach() throws IOException {
pubnub = this.createPubNubInstance(8080);
partialGetState = pubnub.getPresenceState();
+ wireMockRule.start();
}
@Test
@@ -154,7 +155,7 @@ public void testMissingChannelAndGroupSync() throws PubNubException, Interrupted
stubFor(get(urlPathEqualTo("/v2/presence/sub-key/mySubscribeKey/channel/testChannel/uuid/sampleUUID"))
.willReturn(aResponse().withBody("{ \"status\": 200, \"message\": \"OK\", \"payload\": { \"age\" : 20, \"status\" : \"online\"}, \"service\": \"Presence\"}")));
- PNGetStateResult result = partialGetState.uuid("sampleUUID").sync();
+ partialGetState.uuid("sampleUUID").sync();
}
@org.junit.Test
@@ -164,7 +165,7 @@ public void testIsAuthRequiredSuccessSync() throws IOException, PubNubException,
.willReturn(aResponse().withBody("{ \"status\": 200, \"message\": \"OK\", \"payload\": { \"age\" : 20, \"status\" : \"online\"}, \"service\": \"Presence\"}")));
pubnub.getConfiguration().setAuthKey("myKey");
- PNGetStateResult result = partialGetState.channels(Arrays.asList("testChannel")).uuid("sampleUUID").sync();
+ partialGetState.channels(Arrays.asList("testChannel")).uuid("sampleUUID").sync();
List requests = findAll(getRequestedFor(urlMatching("/.*")));
assertEquals(1, requests.size());
@@ -188,8 +189,7 @@ public void onResponse(PNGetStateResult result, PNStatus status) {
}
});
- Awaitility.await().atMost(5, TimeUnit.SECONDS)
- .untilAtomic(atomic, org.hamcrest.core.IsEqual.equalTo(1));
+ Awaitility.await().atMost(5, TimeUnit.SECONDS).untilAtomic(atomic, org.hamcrest.core.IsEqual.equalTo(1));
}
@org.junit.Test(expected=PubNubException.class)
@@ -199,7 +199,7 @@ public void testNullSubKeySync() throws PubNubException, InterruptedException {
.willReturn(aResponse().withBody("{ \"status\": 200, \"message\": \"OK\", \"payload\": { \"age\" : 20, \"status\" : \"online\"}, \"service\": \"Presence\"}")));
pubnub.getConfiguration().setSubscribeKey(null);
- PNGetStateResult result = partialGetState.channels(Arrays.asList("testChannel")).uuid("sampleUUID").sync();
+ partialGetState.channels(Arrays.asList("testChannel")).uuid("sampleUUID").sync();
}
@org.junit.Test(expected=PubNubException.class)
@@ -209,6 +209,6 @@ public void testEmptySubKeySync() throws PubNubException, InterruptedException {
.willReturn(aResponse().withBody("{ \"status\": 200, \"message\": \"OK\", \"payload\": { \"age\" : 20, \"status\" : \"online\"}, \"service\": \"Presence\"}")));
pubnub.getConfiguration().setSubscribeKey("");
- PNGetStateResult result = partialGetState.channels(Arrays.asList("testChannel")).uuid("sampleUUID").sync();
+ partialGetState.channels(Arrays.asList("testChannel")).uuid("sampleUUID").sync();
}
}
diff --git a/src/test/java/com/pubnub/api/endpoints/presence/HereNowEndpointTest.java b/src/test/java/com/pubnub/api/endpoints/presence/HereNowEndpointTest.java
index 5373a116b..e70cf2d0e 100644
--- a/src/test/java/com/pubnub/api/endpoints/presence/HereNowEndpointTest.java
+++ b/src/test/java/com/pubnub/api/endpoints/presence/HereNowEndpointTest.java
@@ -36,6 +36,7 @@ public class HereNowEndpointTest extends TestHarness {
public void beforeEach() throws IOException {
pubnub = this.createPubNubInstance(8080);
partialHereNow = pubnub.hereNow();
+ wireMockRule.start();
}
@Test
@@ -212,7 +213,7 @@ public void testIsAuthRequiredSuccessSync() throws IOException, PubNubException,
.willReturn(aResponse().withBody("{\"status\":200,\"message\":\"OK\",\"payload\":{\"total_occupancy\":3,\"total_channels\":2,\"channels\":{\"ch1\":{\"occupancy\":1,\"uuids\":[{\"uuid\":\"user1\",\"state\":{\"age\":10}}]},\"ch2\":{\"occupancy\":2,\"uuids\":[{\"uuid\":\"user1\",\"state\":{\"age\":10}},{\"uuid\":\"user3\",\"state\":{\"age\":30}}]}}},\"service\":\"Presence\"}")));
pubnub.getConfiguration().setAuthKey("myKey");
- PNHereNowResult response = partialHereNow.channels(Arrays.asList("ch1", "ch2")).includeState(true).sync();
+ partialHereNow.channels(Arrays.asList("ch1", "ch2")).includeState(true).sync();
List requests = findAll(getRequestedFor(urlMatching("/.*")));
assertEquals(1, requests.size());
@@ -236,8 +237,7 @@ public void onResponse(PNHereNowResult result, PNStatus status) {
}
});
- Awaitility.await().atMost(5, TimeUnit.SECONDS)
- .untilAtomic(atomic, org.hamcrest.core.IsEqual.equalTo(1));
+ Awaitility.await().atMost(5, TimeUnit.SECONDS).untilAtomic(atomic, org.hamcrest.core.IsEqual.equalTo(1));
}
@org.junit.Test(expected=PubNubException.class)
@@ -247,7 +247,7 @@ public void testNullSubKeySync() throws PubNubException, InterruptedException {
.willReturn(aResponse().withBody("{\"status\":200,\"message\":\"OK\",\"payload\":{\"total_occupancy\":3,\"total_channels\":2,\"channels\":{\"ch1\":{\"occupancy\":1,\"uuids\":[{\"uuid\":\"user1\",\"state\":{\"age\":10}}]},\"ch2\":{\"occupancy\":2,\"uuids\":[{\"uuid\":\"user1\",\"state\":{\"age\":10}},{\"uuid\":\"user3\",\"state\":{\"age\":30}}]}}},\"service\":\"Presence\"}")));
pubnub.getConfiguration().setSubscribeKey(null);
- PNHereNowResult response = partialHereNow.channels(Arrays.asList("ch1", "ch2")).includeState(true).sync();
+ partialHereNow.channels(Arrays.asList("ch1", "ch2")).includeState(true).sync();
}
@org.junit.Test(expected=PubNubException.class)
@@ -257,7 +257,7 @@ public void testEmptySubKeySync() throws PubNubException, InterruptedException {
.willReturn(aResponse().withBody("{\"status\":200,\"message\":\"OK\",\"payload\":{\"total_occupancy\":3,\"total_channels\":2,\"channels\":{\"ch1\":{\"occupancy\":1,\"uuids\":[{\"uuid\":\"user1\",\"state\":{\"age\":10}}]},\"ch2\":{\"occupancy\":2,\"uuids\":[{\"uuid\":\"user1\",\"state\":{\"age\":10}},{\"uuid\":\"user3\",\"state\":{\"age\":30}}]}}},\"service\":\"Presence\"}")));
pubnub.getConfiguration().setSubscribeKey("");
- PNHereNowResult response = partialHereNow.channels(Arrays.asList("ch1", "ch2")).includeState(true).sync();
+ partialHereNow.channels(Arrays.asList("ch1", "ch2")).includeState(true).sync();
}
}
diff --git a/src/test/java/com/pubnub/api/endpoints/presence/LeaveTest.java b/src/test/java/com/pubnub/api/endpoints/presence/LeaveTest.java
index 8a937836e..7da152b48 100644
--- a/src/test/java/com/pubnub/api/endpoints/presence/LeaveTest.java
+++ b/src/test/java/com/pubnub/api/endpoints/presence/LeaveTest.java
@@ -36,6 +36,7 @@ public void beforeEach() throws IOException {
pubnub = this.createPubNubInstance(8080);
RetrofitManager retrofitManager = new RetrofitManager(pubnub);
instance = new Leave(pubnub, retrofitManager.getTransactionInstance());
+ wireMockRule.start();
}
@Test
diff --git a/src/test/java/com/pubnub/api/endpoints/presence/SetStateEndpointTest.java b/src/test/java/com/pubnub/api/endpoints/presence/SetStateEndpointTest.java
index 6344aeb8a..71e9fa30c 100644
--- a/src/test/java/com/pubnub/api/endpoints/presence/SetStateEndpointTest.java
+++ b/src/test/java/com/pubnub/api/endpoints/presence/SetStateEndpointTest.java
@@ -31,8 +31,8 @@ public class SetStateEndpointTest extends TestHarness {
@Before
public void beforeEach() throws IOException {
pubnub = this.createPubNubInstance(8080);
-
partialSetState = pubnub.setPresenceState();
+ wireMockRule.start();
}
@Test
@@ -176,32 +176,29 @@ public void applyNon200Sync() throws PubNubException, InterruptedException {
Map myState = new HashMap<>();
myState.put("age", 20);
- PNSetStateResult result = partialSetState.channels(Arrays.asList("ch1")).channelGroups(Arrays.asList("cg1", "cg2")).state(myState).sync();
-
+ partialSetState.channels(Arrays.asList("ch1")).channelGroups(Arrays.asList("cg1", "cg2")).state(myState).sync();
}
@org.junit.Test(expected = PubNubException.class)
- public void MissingStateSync() throws PubNubException, InterruptedException {
+ public void missingStateSync() throws PubNubException, InterruptedException {
stubFor(get(urlPathEqualTo("/v2/presence/sub-key/mySubscribeKey/channel/testChannel/uuid/myUUID/data"))
.withQueryParam("uuid", matching("myUUID"))
.withQueryParam("pnsdk", matching("PubNub-Java-Unified/suchJava"))
.willReturn(aResponse().withBody("{ \"status\": 200, \"message\": \"OK\", \"payload\": { \"age\" : 20, \"status\" : \"online\" }, \"service\": \"Presence\"}")));
- PNSetStateResult result = partialSetState.channels(Arrays.asList("testChannel")).sync();
-
+ partialSetState.channels(Arrays.asList("testChannel")).sync();
}
@org.junit.Test(expected = PubNubException.class)
- public void InvalidStateSync() throws PubNubException, InterruptedException {
+ public void invalidStateSync() throws PubNubException, InterruptedException {
stubFor(get(urlPathEqualTo("/v2/presence/sub-key/mySubscribeKey/channel/testChannel/uuid/myUUID/data"))
.withQueryParam("uuid", matching("myUUID"))
.withQueryParam("pnsdk", matching("PubNub-Java-Unified/suchJava"))
.willReturn(aResponse().withBody("{ \"status\": 200, \"message\": \"OK\", \"payload\": { \"age\" : 20, \"status\" : \"online\" }, \"service\": \"Presence\"}")));
- PNSetStateResult result = partialSetState.channels(Arrays.asList("testChannel")).state(new Object()).sync();
-
+ partialSetState.channels(Arrays.asList("testChannel")).state(new Object()).sync();
}
@org.junit.Test
@@ -216,7 +213,7 @@ public void testIsAuthRequiredSuccessSync() throws IOException, PubNubException,
myState.put("age", 20);
pubnub.getConfiguration().setAuthKey("myKey");
- PNSetStateResult result = partialSetState.channels(Arrays.asList("testChannel")).state(myState).sync();
+ partialSetState.channels(Arrays.asList("testChannel")).state(myState).sync();
List requests = findAll(getRequestedFor(urlMatching("/.*")));
assertEquals(1, requests.size());
@@ -236,7 +233,7 @@ public void testNullSubKeySync() throws PubNubException, InterruptedException {
myState.put("age", 20);
pubnub.getConfiguration().setSubscribeKey(null);
- PNSetStateResult result = partialSetState.channels(Arrays.asList("testChannel")).state(myState).sync();
+ partialSetState.channels(Arrays.asList("testChannel")).state(myState).sync();
}
@org.junit.Test(expected=PubNubException.class)
@@ -252,7 +249,7 @@ public void testEmptySubKeySync() throws PubNubException, InterruptedException {
myState.put("age", 20);
pubnub.getConfiguration().setSubscribeKey("");
- PNSetStateResult result = partialSetState.channels(Arrays.asList("testChannel")).state(myState).sync();
+ partialSetState.channels(Arrays.asList("testChannel")).state(myState).sync();
}
@org.junit.Test(expected=PubNubException.class)
@@ -267,7 +264,7 @@ public void testChannelAndGroupMissingSync() throws PubNubException, Interrupted
Map myState = new HashMap<>();
myState.put("age", 20);
- PNSetStateResult result = partialSetState.state(myState).sync();
+ partialSetState.state(myState).sync();
}
@org.junit.Test(expected=PubNubException.class)
@@ -282,7 +279,7 @@ public void testNullPayloadSync() throws PubNubException, InterruptedException {
Map myState = new HashMap<>();
myState.put("age", 20);
- PNSetStateResult result = partialSetState.channels(Arrays.asList("testChannel")).state(myState).sync();
+ partialSetState.channels(Arrays.asList("testChannel")).state(myState).sync();
}
}
diff --git a/src/test/java/com/pubnub/api/endpoints/presence/WhereNowEndpointTest.java b/src/test/java/com/pubnub/api/endpoints/presence/WhereNowEndpointTest.java
index 8a3ba4919..0c07738f8 100644
--- a/src/test/java/com/pubnub/api/endpoints/presence/WhereNowEndpointTest.java
+++ b/src/test/java/com/pubnub/api/endpoints/presence/WhereNowEndpointTest.java
@@ -33,6 +33,7 @@ public class WhereNowEndpointTest extends TestHarness {
public void beforeEach() throws IOException {
pubnub = this.createPubNubInstance(8080);
partialWhereNow = pubnub.whereNow();
+ wireMockRule.start();
}
@org.junit.Test
@@ -99,8 +100,7 @@ public void onResponse(PNWhereNowResult result, PNStatus status) {
}
});
- Awaitility.await().atMost(5, TimeUnit.SECONDS)
- .untilAtomic(atomic, org.hamcrest.core.IsEqual.equalTo(1));
+ Awaitility.await().atMost(5, TimeUnit.SECONDS).untilAtomic(atomic, org.hamcrest.core.IsEqual.equalTo(1));
}
@org.junit.Test
@@ -119,9 +119,7 @@ public void onResponse(PNWhereNowResult result, PNStatus status) {
});
- Awaitility.await().atMost(5, TimeUnit.SECONDS)
- .untilAtomic(atomic, org.hamcrest.core.IsEqual.equalTo(1));
-
+ Awaitility.await().atMost(5, TimeUnit.SECONDS).untilAtomic(atomic, org.hamcrest.core.IsEqual.equalTo(1));
}
@org.junit.Test
@@ -139,8 +137,7 @@ public void onResponse(PNWhereNowResult result, PNStatus status) {
}
});
- Awaitility.await().atMost(5, TimeUnit.SECONDS)
- .untilAtomic(atomic, org.hamcrest.core.IsEqual.equalTo(1));
+ Awaitility.await().atMost(5, TimeUnit.SECONDS).untilAtomic(atomic, org.hamcrest.core.IsEqual.equalTo(1));
}
@@ -161,8 +158,7 @@ public void onResponse(PNWhereNowResult result, PNStatus status) {
}
});
- Awaitility.await().atMost(5, TimeUnit.SECONDS)
- .untilAtomic(atomic, org.hamcrest.core.IsEqual.equalTo(1));
+ Awaitility.await().atMost(5, TimeUnit.SECONDS).untilAtomic(atomic, org.hamcrest.core.IsEqual.equalTo(1));
}
@@ -173,7 +169,7 @@ public void testIsAuthRequiredSuccessSync() throws IOException, PubNubException,
.willReturn(aResponse().withBody("{\"status\": 200, \"message\": \"OK\", \"payload\": {\"channels\": [\"a\",\"b\"]}, \"service\": \"Presence\"}")));
pubnub.getConfiguration().setAuthKey("myKey");
- PNWhereNowResult response = partialWhereNow.sync();
+ partialWhereNow.sync();
List requests = findAll(getRequestedFor(urlMatching("/.*")));
assertEquals(1, requests.size());
@@ -187,7 +183,7 @@ public void testNullSubKeySync() throws PubNubException, InterruptedException {
.willReturn(aResponse().withBody("{\"status\": 200, \"message\": \"OK\", \"payload\": {\"channels\": [\"a\",\"b\"]}, \"service\": \"Presence\"}")));
pubnub.getConfiguration().setSubscribeKey(null);
- PNWhereNowResult response = partialWhereNow.sync();
+ partialWhereNow.sync();
}
@org.junit.Test(expected=PubNubException.class)
@@ -197,7 +193,7 @@ public void testEmptySubKeySync() throws PubNubException, InterruptedException {
.willReturn(aResponse().withBody("{\"status\": 200, \"message\": \"OK\", \"payload\": {\"channels\": [\"a\",\"b\"]}, \"service\": \"Presence\"}")));
pubnub.getConfiguration().setSubscribeKey("");
- PNWhereNowResult response = partialWhereNow.sync();
+ partialWhereNow.sync();
}
@org.junit.Test(expected=PubNubException.class)
@@ -206,7 +202,7 @@ public void testNullPayloadSync() throws PubNubException, InterruptedException {
stubFor(get(urlPathEqualTo("/v2/presence/sub-key/mySubscribeKey/uuid/myUUID"))
.willReturn(aResponse().withBody("{\"status\": 200, \"message\": \"OK\", \"service\": \"Presence\"}")));
- PNWhereNowResult response = partialWhereNow.sync();
+ partialWhereNow.sync();
}
}
diff --git a/src/test/java/com/pubnub/api/endpoints/pubsub/PublishTest.java b/src/test/java/com/pubnub/api/endpoints/pubsub/PublishTest.java
index 250f8caa9..3150d018c 100644
--- a/src/test/java/com/pubnub/api/endpoints/pubsub/PublishTest.java
+++ b/src/test/java/com/pubnub/api/endpoints/pubsub/PublishTest.java
@@ -4,20 +4,19 @@
import com.github.tomakehurst.wiremock.verification.LoggedRequest;
import com.jayway.awaitility.Awaitility;
import com.pubnub.api.PubNub;
-import com.pubnub.api.PubNubError;
import com.pubnub.api.PubNubException;
import com.pubnub.api.callbacks.PNCallback;
import com.pubnub.api.endpoints.TestHarness;
import com.pubnub.api.enums.PNOperationType;
import com.pubnub.api.models.consumer.PNPublishResult;
import com.pubnub.api.models.consumer.PNStatus;
-import lombok.AllArgsConstructor;
-import lombok.Getter;
import org.junit.Before;
import org.junit.Rule;
import org.junit.Test;
import java.io.IOException;
+import java.io.UnsupportedEncodingException;
+import java.nio.charset.Charset;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
@@ -37,11 +36,11 @@ public class PublishTest extends TestHarness {
private PubNub pubnub;
private Publish instance;
-
@Before
public void beforeEach() throws IOException {
pubnub = this.createPubNubInstance(8080);
instance = pubnub.publish();
+ wireMockRule.start();
}
@Test
@@ -119,7 +118,7 @@ public void testSuccessSequenceSync() throws PubNubException, InterruptedExcepti
}
@Test
- public void testSuccessPostSync() throws PubNubException, InterruptedException {
+ public void testSuccessPostSync() throws PubNubException, InterruptedException, UnsupportedEncodingException {
stubFor(post(urlPathEqualTo("/publish/myPublishKey/mySubscribeKey/0/coolChannel/0"))
.willReturn(aResponse().withBody("[1,\"Sent\",\"14598111595318003\"]")));
@@ -128,7 +127,7 @@ public void testSuccessPostSync() throws PubNubException, InterruptedException {
List requests = findAll(postRequestedFor(urlMatching("/.*")));
assertEquals(1, requests.size());
assertEquals("myUUID", requests.get(0).queryParameter("uuid").firstValue());
- assertEquals("[\"m1\",\"m2\"]", new String(requests.get(0).getBody()));
+ assertEquals("[\"m1\",\"m2\"]", new String(requests.get(0).getBody(), "UTF-8"));
}
@Test
@@ -241,7 +240,7 @@ public void testSuccessPostEncryptedSync() throws PubNubException, InterruptedEx
List requests = findAll(postRequestedFor(urlMatching("/.*")));
assertEquals(1, requests.size());
assertEquals("myUUID", requests.get(0).queryParameter("uuid").firstValue());
- assertEquals("\"HFP7V6bDwBLrwc1t8Rnrog==\"", new String(requests.get(0).getBody()));
+ assertEquals("\"HFP7V6bDwBLrwc1t8Rnrog==\"", new String(requests.get(0).getBody(), Charset.forName("UTF-8")));
}
@Test
@@ -263,14 +262,6 @@ public void testSuccessHashMapSync() throws PubNubException, InterruptedExceptio
@Test
public void testSuccessPOJOSync() throws PubNubException, InterruptedException {
-
- @AllArgsConstructor
- @Getter
- class TestPojo {
- String field1;
- String field2;
- }
-
TestPojo testPojo = new TestPojo("10", "20");
stubFor(get(urlPathEqualTo("/publish/myPublishKey/mySubscribeKey/0/coolChannel/0/%7B%22field1%22%3A%2210%22%2C%22field2%22%3A%2220%22%7D"))
diff --git a/src/test/java/com/pubnub/api/endpoints/pubsub/SubscribeEndpointTest.java b/src/test/java/com/pubnub/api/endpoints/pubsub/SubscribeEndpointTest.java
index dc5957343..28531cb50 100644
--- a/src/test/java/com/pubnub/api/endpoints/pubsub/SubscribeEndpointTest.java
+++ b/src/test/java/com/pubnub/api/endpoints/pubsub/SubscribeEndpointTest.java
@@ -33,6 +33,7 @@ public void beforeEach() throws IOException {
pubnub = this.createPubNubInstance(8080);
RetrofitManager retrofitManager = new RetrofitManager(pubnub);
instance = new Subscribe(pubnub, retrofitManager.getSubscriptionInstance());
+ wireMockRule.start();
}
@Test
@@ -176,7 +177,7 @@ public void subscribeMissingChannelAndGroupSync() throws PubNubException {
stubFor(get(urlPathEqualTo("/v2/subscribe/mySubscribeKey/coolChannel/0"))
.willReturn(aResponse().withBody("{\"t\":{\"t\":\"14607577960932487\",\"r\":1},\"m\":[{\"a\":\"4\",\"f\":0,\"i\":\"Client-g5d4g\",\"p\":{\"t\":\"14607577960925503\",\"r\":1},\"k\":\"sub-c-4cec9f8e-01fa-11e6-8180-0619f8945a4f\",\"c\":\"coolChannel\",\"d\":{\"text\":\"Enter Message Here\"},\"b\":\"coolChan-bnel\"}]}")));
- SubscribeEnvelope subscribeEnvelope = instance.sync();
+ instance.sync();
}
@org.junit.Test(expected=PubNubException.class)
@@ -200,7 +201,7 @@ public void testEmptySubKeySync() throws PubNubException, InterruptedException {
}
@org.junit.Test
- public void StopAndReconnect() throws PubNubException {
+ public void stopAndReconnect() throws PubNubException {
stubFor(get(urlPathEqualTo("/v2/subscribe/mySubscribeKey/coolChannel,coolChannel2/0"))
.willReturn(aResponse().withBody("{\"t\":{\"t\":\"14607577960932487\",\"r\":1},\"m\":[{\"a\":\"4\",\"f\":0,\"i\":\"Client-g5d4g\",\"p\":{\"t\":\"14607577960925503\",\"r\":1},\"k\":\"sub-c-4cec9f8e-01fa-11e6-8180-0619f8945a4f\",\"c\":\"coolChannel\",\"d\":{\"text\":\"Enter Message Here\"},\"b\":\"coolChan-bnel\"}]}")));
diff --git a/src/test/java/com/pubnub/api/endpoints/pubsub/TestPojo.java b/src/test/java/com/pubnub/api/endpoints/pubsub/TestPojo.java
new file mode 100644
index 000000000..ef4d7c8fd
--- /dev/null
+++ b/src/test/java/com/pubnub/api/endpoints/pubsub/TestPojo.java
@@ -0,0 +1,14 @@
+package com.pubnub.api.endpoints.pubsub;
+
+import lombok.AllArgsConstructor;
+import lombok.Getter;
+
+/**
+ * Created by Max on 9/8/16.
+ */
+@AllArgsConstructor
+@Getter
+class TestPojo {
+ String field1;
+ String field2;
+}
diff --git a/src/test/java/com/pubnub/api/endpoints/push/ListPushProvisionsTest.java b/src/test/java/com/pubnub/api/endpoints/push/ListPushProvisionsTest.java
index feda06c1e..fd7937c5c 100644
--- a/src/test/java/com/pubnub/api/endpoints/push/ListPushProvisionsTest.java
+++ b/src/test/java/com/pubnub/api/endpoints/push/ListPushProvisionsTest.java
@@ -36,6 +36,7 @@ public class ListPushProvisionsTest extends TestHarness {
public void beforeEach() throws IOException {
pubnub = this.createPubNubInstance(8080);
instance = pubnub.auditPushChannelProvisions();
+ wireMockRule.start();
}
@Test
diff --git a/src/test/java/com/pubnub/api/endpoints/push/ModifyPushChannelsForDeviceTest.java b/src/test/java/com/pubnub/api/endpoints/push/ModifyPushChannelsForDeviceTest.java
index 771c26cd6..e39152989 100644
--- a/src/test/java/com/pubnub/api/endpoints/push/ModifyPushChannelsForDeviceTest.java
+++ b/src/test/java/com/pubnub/api/endpoints/push/ModifyPushChannelsForDeviceTest.java
@@ -43,6 +43,7 @@ public void beforeEach() throws IOException {
instance = pubnub.removeAllPushNotificationsFromDeviceWithPushToken();
instanceAdd = pubnub.addPushNotificationsOnChannels();
instanceRemove = pubnub.removePushNotificationsFromChannels();
+ wireMockRule.start();
}
@Test
diff --git a/src/test/java/com/pubnub/api/managers/SubscriptionManagerTest.java b/src/test/java/com/pubnub/api/managers/SubscriptionManagerTest.java
index ef444b298..cf338afc2 100644
--- a/src/test/java/com/pubnub/api/managers/SubscriptionManagerTest.java
+++ b/src/test/java/com/pubnub/api/managers/SubscriptionManagerTest.java
@@ -38,6 +38,7 @@ public class SubscriptionManagerTest extends TestHarness {
@Before
public void beforeEach() throws IOException {
pubnub = this.createPubNubInstance(8080);
+ wireMockRule.start();
}
@After
@@ -104,7 +105,7 @@ public void testSubscribeBuilder() {
final AtomicInteger gotStatus = new AtomicInteger();
final AtomicBoolean gotMessage = new AtomicBoolean();
stubFor(get(urlPathEqualTo("/v2/subscribe/mySubscribeKey/ch2,ch1/0"))
- .willReturn(aResponse().withBody("{\"t\":{\"t\":\"14607577960932487\",\"r\":1},\"m\":[{\"a\":\"4\",\"f\":0,\"i\":\"Client-g5d4g\",\"p\":{\"t\":\"14607577960925503\",\"r\":1},\"k\":\"sub-c-4cec9f8e-01fa-11e6-8180-0619f8945a4f\",\"c\":\"coolChannel\",\"d\":{\"text\":\"Message\"},\"b\":\"coolChan-bnel\"}]}")));
+ .willReturn(aResponse().withBody("{\"t\":{\"t\":\"14607577960932487\",\"r\":1},\"m\":[{\"a\":\"4\",\"f\":0,\"i\":\"Client-g5d4g\",\"p\":{\"t\":\"14607577960925503\",\"r\":1},\"k\":\"sub-c-4cec9f8e-01fa-11e6-8180-0619f8945a4f\",\"c\":\"coolChannel\",\"d\":{\"text\":\"Message\"},\"b\":\"coolChannel\"}]}")));
pubnub.addListener(new SubscribeCallback() {
@Override
@@ -119,8 +120,50 @@ public void status(PubNub pubnub, PNStatus status) {
@Override
public void message(PubNub pubnub, PNMessageResult message) {
List requests = findAll(getRequestedFor(urlMatching("/v2/subscribe.*")));
+ assertTrue(requests.size() >= 1);
+ assertEquals("Message", message.getMessage().get("text").asText());
+ assertEquals("coolChannel", message.getChannel());
+ assertEquals(null, message.getSubscription());
+ gotMessage.set(true);
+ }
+
+ @Override
+ public void presence(PubNub pubnub, PNPresenceEventResult presence) {
+ }
+ });
+
+
+ pubnub.subscribe().channels(Arrays.asList("ch1", "ch2")).execute();
+
+ Awaitility.await().atMost(2, TimeUnit.SECONDS).untilAtomic(gotMessage, org.hamcrest.core.IsEqual.equalTo(true));
+ Awaitility.await().atMost(2, TimeUnit.SECONDS).untilAtomic(gotStatus, org.hamcrest.core.IsEqual.equalTo(1));
+
+ }
+
+ @Test
+ public void testNamingSubscribeChannelGroupBuilder() {
+ final AtomicInteger gotStatus = new AtomicInteger();
+ final AtomicBoolean gotMessage = new AtomicBoolean();
+ stubFor(get(urlPathEqualTo("/v2/subscribe/mySubscribeKey/ch2,ch1/0"))
+ .willReturn(aResponse().withBody("{\"t\":{\"t\":\"14607577960932487\",\"r\":1},\"m\":[{\"a\":\"4\",\"f\":0,\"i\":\"Client-g5d4g\",\"p\":{\"t\":\"14607577960925503\",\"r\":1},\"k\":\"sub-c-4cec9f8e-01fa-11e6-8180-0619f8945a4f\",\"c\":\"coolChannel\",\"d\":{\"text\":\"Message\"},\"b\":\"coolChannelGroup\"}]}")));
+
+ pubnub.addListener(new SubscribeCallback() {
+ @Override
+ public void status(PubNub pubnub, PNStatus status) {
+
+ if (status.getCategory() == PNStatusCategory.PNConnectedCategory) {
+ gotStatus.addAndGet(1);
+ }
+ }
+
+ @Override
+ public void message(PubNub pubnub, PNMessageResult message) {
+ List requests = findAll(getRequestedFor(urlMatching("/v2/subscribe.*")));
+ assertTrue(requests.size() >= 1);
assertEquals("Message", message.getMessage().get("text").asText());
+ assertEquals("coolChannel", message.getChannel());
+ assertEquals("coolChannelGroup", message.getSubscription());
gotMessage.set(true);
}
@@ -137,6 +180,85 @@ public void presence(PubNub pubnub, PNPresenceEventResult presence) {
}
+ @Test
+ public void testPresenceSubscribeBuilder() {
+ final AtomicInteger gotStatus = new AtomicInteger();
+ final AtomicBoolean gotMessage = new AtomicBoolean();
+ stubFor(get(urlPathEqualTo("/v2/subscribe/mySubscribeKey/ch2,ch1/0"))
+ .willReturn(aResponse().withBody("{\"t\":{\"t\":\"14614512228786519\",\"r\":1},\"m\":[{\"a\":\"4\",\"f\":0,\"p\":{\"t\":\"14614512228418349\",\"r\":2},\"k\":\"sub-c-4cec9f8e-01fa-11e6-8180-0619f8945a4f\",\"c\":\"coolChannel-pnpres\",\"d\":{\"action\": \"join\", \"timestamp\": 1461451222, \"uuid\": \"4a6d5df7-e301-4e73-a7b7-6af9ab484eb0\", \"occupancy\": 1},\"b\":\"coolChannel-pnpres\"}]}")));
+
+ pubnub.addListener(new SubscribeCallback() {
+ @Override
+ public void status(PubNub pubnub, PNStatus status) {
+
+ if (status.getCategory() == PNStatusCategory.PNConnectedCategory) {
+ gotStatus.addAndGet(1);
+ }
+
+ }
+
+ @Override
+ public void message(PubNub pubnub, PNMessageResult message) {
+ }
+
+ @Override
+ public void presence(PubNub pubnub, PNPresenceEventResult presence) {
+ List requests = findAll(getRequestedFor(urlMatching("/v2/subscribe.*")));
+ assertTrue(requests.size() >= 1);
+ assertEquals("coolChannel", presence.getChannel());
+ assertEquals(null, presence.getSubscription());
+ gotMessage.set(true);
+ }
+ });
+
+
+ pubnub.subscribe().channels(Arrays.asList("ch1", "ch2")).execute();
+
+ Awaitility.await().atMost(2, TimeUnit.SECONDS).untilAtomic(gotMessage, org.hamcrest.core.IsEqual.equalTo(true));
+ Awaitility.await().atMost(2, TimeUnit.SECONDS).untilAtomic(gotStatus, org.hamcrest.core.IsEqual.equalTo(1));
+
+ }
+
+ @Test
+ public void testPresenceChannelGroupSubscribeBuilder() {
+ final AtomicInteger gotStatus = new AtomicInteger();
+ final AtomicBoolean gotMessage = new AtomicBoolean();
+ stubFor(get(urlPathEqualTo("/v2/subscribe/mySubscribeKey/ch2,ch1/0"))
+ .willReturn(aResponse().withBody("{\"t\":{\"t\":\"14614512228786519\",\"r\":1},\"m\":[{\"a\":\"4\",\"f\":0,\"p\":{\"t\":\"14614512228418349\",\"r\":2},\"k\":\"sub-c-4cec9f8e-01fa-11e6-8180-0619f8945a4f\",\"c\":\"coolChannel-pnpres\",\"d\":{\"action\": \"join\", \"timestamp\": 1461451222, \"uuid\": \"4a6d5df7-e301-4e73-a7b7-6af9ab484eb0\", \"occupancy\": 1},\"b\":\"coolChannelGroup-pnpres\"}]}")));
+
+ pubnub.addListener(new SubscribeCallback() {
+ @Override
+ public void status(PubNub pubnub, PNStatus status) {
+
+ if (status.getCategory() == PNStatusCategory.PNConnectedCategory) {
+ gotStatus.addAndGet(1);
+ }
+
+ }
+
+ @Override
+ public void message(PubNub pubnub, PNMessageResult message) {
+ }
+
+ @Override
+ public void presence(PubNub pubnub, PNPresenceEventResult presence) {
+ List requests = findAll(getRequestedFor(urlMatching("/v2/subscribe.*")));
+ assertTrue(requests.size() >= 1);
+ assertEquals("coolChannel", presence.getChannel());
+ assertEquals("coolChannelGroup", presence.getSubscription());
+ gotMessage.set(true);
+ }
+ });
+
+
+ pubnub.subscribe().channels(Arrays.asList("ch1", "ch2")).execute();
+
+ Awaitility.await().atMost(2, TimeUnit.SECONDS).untilAtomic(gotMessage, org.hamcrest.core.IsEqual.equalTo(true));
+ Awaitility.await().atMost(2, TimeUnit.SECONDS).untilAtomic(gotStatus, org.hamcrest.core.IsEqual.equalTo(1));
+
+ }
+
+
@Test
public void testSubscribeSlidingBuilder() {
final AtomicBoolean gotMessage1 = new AtomicBoolean();
@@ -164,6 +286,7 @@ public void status(PubNub pubnub, PNStatus status) {
@Override
public void message(PubNub pubnub, PNMessageResult message) {
List requests = findAll(getRequestedFor(urlMatching("/v2/subscribe.*")));
+ assertTrue(requests.size() >= 1);
if (message.getMessage().get("text").asText().equals("Message")) {
gotMessage1.set(true);
@@ -201,7 +324,7 @@ public void status(PubNub pubnub, PNStatus status) {
@Override
public void message(PubNub pubnub, PNMessageResult message) {
List requests = findAll(getRequestedFor(urlMatching("/v2/subscribe.*")));
-
+ assertTrue(requests.size() >= 1);
assertEquals(10, message.getMessage().asInt());
atomic.addAndGet(1);
}
@@ -503,7 +626,7 @@ public void status(PubNub pubnub, PNStatus status) {
@Override
public void message(PubNub pubnub, PNMessageResult message) {
List requests = findAll(getRequestedFor(urlMatching("/v2/subscribe.*")));
-
+ assertTrue(requests.size() >= 1);
Assert.assertEquals("{\"text\":\"Enter Message Here\"}", message.getMessage().toString());
atomic.addAndGet(1);
}
@@ -884,7 +1007,6 @@ public void presence(PubNub pubnub, PNPresenceEventResult presence) {
public void testUnsubscribeAll() {
final AtomicBoolean statusRecieved = new AtomicBoolean();
- final AtomicBoolean messageRecieved = new AtomicBoolean();
stubFor(get(urlPathEqualTo("/v2/subscribe/mySubscribeKey/ch2,ch1,ch2-pnpres,ch1-pnpres/0"))
.willReturn(aResponse().withBody("{\"t\":{\"t\":\"14607577960932487\",\"r\":1},\"m\":[{\"a\":\"4\",\"f\":0,\"i\":\"Client-g5d4g\",\"p\":{\"t\":\"14607577960925503\",\"r\":1},\"k\":\"sub-c-4cec9f8e-01fa-11e6-8180-0619f8945a4f\",\"c\":\"coolChannel\",\"d\":{\"text\":\"Enter Message Here\"},\"b\":\"coolChan-bnel\"}]}")));