C D E G H I M P R S T U

C

Callback - Class in com.pubnub.api
Abstract class to be subclassed by objects being passed as callbacks to Pubnub APIs Default implementation for all methods is blank
Callback() - Constructor for class com.pubnub.api.Callback
 
callback(JSONObject) - Method in class com.pubnub.api.MtGoxCallback
 
checkResponse(int) - Static method in class com.pubnub.api.HttpUtil
 
checkResponseSuccess(int) - Static method in class com.pubnub.api.HttpUtil
 
com.pubnub.api - package com.pubnub.api
 
connectCallback(String, Object) - Method in class com.pubnub.api.Callback
This callback will be invoked on getting connected to a channel

D

detailedHistory(String, long, long, int, boolean, Callback) - Method in class com.pubnub.api.Pubnub
Deprecated. as of version 3.5.2 and will be removed with 3.6.0 . Replaced by Pubnub.history(String channel, long start, long end, int count, boolean reverse, Callback callback)
detailedHistory(String, long, boolean, Callback) - Method in class com.pubnub.api.Pubnub
Deprecated. as of version 3.5.2 and will be removed with 3.6.0 . Replaced by Pubnub.history(String channel, long start, boolean reverse, Callback callback)
detailedHistory(String, long, long, Callback) - Method in class com.pubnub.api.Pubnub
Deprecated. as of version 3.5.2 and will be removed with 3.6.0 . Replaced by Pubnub.history(String channel, long start, long end, Callback callback)
detailedHistory(String, long, long, boolean, Callback) - Method in class com.pubnub.api.Pubnub
Deprecated. as of version 3.5.2 and will be removed with 3.6.0 . Replaced by Pubnub.history(String channel, long start, long end, boolean reverse, Callback callback)
detailedHistory(String, int, boolean, Callback) - Method in class com.pubnub.api.Pubnub
Deprecated. as of version 3.5.2 and will be removed with 3.6.0 . Replaced by Pubnub.history(String channel, int count, boolean reverse, Callback callback)
detailedHistory(String, boolean, Callback) - Method in class com.pubnub.api.Pubnub
Deprecated. as of version 3.5.2 and will be removed with 3.6.0 . Replaced by Pubnub.history(String channel, boolean reverse, Callback callback)
detailedHistory(String, int, Callback) - Method in class com.pubnub.api.Pubnub
Deprecated. as of version 3.5.2 and will be removed with 3.6.0 . Replaced by Pubnub.history(String channel, int count, Callback callback)
disconnectCallback(String, Object) - Method in class com.pubnub.api.Callback
This callback is invoked on getting disconnected from a channel

E

errorCallback(String, PubnubError) - Method in class com.pubnub.api.Callback
This callback will be invoked when an error occurs
errorCallback(String, Object) - Method in class com.pubnub.api.Callback
Deprecated. as of version 3.5.2 and will be removed with 3.6.0 . Replaced by Callback.errorCallback(String channel, PubnubError error)
errorCode - Variable in class com.pubnub.api.PubnubError
 
errorCodeExtended - Variable in class com.pubnub.api.PubnubError
 

G

getErrorString() - Method in class com.pubnub.api.PubnubError
 
getNonSubscribeTimeout() - Method in class com.pubnub.api.Pubnub
This method returns timeout value for non subscribe operations like publish, history, hereNow
getPubnubError() - Method in exception com.pubnub.api.PubnubException
 
getSubscribeTimeout() - Method in class com.pubnub.api.Pubnub
This method returns timeout value for subscribe/presence.

H

history(String, long, long, int, boolean, Callback) - Method in class com.pubnub.api.Pubnub
Read History for a channel.
history(String, long, boolean, Callback) - Method in class com.pubnub.api.Pubnub
Read history for a channel.
history(String, long, long, Callback) - Method in class com.pubnub.api.Pubnub
Read History for a channel.
history(String, long, long, boolean, Callback) - Method in class com.pubnub.api.Pubnub
Read History for a channel.
history(String, int, boolean, Callback) - Method in class com.pubnub.api.Pubnub
Read History for a channel.
history(String, boolean, Callback) - Method in class com.pubnub.api.Pubnub
Read History for a channel.
history(String, int, Callback) - Method in class com.pubnub.api.Pubnub
Read History for a channel.
HTTP_BAD_GATEWAY - Static variable in class com.pubnub.api.HttpUtil
 
HTTP_BAD_REQUEST - Static variable in class com.pubnub.api.HttpUtil
 
HTTP_CLIENT_TIMEOUT - Static variable in class com.pubnub.api.HttpUtil
 
HTTP_FORBIDDEN - Static variable in class com.pubnub.api.HttpUtil
 
HTTP_GATEWAY_TIMEOUT - Static variable in class com.pubnub.api.HttpUtil
 
HTTP_INTERNAL_ERROR - Static variable in class com.pubnub.api.HttpUtil
 
HTTP_MOVED_PERM - Static variable in class com.pubnub.api.HttpUtil
 
HTTP_MOVED_TEMP - Static variable in class com.pubnub.api.HttpUtil
 
HTTP_OK - Static variable in class com.pubnub.api.HttpUtil
 
HTTP_SEE_OTHER - Static variable in class com.pubnub.api.HttpUtil
 
HTTP_UNAUTHORIZED - Static variable in class com.pubnub.api.HttpUtil
 
HttpUtil - Class in com.pubnub.api
 
HttpUtil() - Constructor for class com.pubnub.api.HttpUtil
 

I

isOk(int) - Static method in class com.pubnub.api.HttpUtil
 
isRedirect(int) - Static method in class com.pubnub.api.HttpUtil
 

M

MtGox - Class in com.pubnub.api
 
MtGox() - Constructor for class com.pubnub.api.MtGox
 
MtGoxCallback - Class in com.pubnub.api
 
MtGoxCallback() - Constructor for class com.pubnub.api.MtGoxCallback
 

P

pamAudit(Callback) - Method in class com.pubnub.api.Pubnub
ULS Audit
pamAudit(String, Callback) - Method in class com.pubnub.api.Pubnub
ULS audit by channel
pamAudit(String, String, Callback) - Method in class com.pubnub.api.Pubnub
ULS audit by channel and auth key
pamGrant(String, String, boolean, boolean, Callback) - Method in class com.pubnub.api.Pubnub
Grant r/w access based on channel and auth key
pamGrant(String, boolean, boolean, Callback) - Method in class com.pubnub.api.Pubnub
Grant r/w access based on channel
pamGrant(String, boolean, boolean, int, Callback) - Method in class com.pubnub.api.Pubnub
Grant r/w access based on channel
pamGrant(String, String, boolean, boolean, int, Callback) - Method in class com.pubnub.api.Pubnub
Grant r/w access based on channel and auth key
pamRevoke(String, String, Callback) - Method in class com.pubnub.api.Pubnub
ULS revoke by channel and auth key
pamRevoke(String, Callback) - Method in class com.pubnub.api.Pubnub
ULS revoke by channel
PNERR_CLIENT_TIMEOUT - Static variable in class com.pubnub.api.PubnubError
Client Timeout .
PNERR_CONNECT_EXCEPTION - Static variable in class com.pubnub.api.PubnubError
Connect Exception .
PNERR_DECRYPTION_ERROR - Static variable in class com.pubnub.api.PubnubError
Decryption Error .
PNERR_DISCONN_AND_RESUB - Static variable in class com.pubnub.api.PubnubError
Disconnect and Resubscribe Received .
PNERR_DISCONNECT - Static variable in class com.pubnub.api.PubnubError
Disconnect .
PNERR_ENCRYPTION_ERROR - Static variable in class com.pubnub.api.PubnubError
Error while encrypting message to be published to Pubnub Cloud .
PNERR_FORBIDDEN - Static variable in class com.pubnub.api.PubnubError
Pubnub server returned HTTP 403 forbidden status code.
PNERR_GATEWAY_TIMEOUT - Static variable in class com.pubnub.api.PubnubError
Gateway Timeout
PNERR_HTTP_ERROR - Static variable in class com.pubnub.api.PubnubError
Please check network connectivity.
PNERR_HTTP_RC_ERROR - Static variable in class com.pubnub.api.PubnubError
 
PNERR_INVALID_JSON - Static variable in class com.pubnub.api.PubnubError
Invalid Json .
PNERR_NETWORK_ERROR - Static variable in class com.pubnub.api.PubnubError
Please verify if network is reachable
PNERR_PUBNUB_ERROR - Static variable in class com.pubnub.api.PubnubError
 
PNERR_PUBNUB_EXCEPTION - Static variable in class com.pubnub.api.PubnubError
Pubnub Exception .
PNERR_SECRET_KEY_MISSING - Static variable in class com.pubnub.api.PubnubError
Secret key not configured
PNERR_TIMEOUT - Static variable in class com.pubnub.api.PubnubError
Timeout Error .
PNERR_UNAUTHORIZED - Static variable in class com.pubnub.api.PubnubError
Pubnub server returned HTTP 401 unauthorized status code Happens when authentication key is missing .
PNERR_URL_OPEN - Static variable in class com.pubnub.api.PubnubError
Error in opening URL .
publish(Hashtable, Callback) - Method in class com.pubnub.api.Pubnub
Deprecated. as of version 3.5.2 and will be removed with 3.6.0 . Methods accepting Hashtable as arguments have been deprecated.
publish(Hashtable) - Method in class com.pubnub.api.Pubnub
Deprecated. As of version 3.5.2 . Will be removed in 3.6.0 . Methods accepting Hashtable as arguments have been deprecated.
Pubnub - Class in com.pubnub.api
Pubnub object facilitates querying channels for messages and listening on channels for presence/message events
Pubnub(String, String, String, String, boolean) - Constructor for class com.pubnub.api.Pubnub
Pubnub Constructor
Pubnub(String, String, String, boolean) - Constructor for class com.pubnub.api.Pubnub
Pubnub Constructor
Pubnub(String, String) - Constructor for class com.pubnub.api.Pubnub
Pubnub Constructor
Pubnub(String, String, boolean) - Constructor for class com.pubnub.api.Pubnub
 
Pubnub(String, String, String) - Constructor for class com.pubnub.api.Pubnub
 
Pubnub(String, String, String, String, boolean, String) - Constructor for class com.pubnub.api.Pubnub
Constructor for Pubnub Class
PubnubError - Class in com.pubnub.api
PubnubError object is passed to errorCallback.
PubnubError(PubnubError, String) - Constructor for class com.pubnub.api.PubnubError
 
PubnubException - Exception in com.pubnub.api
PubnubException is thrown by various Pubnub APIs
PubnubException(String) - Constructor for exception com.pubnub.api.PubnubException
Constructor for PubnubException Class with error message as argument
PubnubException(PubnubError) - Constructor for exception com.pubnub.api.PubnubException
Constructor for PubnubException Class with error message as argument
PubnubException(PubnubError, String) - Constructor for exception com.pubnub.api.PubnubException
Constructor for PubnubException Class with error message as argument
PubnubUtil - Class in com.pubnub.api
PubnubUtil class provides utility methods like urlEncode etc
PubnubUtil() - Constructor for class com.pubnub.api.PubnubUtil
 

R

reconnectCallback(String, Object) - Method in class com.pubnub.api.Callback
This callback is invoked on getting reconnected to a channel after getting disconnected

S

setNonSubscribeTimeout(int) - Method in class com.pubnub.api.Pubnub
This method set timeout value for non subscribe operations like publish, history, hereNow.
setSubscribeTimeout(int) - Method in class com.pubnub.api.Pubnub
This method sets timeout value for subscribe/presence.
setUUID(UUID) - Method in class com.pubnub.api.Pubnub
Sets value for UUID
subscribe(String, MtGoxCallback) - Method in class com.pubnub.api.MtGox
 
subscribe(Hashtable, Callback) - Method in class com.pubnub.api.Pubnub
Deprecated. as of version 3.5.2 and will be removed with 3.6.0 .
subscribe(Hashtable) - Method in class com.pubnub.api.Pubnub
Deprecated. as of version 3.5.2 and will be removed with 3.6.0 . Methods accepting Hashtable as arguments have been deprecated.
successCallback(String, Object) - Method in class com.pubnub.api.Callback
This callback will be invoked when a message is received on the channel

T

toString() - Method in class com.pubnub.api.PubnubError
 
toString() - Method in exception com.pubnub.api.PubnubException
Read the exception error message

U

unsubscribe(String) - Method in class com.pubnub.api.MtGox
 
unsubscribe(Hashtable) - Method in class com.pubnub.api.Pubnub
Deprecated. as of version 3.5.2 and will be removed with 3.6.0 . Methods accepting Hashtable as arguments have been deprecated.
urlEncode(String) - Static method in class com.pubnub.api.PubnubUtil
Returns encoded String

C D E G H I M P R S T U