forked from ringcentral/pubnub-jtools
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Devendra
committed
Jul 4, 2013
1 parent
02d43ba
commit 37cb771
Showing
600 changed files
with
30,446 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Large diffs are not rendered by default.
Oops, something went wrong.
33 changes: 33 additions & 0 deletions
33
codenameone/examples/PubnubDevConsole/codenameone_settings.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# | ||
#Wed Jul 18 15:45:51 IDT 2012 | ||
codename1.vendor=CodenameOne | ||
codename1.displayName=PubnubDevConsoleWithCn1lib | ||
codename1.icon=icon.png | ||
codename1.ios.debug.certificatePassword= | ||
codename1.secondaryTitle=PubnubDevConsoleWithCn1lib | ||
codename1.version=1.0 | ||
package=generated | ||
codename1.mainName=PubnubDevConsole | ||
codename1.ios.certificatePassword= | ||
codename1.ios.release.provision= | ||
codename1.rim.signtoolDb= | ||
codename1.ios.release.certificatePassword= | ||
codename1.ios.certificate= | ||
userClass=src/userclasses/StateMachine.java | ||
codename1.android.keystorePassword= | ||
codename1.ios.appid=Q5GHSKAL2F.com.pubnub.examples | ||
codename1.ios.release.certificate= | ||
codename1.j2me.nativeTheme=nbproject/nativej2me.res | ||
codename1.rim.signtoolCsk= | ||
codename1.ios.debug.certificate= | ||
mainForm=Main | ||
codename1.android.keystore= | ||
baseClass=src/generated/StateMachineBase.java | ||
guiResource=theme.res | ||
codename1.android.keystoreAlias= | ||
codename1.rim.certificatePassword= | ||
codename1.ios.provision= | ||
codename1.ios.debug.provision= | ||
codename1.packageName=com.pubnub.examples | ||
codename1.languageLevel=5 | ||
codename1.arg.vserv.transition=3000 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
5 changes: 5 additions & 0 deletions
5
codenameone/examples/PubnubDevConsole/lib/impl/cls/org/bouncycastle/asn1/package.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<html> | ||
<body bgcolor="#ffffff"> | ||
A library for parsing and writing ASN.1 objects. Support is provided for DER and BER encoding. | ||
</body> | ||
</html> |
5 changes: 5 additions & 0 deletions
5
codenameone/examples/PubnubDevConsole/lib/impl/cls/org/bouncycastle/asn1/pkcs/package.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<html> | ||
<body bgcolor="#ffffff"> | ||
Support classes useful for encoding and supporting the various RSA PKCS documents. | ||
</body> | ||
</html> |
5 changes: 5 additions & 0 deletions
5
codenameone/examples/PubnubDevConsole/lib/impl/cls/org/bouncycastle/asn1/sec/package.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<html> | ||
<body bgcolor="#ffffff"> | ||
Classes for support of the SEC standard for Elliptic Curve. | ||
</body> | ||
</html> |
5 changes: 5 additions & 0 deletions
5
codenameone/examples/PubnubDevConsole/lib/impl/cls/org/bouncycastle/asn1/util/package.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<html> | ||
<body bgcolor="#ffffff"> | ||
An ASN.1 dump utility. | ||
</body> | ||
</html> |
5 changes: 5 additions & 0 deletions
5
codenameone/examples/PubnubDevConsole/lib/impl/cls/org/bouncycastle/asn1/x509/package.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<html> | ||
<body bgcolor="#ffffff"> | ||
Support classes useful for encoding and processing X.509 certificates. | ||
</body> | ||
</html> |
5 changes: 5 additions & 0 deletions
5
.../examples/PubnubDevConsole/lib/impl/cls/org/bouncycastle/asn1/x509/qualified/package.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<html> | ||
<body bgcolor="#ffffff"> | ||
Support classes useful for encoding and processing messages based around RFC3739 | ||
</body> | ||
</html> |
5 changes: 5 additions & 0 deletions
5
codenameone/examples/PubnubDevConsole/lib/impl/cls/org/bouncycastle/asn1/x9/package.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<html> | ||
<body bgcolor="#ffffff"> | ||
Support classes useful for encoding and supporting X9.62 elliptic curve. | ||
</body> | ||
</html> |
5 changes: 5 additions & 0 deletions
5
...one/examples/PubnubDevConsole/lib/impl/cls/org/bouncycastle/crypto/agreement/package.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<html> | ||
<body bgcolor="#ffffff"> | ||
Basic key agreement classes. | ||
</body> | ||
</html> |
5 changes: 5 additions & 0 deletions
5
...meone/examples/PubnubDevConsole/lib/impl/cls/org/bouncycastle/crypto/digests/package.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<html> | ||
<body bgcolor="#ffffff"> | ||
Message digest classes. | ||
</body> | ||
</html> |
5 changes: 5 additions & 0 deletions
5
...one/examples/PubnubDevConsole/lib/impl/cls/org/bouncycastle/crypto/encodings/package.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<html> | ||
<body bgcolor="#ffffff"> | ||
Block encodings for asymmetric ciphers. | ||
</body> | ||
</html> |
5 changes: 5 additions & 0 deletions
5
...meone/examples/PubnubDevConsole/lib/impl/cls/org/bouncycastle/crypto/engines/package.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<html> | ||
<body bgcolor="#ffffff"> | ||
Basic cipher classes. | ||
</body> | ||
</html> |
5 changes: 5 additions & 0 deletions
5
...ne/examples/PubnubDevConsole/lib/impl/cls/org/bouncycastle/crypto/generators/package.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<html> | ||
<body bgcolor="#ffffff"> | ||
Generators for keys, key pairs and password based encryption algorithms. | ||
</body> | ||
</html> |
5 changes: 5 additions & 0 deletions
5
codenameone/examples/PubnubDevConsole/lib/impl/cls/org/bouncycastle/crypto/io/package.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<html> | ||
<body bgcolor="#ffffff"> | ||
Classes for doing "enhanced" I/O with Digests and MACs. | ||
</body> | ||
</html> |
5 changes: 5 additions & 0 deletions
5
codenameone/examples/PubnubDevConsole/lib/impl/cls/org/bouncycastle/crypto/macs/package.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<html> | ||
<body bgcolor="#ffffff"> | ||
Classes for creating MACs and HMACs. | ||
</body> | ||
</html> |
5 changes: 5 additions & 0 deletions
5
...nameone/examples/PubnubDevConsole/lib/impl/cls/org/bouncycastle/crypto/modes/package.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<html> | ||
<body bgcolor="#ffffff"> | ||
Modes for symmetric ciphers. | ||
</body> | ||
</html> |
5 changes: 5 additions & 0 deletions
5
codenameone/examples/PubnubDevConsole/lib/impl/cls/org/bouncycastle/crypto/package.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<html> | ||
<body bgcolor="#ffffff"> | ||
Base classes for the lightweight API. | ||
</body> | ||
</html> |
5 changes: 5 additions & 0 deletions
5
...eone/examples/PubnubDevConsole/lib/impl/cls/org/bouncycastle/crypto/paddings/package.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<html> | ||
<body bgcolor="#ffffff"> | ||
Paddings for symmetric ciphers. | ||
</body> | ||
</html> |
5 changes: 5 additions & 0 deletions
5
...ameone/examples/PubnubDevConsole/lib/impl/cls/org/bouncycastle/crypto/params/package.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<html> | ||
<body bgcolor="#ffffff"> | ||
Classes for parameter objects for ciphers and generators. | ||
</body> | ||
</html> |
5 changes: 5 additions & 0 deletions
5
codenameone/examples/PubnubDevConsole/lib/impl/cls/org/bouncycastle/crypto/prng/package.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<html> | ||
<body bgcolor="#ffffff"> | ||
Lightweight psuedo-random number generators. | ||
</body> | ||
</html> |
5 changes: 5 additions & 0 deletions
5
...meone/examples/PubnubDevConsole/lib/impl/cls/org/bouncycastle/crypto/signers/package.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<html> | ||
<body bgcolor="#ffffff"> | ||
Basic signers. | ||
</body> | ||
</html> |
5 changes: 5 additions & 0 deletions
5
codenameone/examples/PubnubDevConsole/lib/impl/cls/org/bouncycastle/crypto/tls/package.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<html> | ||
<body bgcolor="#ffffff"> | ||
A lightweight TLS API. | ||
</body> | ||
</html> |
5 changes: 5 additions & 0 deletions
5
codenameone/examples/PubnubDevConsole/lib/impl/cls/org/bouncycastle/crypto/util/package.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<html> | ||
<body bgcolor="#ffffff"> | ||
Some general utility/conversion classes. | ||
</body> | ||
</html> |
5 changes: 5 additions & 0 deletions
5
codenameone/examples/PubnubDevConsole/lib/impl/cls/org/bouncycastle/math/ec/package.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<html> | ||
<body bgcolor="#ffffff"> | ||
Math support for Elliptic Curve. | ||
</body> | ||
</html> |
5 changes: 5 additions & 0 deletions
5
codenameone/examples/PubnubDevConsole/lib/impl/cls/org/bouncycastle/oiw/package.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<html> | ||
<body bgcolor="#ffffff"> | ||
Objects and OID for the support of ISO OIW. | ||
</body> | ||
</html> |
5 changes: 5 additions & 0 deletions
5
...ameone/examples/PubnubDevConsole/lib/impl/cls/org/bouncycastle/util/encoders/package.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<html> | ||
<body bgcolor="#ffffff"> | ||
Classes for producing and reading Base64 and Hex strings. | ||
</body> | ||
</html> |
14 changes: 14 additions & 0 deletions
14
...ameone/examples/PubnubDevConsole/lib/impl/stubs/com/codename1/io/PubnubCn1Connection.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package com.codename1.io; | ||
|
||
|
||
public class PubnubCn1Connection { | ||
|
||
public PubnubCn1Connection() { | ||
} | ||
|
||
public PubnubCn1Response fetch(String url, int timeout, java.util.Hashtable _headers) { | ||
} | ||
|
||
public void disconnect() { | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
codenameone/examples/PubnubDevConsole/lib/impl/stubs/com/codename1/io/PubnubCn1Response.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package com.codename1.io; | ||
|
||
|
||
public class PubnubCn1Response { | ||
|
||
public PubnubCn1Response(int responseStatusCode, String response) { | ||
} | ||
|
||
public String getResponse() { | ||
} | ||
|
||
public int getResponseStatusCode() { | ||
} | ||
} |
77 changes: 77 additions & 0 deletions
77
codenameone/examples/PubnubDevConsole/lib/impl/stubs/com/pubnub/api/Callback.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
package com.pubnub.api; | ||
|
||
|
||
/** | ||
* Abstract class to be subclassed by objects being passed as callbacks to | ||
* Pubnub APIs Default implementation for all methods is blank | ||
* | ||
* @author Pubnub | ||
*/ | ||
public abstract class Callback { | ||
|
||
public Callback() { | ||
} | ||
|
||
/** | ||
* This callback will be invoked when a message is received on the channel | ||
* | ||
* @param channel | ||
* Channel Name | ||
* @param message | ||
* Message | ||
*/ | ||
public abstract void successCallback(String channel, Object message) { | ||
} | ||
|
||
/** | ||
* This callback will be invoked when an error occurs | ||
* | ||
* @param channel | ||
* Channel Name | ||
* @param error | ||
* error | ||
*/ | ||
public void errorCallback(String channel, PubnubError error) { | ||
} | ||
|
||
/** | ||
* This callback will be invoked when an error occurs | ||
* | ||
* @param channel | ||
* Channel Name | ||
* @param message | ||
* Message | ||
* @deprecated as of version 3.5.2 and will be removed with 3.6.0 . | ||
* Replaced by {@link #errorCallback(String channel, PubnubError error)} | ||
*/ | ||
public void errorCallback(String channel, Object message) { | ||
} | ||
|
||
/** | ||
* This callback will be invoked on getting connected to a channel | ||
* | ||
* @param channel | ||
* Channel Name | ||
*/ | ||
public void connectCallback(String channel, Object message) { | ||
} | ||
|
||
/** | ||
* This callback is invoked on getting reconnected to a channel after | ||
* getting disconnected | ||
* | ||
* @param channel | ||
* Channel Name | ||
*/ | ||
public void reconnectCallback(String channel, Object message) { | ||
} | ||
|
||
/** | ||
* This callback is invoked on getting disconnected from a channel | ||
* | ||
* @param channel | ||
* Channel Name | ||
*/ | ||
public void disconnectCallback(String channel, Object message) { | ||
} | ||
} |
42 changes: 42 additions & 0 deletions
42
codenameone/examples/PubnubDevConsole/lib/impl/stubs/com/pubnub/api/HttpUtil.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
package com.pubnub.api; | ||
|
||
|
||
public class HttpUtil { | ||
|
||
public static final int HTTP_MOVED_PERM = 301; | ||
|
||
public static final int HTTP_MOVED_TEMP = 302; | ||
|
||
public static final int HTTP_SEE_OTHER = 303; | ||
|
||
public static final int HTTP_OK = 200; | ||
|
||
public static final int HTTP_FORBIDDEN = 403; | ||
|
||
public static final int HTTP_UNAUTHORIZED = 401; | ||
|
||
public static final int HTTP_BAD_REQUEST = 400; | ||
|
||
public static final int HTTP_BAD_GATEWAY = 502; | ||
|
||
public static final int HTTP_CLIENT_TIMEOUT = 408; | ||
|
||
public static final int HTTP_GATEWAY_TIMEOUT = 504; | ||
|
||
public static final int HTTP_INTERNAL_ERROR = 500; | ||
|
||
public HttpUtil() { | ||
} | ||
|
||
public static boolean isRedirect(int rc) { | ||
} | ||
|
||
public static boolean isOk(int rc) { | ||
} | ||
|
||
public static boolean checkResponse(int rc) { | ||
} | ||
|
||
public static boolean checkResponseSuccess(int rc) { | ||
} | ||
} |
Oops, something went wrong.