forked from getlantern/lantern
-
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.
Changing dependency structure to no longer use common
- Loading branch information
1 parent
c7e7d3e
commit 8cc7267
Showing
9 changed files
with
74 additions
and
15 deletions.
There are no files selected for viewing
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 @@ | ||
*.swp | ||
*.settings | ||
*.classpath | ||
*.project | ||
**/target |
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
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
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
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
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
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
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
36 changes: 36 additions & 0 deletions
36
client/src/main/java/org/lantern/client/XmppMessageConstants.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,36 @@ | ||
package org.lantern.client; | ||
|
||
/** | ||
* Class containing constants for message property keys. | ||
*/ | ||
public class XmppMessageConstants { | ||
|
||
private XmppMessageConstants() {} | ||
|
||
public static final String MAC = "M"; | ||
|
||
public static final String HASHCODE = "H"; | ||
|
||
public static final String SEQ = "S"; | ||
|
||
public static final String MD5 = "M5"; | ||
|
||
public static final String HTTP = "HT"; | ||
|
||
public static final String SERVER_MAC = "SM"; | ||
|
||
public static final String CLOSE = "CL"; | ||
|
||
//public static final String TYPE = "T"; | ||
|
||
public static final int INFO_REQUEST_TYPE = 0x1111; | ||
|
||
public static final int INFO_RESPONSE_TYPE = 0x1112; | ||
|
||
public static final int ERROR_TYPE = 0x1113; | ||
|
||
public static final String PROXIES = "P"; | ||
|
||
public static final String MESSAGE = "ME"; | ||
|
||
} |