|
@@ -1,15 +1,14 @@ |
1 |
1 |
|
// This Source Code is in the Public Domain per: http://unlicense.org |
2 |
2 |
|
package org.litesoft.GWT.eventbus.client.nonpublic; |
3 |
3 |
|
|
4 |
|
- |
import java.io.*; |
5 |
|
- |
import java.util.*; |
6 |
|
- |
|
7 |
4 |
|
import org.litesoft.GWT.eventbus.client.*; |
8 |
5 |
|
import org.litesoft.GWT.eventbus.client.rpc.*; |
9 |
6 |
|
import org.litesoft.core.simpletypes.*; |
10 |
7 |
|
|
11 |
|
- |
public class AppInitializationResult implements Serializable |
12 |
|
- |
{ |
|
8 |
+ |
import java.io.*; |
|
9 |
+ |
import java.util.*; |
|
10 |
+ |
|
|
11 |
+ |
public class AppInitializationResult implements Serializable { |
13 |
12 |
|
private static final long serialVersionUID = 1L; |
14 |
13 |
|
|
15 |
14 |
|
private int mClientIdNumber; |
|
@@ -25,8 +24,7 @@ |
25 |
24 |
|
/** |
26 |
25 |
|
* @deprecated GWT ONLY |
27 |
26 |
|
*/ |
28 |
|
- |
public AppInitializationResult() |
29 |
|
- |
{ |
|
27 |
+ |
public AppInitializationResult() { |
30 |
28 |
|
} |
31 |
29 |
|
|
32 |
30 |
|
/** |
|
@@ -35,8 +33,7 @@ |
35 |
33 |
|
public AppInitializationResult( int pClientIdNumber, String pEncodedClientId, |
36 |
34 |
|
Map<String, String> pClientConfig, |
37 |
35 |
|
ChannelServicePackage pChannelServicePackage, |
38 |
|
- |
String pApplicationVersion, AuthenticationData pAuthenticationData ) |
39 |
|
- |
{ |
|
36 |
+ |
String pApplicationVersion, AuthenticationData pAuthenticationData ) { |
40 |
37 |
|
mClientIdNumber = pClientIdNumber; |
41 |
38 |
|
mEncodedClientId = pEncodedClientId; |
42 |
39 |
|
mClientConfig = new SSMap( pClientConfig ); |
|
@@ -45,38 +42,31 @@ |
45 |
42 |
|
mAuthenticationData = pAuthenticationData; |
46 |
43 |
|
} |
47 |
44 |
|
|
48 |
|
- |
public int getClientIdNumber() |
49 |
|
- |
{ |
|
45 |
+ |
public int getClientIdNumber() { |
50 |
46 |
|
return mClientIdNumber; |
51 |
47 |
|
} |
52 |
48 |
|
|
53 |
|
- |
public String getEncodedClientId() |
54 |
|
- |
{ |
|
49 |
+ |
public String getEncodedClientId() { |
55 |
50 |
|
return mEncodedClientId; |
56 |
51 |
|
} |
57 |
52 |
|
|
58 |
|
- |
public Map<String, String> getClientConfig() |
59 |
|
- |
{ |
|
53 |
+ |
public Map<String, String> getClientConfig() { |
60 |
54 |
|
return mClientConfig; |
61 |
55 |
|
} |
62 |
56 |
|
|
63 |
|
- |
public ChannelServicePackage getChannelServicePackage() |
64 |
|
- |
{ |
|
57 |
+ |
public ChannelServicePackage getChannelServicePackage() { |
65 |
58 |
|
return mChannelServicePackage; |
66 |
59 |
|
} |
67 |
60 |
|
|
68 |
|
- |
public ChannelEventPackage getInitialChannelEvent() |
69 |
|
- |
{ |
|
61 |
+ |
public ChannelEventPackage getInitialChannelEvent() { |
70 |
62 |
|
return null; |
71 |
63 |
|
} |
72 |
64 |
|
|
73 |
|
- |
public String getApplicationVersion() |
74 |
|
- |
{ |
|
65 |
+ |
public String getApplicationVersion() { |
75 |
66 |
|
return mApplicationVersion; |
76 |
67 |
|
} |
77 |
68 |
|
|
78 |
|
- |
public AuthenticationData getAuthenticationData() |
79 |
|
- |
{ |
|
69 |
+ |
public AuthenticationData getAuthenticationData() { |
80 |
70 |
|
return mAuthenticationData; |
81 |
71 |
|
} |
82 |
72 |
|
} |