Subversion Repository Public Repository

litesoft

Diff Revisions 949 vs 950 for /trunk/Java/GWT/OldClient/src/org/litesoft/GWT/eventbus/client/nonpublic/AppInitializationResult.java

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