Subversion Repository Public Repository

litesoft

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

Diff revisions: vs.
  @@ -1,146 +1,146 @@
1 - // This Source Code is in the Public Domain per: http://unlicense.org
2 - package org.litesoft.GWT.eventbus.client;
3 -
4 - import org.litesoft.GWT.eventbus.client.nonpublic.*;
5 - import org.litesoft.commonfoundation.issues.*;
6 - import org.litesoft.core.delayed.*;
7 - import org.litesoft.core.util.*;
8 - import org.litesoft.logger.*;
9 -
10 - public interface IEventBus {
11 - TimedRunner getTimedRunner();
12 -
13 - UnexpectedExceptionHandler getUnexpectedExceptionHandler();
14 -
15 - UnexpectedProblemHandler getUnexpectedProblemHandler();
16 -
17 - UnexpectedEventPackageHandler getUnexpectedEventPackageHandler();
18 -
19 - void handleUnexpectedPackage( String pFrom, EventPackage pPackage );
20 -
21 - void handleUnexpectedProblem( String pFrom, Problem pProblem );
22 -
23 - void handleUnexpectedException( String pFrom, Throwable pThrowable );
24 -
25 - String getForm() // Client / Server / ...
26 - ;
27 -
28 - int getClientIdNumber();
29 -
30 - Logger getLogger();
31 -
32 - void removeClientWindowInstanceData( String pName );
33 -
34 - void setClientWindowInstanceData( String pName, Object pValue );
35 -
36 - Object getClientWindowInstanceData( String pName );
37 -
38 - void dispose( String pWhy );
39 -
40 - boolean isAliveAndWell();
41 -
42 - boolean isDisposed();
43 -
44 - String getNextUniqueID();
45 -
46 - void subscribe( String pTargetName, EventPackageListener pListener );
47 -
48 - void subscribe( EventPackageSubscriber pSubscriber );
49 -
50 - void subscribe( EventSubscriptionStructure pStructure );
51 -
52 - void subscribe( EventSubscriptionStructure[] pStructures );
53 -
54 - void subscribe( EventSubscriptionCollector pCollector );
55 -
56 - void subscribeAndPublish( String pTargetName, EventPackageListener pListener,
57 - EventPackage pPackage );
58 -
59 - void subscribeAndPublish( String pTargetName, EventPackageListener pListener,
60 - EventPackage[] pPackages );
61 -
62 - void subscribeAndPublish( EventPackageSubscriber pSubscriber, EventPackage pPackage );
63 -
64 - void subscribeAndPublish( EventPackageSubscriber pSubscriber, EventPackage[] pPackages );
65 -
66 - void subscribeAndPublish( EventSubscriptionStructure pSubscription, EventPackage pPackage );
67 -
68 - void subscribeAndPublish( EventSubscriptionStructure pSubscription,
69 - EventPackage[] pPackages );
70 -
71 - void subscribeAndPublish( EventSubscriptionStructure[] pSubscriptions,
72 - EventPackage pPackage );
73 -
74 - void subscribeAndPublish( EventSubscriptionStructure[] pSubscriptions,
75 - EventPackage[] pPackages );
76 -
77 - void subscribeAndPublish( EventSubscriptionCollector pCollector, EventPackage pPackage );
78 -
79 - void subscribeAndPublish( EventSubscriptionCollector pCollector, EventPackage[] pPackages );
80 -
81 - void publish( EventPackage pPackage );
82 -
83 - void publish( EventPackage[] pPackages );
84 -
85 - void publishIn( int pInMilliSecs, EventPackage pPackage );
86 -
87 - void subscribeIfNotDisposed( String pTargetName, EventPackageListener pListener );
88 -
89 - void subscribeIfNotDisposed( EventPackageSubscriber pSubscriber );
90 -
91 - void subscribeIfNotDisposed( EventSubscriptionStructure pStructure );
92 -
93 - void subscribeIfNotDisposed( EventSubscriptionStructure[] pStructures );
94 -
95 - void subscribeIfNotDisposed( EventSubscriptionCollector pCollector );
96 -
97 - void subscribeAndPublishIfNotDisposed( String pTargetName, EventPackageListener pListener,
98 - EventPackage pPackage );
99 -
100 - void subscribeAndPublishIfNotDisposed( String pTargetName, EventPackageListener pListener,
101 - EventPackage[] pPackages );
102 -
103 - void subscribeAndPublishIfNotDisposed( EventPackageSubscriber pSubscriber,
104 - EventPackage pPackage );
105 -
106 - void subscribeAndPublishIfNotDisposed( EventPackageSubscriber pSubscriber,
107 - EventPackage[] pPackages );
108 -
109 - void subscribeAndPublishIfNotDisposed( EventSubscriptionStructure pSubscription,
110 - EventPackage pPackage );
111 -
112 - void subscribeAndPublishIfNotDisposed( EventSubscriptionStructure pSubscription,
113 - EventPackage[] pPackages );
114 -
115 - void subscribeAndPublishIfNotDisposed( EventSubscriptionStructure[] pSubscriptions,
116 - EventPackage pPackage );
117 -
118 - void subscribeAndPublishIfNotDisposed( EventSubscriptionStructure[] pSubscriptions,
119 - EventPackage[] pPackages );
120 -
121 - void subscribeAndPublishIfNotDisposed( EventSubscriptionCollector pCollector,
122 - EventPackage pPackage );
123 -
124 - void subscribeAndPublishIfNotDisposed( EventSubscriptionCollector pCollector,
125 - EventPackage[] pPackages );
126 -
127 - void publishIfNotDisposed( EventPackage pPackage );
128 -
129 - void publishIfNotDisposed( EventPackage[] pPackages );
130 -
131 - void publishInIfNotDisposed( int pInMilliSecs, EventPackage pPackage );
132 -
133 - void publishExpectingResponse( EventPackage pPackage );
134 -
135 - void unsubscribe( String pTargetName, EventPackageListener pListener );
136 -
137 - void unsubscribe( EventPackageSubscriber pSubscriber );
138 -
139 - void unsubscribe( EventSubscriptionStructure pSubscription );
140 -
141 - void unsubscribe( EventSubscriptionStructure[] pSubscriptions );
142 -
143 - void unsubscribe( EventSubscriptionCollector pCollector );
144 -
145 - ClientWindowInstanceDataManager getClientWindowInstanceDataManager();
146 - }
1 + // This Source Code is in the Public Domain per: http://unlicense.org
2 + package org.litesoft.GWT.eventbus.client;
3 +
4 + import org.litesoft.GWT.eventbus.client.nonpublic.*;
5 + import org.litesoft.commonfoundation.issues.*;
6 + import org.litesoft.core.delayed.*;
7 + import org.litesoft.core.util.*;
8 + import org.litesoft.logger.*;
9 +
10 + public interface IEventBus {
11 + TimedRunner getTimedRunner();
12 +
13 + UnexpectedExceptionHandler getUnexpectedExceptionHandler();
14 +
15 + UnexpectedProblemHandler getUnexpectedProblemHandler();
16 +
17 + UnexpectedEventPackageHandler getUnexpectedEventPackageHandler();
18 +
19 + void handleUnexpectedPackage( String pFrom, EventPackage pPackage );
20 +
21 + void handleUnexpectedProblem( String pFrom, Problem pProblem );
22 +
23 + void handleUnexpectedException( String pFrom, Throwable pThrowable );
24 +
25 + String getForm() // Client / Server / ...
26 + ;
27 +
28 + int getClientIdNumber();
29 +
30 + Logger getLogger();
31 +
32 + void removeClientWindowInstanceData( String pName );
33 +
34 + void setClientWindowInstanceData( String pName, Object pValue );
35 +
36 + Object getClientWindowInstanceData( String pName );
37 +
38 + void dispose( String pWhy );
39 +
40 + boolean isAliveAndWell();
41 +
42 + boolean isDisposed();
43 +
44 + String getNextUniqueID();
45 +
46 + void subscribe( String pTargetName, EventPackageListener pListener );
47 +
48 + void subscribe( EventPackageSubscriber pSubscriber );
49 +
50 + void subscribe( EventSubscriptionStructure pStructure );
51 +
52 + void subscribe( EventSubscriptionStructure[] pStructures );
53 +
54 + void subscribe( EventSubscriptionCollector pCollector );
55 +
56 + void subscribeAndPublish( String pTargetName, EventPackageListener pListener,
57 + EventPackage pPackage );
58 +
59 + void subscribeAndPublish( String pTargetName, EventPackageListener pListener,
60 + EventPackage[] pPackages );
61 +
62 + void subscribeAndPublish( EventPackageSubscriber pSubscriber, EventPackage pPackage );
63 +
64 + void subscribeAndPublish( EventPackageSubscriber pSubscriber, EventPackage[] pPackages );
65 +
66 + void subscribeAndPublish( EventSubscriptionStructure pSubscription, EventPackage pPackage );
67 +
68 + void subscribeAndPublish( EventSubscriptionStructure pSubscription,
69 + EventPackage[] pPackages );
70 +
71 + void subscribeAndPublish( EventSubscriptionStructure[] pSubscriptions,
72 + EventPackage pPackage );
73 +
74 + void subscribeAndPublish( EventSubscriptionStructure[] pSubscriptions,
75 + EventPackage[] pPackages );
76 +
77 + void subscribeAndPublish( EventSubscriptionCollector pCollector, EventPackage pPackage );
78 +
79 + void subscribeAndPublish( EventSubscriptionCollector pCollector, EventPackage[] pPackages );
80 +
81 + void publish( EventPackage pPackage );
82 +
83 + void publish( EventPackage[] pPackages );
84 +
85 + void publishIn( int pInMilliSecs, EventPackage pPackage );
86 +
87 + void subscribeIfNotDisposed( String pTargetName, EventPackageListener pListener );
88 +
89 + void subscribeIfNotDisposed( EventPackageSubscriber pSubscriber );
90 +
91 + void subscribeIfNotDisposed( EventSubscriptionStructure pStructure );
92 +
93 + void subscribeIfNotDisposed( EventSubscriptionStructure[] pStructures );
94 +
95 + void subscribeIfNotDisposed( EventSubscriptionCollector pCollector );
96 +
97 + void subscribeAndPublishIfNotDisposed( String pTargetName, EventPackageListener pListener,
98 + EventPackage pPackage );
99 +
100 + void subscribeAndPublishIfNotDisposed( String pTargetName, EventPackageListener pListener,
101 + EventPackage[] pPackages );
102 +
103 + void subscribeAndPublishIfNotDisposed( EventPackageSubscriber pSubscriber,
104 + EventPackage pPackage );
105 +
106 + void subscribeAndPublishIfNotDisposed( EventPackageSubscriber pSubscriber,
107 + EventPackage[] pPackages );
108 +
109 + void subscribeAndPublishIfNotDisposed( EventSubscriptionStructure pSubscription,
110 + EventPackage pPackage );
111 +
112 + void subscribeAndPublishIfNotDisposed( EventSubscriptionStructure pSubscription,
113 + EventPackage[] pPackages );
114 +
115 + void subscribeAndPublishIfNotDisposed( EventSubscriptionStructure[] pSubscriptions,
116 + EventPackage pPackage );
117 +
118 + void subscribeAndPublishIfNotDisposed( EventSubscriptionStructure[] pSubscriptions,
119 + EventPackage[] pPackages );
120 +
121 + void subscribeAndPublishIfNotDisposed( EventSubscriptionCollector pCollector,
122 + EventPackage pPackage );
123 +
124 + void subscribeAndPublishIfNotDisposed( EventSubscriptionCollector pCollector,
125 + EventPackage[] pPackages );
126 +
127 + void publishIfNotDisposed( EventPackage pPackage );
128 +
129 + void publishIfNotDisposed( EventPackage[] pPackages );
130 +
131 + void publishInIfNotDisposed( int pInMilliSecs, EventPackage pPackage );
132 +
133 + void publishExpectingResponse( EventPackage pPackage );
134 +
135 + void unsubscribe( String pTargetName, EventPackageListener pListener );
136 +
137 + void unsubscribe( EventPackageSubscriber pSubscriber );
138 +
139 + void unsubscribe( EventSubscriptionStructure pSubscription );
140 +
141 + void unsubscribe( EventSubscriptionStructure[] pSubscriptions );
142 +
143 + void unsubscribe( EventSubscriptionCollector pCollector );
144 +
145 + ClientWindowInstanceDataManager getClientWindowInstanceDataManager();
146 + }