File tree 10 files changed +13
-6
lines changed
devicehive-backend/src/main/java/com/devicehive
devicehive-common/src/main/java/com/devicehive/model
devicehive-proxy-ws-kafka-impl
devicehive-shim-kafka-impl/src/main/java/com/devicehive/shim
10 files changed +13
-6
lines changed Original file line number Diff line number Diff line change 20
20
* #L%
21
21
*/
22
22
23
+ import com .devicehive .model .ServerEvent ;
23
24
import com .devicehive .proxy .ProxyMessageDispatcher ;
24
25
import com .devicehive .proxy .ProxyRequestHandler ;
25
26
import com .devicehive .proxy .ProxyServerEventHandler ;
31
32
import com .devicehive .proxy .client .WebSocketKafkaProxyClient ;
32
33
import com .devicehive .proxy .config .WebSocketKafkaProxyConfig ;
33
34
import com .devicehive .shim .api .server .MessageDispatcher ;
34
- import com .devicehive .shim .kafka .server .ServerEvent ;
35
35
import com .google .gson .Gson ;
36
36
import com .lmax .disruptor .*;
37
37
import org .springframework .beans .factory .annotation .Autowired ;
Original file line number Diff line number Diff line change 20
20
* #L%
21
21
*/
22
22
23
+ import com .devicehive .model .ServerEvent ;
23
24
import com .devicehive .proxy .api .NotificationHandler ;
24
25
import com .devicehive .proxy .api .ProxyClient ;
25
26
import com .devicehive .shim .api .Request ;
26
- import com .devicehive .shim .kafka .server .ServerEvent ;
27
27
import com .google .gson .Gson ;
28
28
import com .lmax .disruptor .RingBuffer ;
29
29
import org .slf4j .Logger ;
Original file line number Diff line number Diff line change 21
21
*/
22
22
23
23
import com .devicehive .application .RequestHandlersMapper ;
24
+ import com .devicehive .model .ServerEvent ;
24
25
import com .devicehive .proxy .api .ProxyClient ;
25
26
import com .devicehive .proxy .api .ProxyMessage ;
26
27
import com .devicehive .proxy .api .ProxyMessageBuilder ;
31
32
import com .devicehive .shim .api .Request ;
32
33
import com .devicehive .shim .api .Response ;
33
34
import com .devicehive .shim .api .server .RequestHandler ;
34
- import com .devicehive .shim .kafka .server .ServerEvent ;
35
35
import com .google .gson .Gson ;
36
36
import com .lmax .disruptor .WorkHandler ;
37
37
import org .slf4j .Logger ;
Original file line number Diff line number Diff line change 1
- package com .devicehive .shim . kafka . server ;
1
+ package com .devicehive .model ;
2
2
3
3
/*
4
4
* #%L
Original file line number Diff line number Diff line change 28
28
<artifactId >javax.websocket-client-api</artifactId >
29
29
<version >${javax.websocket.version} </version >
30
30
</dependency >
31
+ <dependency >
32
+ <groupId >com.lmax</groupId >
33
+ <artifactId >disruptor</artifactId >
34
+ </dependency >
31
35
</dependencies >
32
36
</project >
Original file line number Diff line number Diff line change 28
28
import com .devicehive .shim .kafka .server .KafkaRpcServer ;
29
29
import com .devicehive .shim .config .KafkaRpcConfig ;
30
30
import com .devicehive .shim .kafka .server .RequestConsumer ;
31
- import com .devicehive .shim . kafka . server .ServerEvent ;
31
+ import com .devicehive .model .ServerEvent ;
32
32
import com .devicehive .shim .kafka .server .ServerEventHandler ;
33
33
import com .devicehive .shim .kafka .topic .KafkaTopicService ;
34
34
import com .google .gson .Gson ;
Original file line number Diff line number Diff line change 26
26
import com .devicehive .shim .api .server .RpcServer ;
27
27
import com .devicehive .shim .kafka .server .KafkaRpcServer ;
28
28
import com .devicehive .shim .kafka .server .RequestConsumer ;
29
- import com .devicehive .shim . kafka . server .ServerEvent ;
29
+ import com .devicehive .model .ServerEvent ;
30
30
import com .devicehive .shim .kafka .server .ServerEventHandler ;
31
31
import com .lmax .disruptor .FatalExceptionHandler ;
32
32
import com .lmax .disruptor .WorkerPool ;
Original file line number Diff line number Diff line change 20
20
* #L%
21
21
*/
22
22
23
+ import com .devicehive .model .ServerEvent ;
23
24
import com .devicehive .shim .api .server .MessageDispatcher ;
24
25
import com .devicehive .shim .api .server .RpcServer ;
25
26
import com .lmax .disruptor .RingBuffer ;
Original file line number Diff line number Diff line change 20
20
* #L%
21
21
*/
22
22
23
+ import com .devicehive .model .ServerEvent ;
23
24
import com .devicehive .shim .api .Request ;
24
25
import com .lmax .disruptor .RingBuffer ;
25
26
import org .apache .kafka .clients .consumer .ConsumerRecords ;
Original file line number Diff line number Diff line change 20
20
* #L%
21
21
*/
22
22
23
+ import com .devicehive .model .ServerEvent ;
23
24
import com .devicehive .shim .api .Request ;
24
25
import com .devicehive .shim .api .Response ;
25
26
import com .devicehive .shim .api .server .MessageDispatcher ;
You can’t perform that action at this time.
0 commit comments