litesoft
Diff Revisions
947
vs
948
for /trunk/Java/GWT/OldServer/src/org/litesoft/GWT/eventbus/server/nonpublic/NonTemporaryServerEventBus.java
|
@@ -5,15 +5,12 @@ |
5 |
5 |
|
import org.litesoft.GWT.eventbus.server.*; |
6 |
6 |
|
import org.litesoft.logger.*; |
7 |
7 |
|
|
8 |
|
- |
public abstract class NonTemporaryServerEventBus extends ServerEventBus |
9 |
|
- |
{ |
10 |
|
- |
protected NonTemporaryServerEventBus( int pClientIdNumber ) |
11 |
|
- |
{ |
|
8 |
+ |
public abstract class NonTemporaryServerEventBus extends ServerEventBus { |
|
9 |
+ |
protected NonTemporaryServerEventBus( int pClientIdNumber ) { |
12 |
10 |
|
super( pClientIdNumber ); |
13 |
11 |
|
} |
14 |
12 |
|
|
15 |
|
- |
public synchronized ServerSideRemotePeerService initialize( String pWhy ) |
16 |
|
- |
{ |
|
13 |
+ |
public synchronized ServerSideRemotePeerService initialize( String pWhy ) { |
17 |
14 |
|
Logger logger = createLogger(); |
18 |
15 |
|
ServerSideRemotePeerService rv = new ServerSideRemotePeerService( logger, this ); |
19 |
16 |
|
mRemotePeerService = rv; |
|
@@ -24,21 +21,20 @@ |
24 |
21 |
|
// For Browser Data use the current SEB if there is one (might be a Temp) |
25 |
22 |
|
ServerEventBus zCurrentBus = ServerEventBusManager.INSTANCE.getServerEventBus( getClientIdNumber() ); |
26 |
23 |
|
sharedInitialization( pWhy, ServerEventBusManager.INSTANCE.getParentClientID( getClientIdNumber() ), ( |
27 |
|
- |
zCurrentBus != null) ? zCurrentBus.getClientWindowInstanceDataManager() : null ); |
|
24 |
+ |
zCurrentBus != null) ? |
|
25 |
+ |
zCurrentBus.getClientWindowInstanceDataManager() : |
|
26 |
+ |
null ); |
28 |
27 |
|
return rv; |
29 |
28 |
|
} |
30 |
29 |
|
|
31 |
30 |
|
private RemotePeerService mRemotePeerService; |
32 |
31 |
|
|
33 |
|
- |
public synchronized RemotePeerService getRemotePeerService() |
34 |
|
- |
{ |
|
32 |
+ |
public synchronized RemotePeerService getRemotePeerService() { |
35 |
33 |
|
return mRemotePeerService; |
36 |
34 |
|
} |
37 |
35 |
|
|
38 |
|
- |
protected void LLdispose( String pWhy ) |
39 |
|
- |
{ |
40 |
|
- |
synchronized ( this ) |
41 |
|
- |
{ |
|
36 |
+ |
protected void LLdispose( String pWhy ) { |
|
37 |
+ |
synchronized ( this ) { |
42 |
38 |
|
mRemotePeerService = RemotePeerService.Null.INSTANCE; |
43 |
39 |
|
} |
44 |
40 |
|
super.LLdispose( pWhy ); |