##### Coverage Report - com.ctrip.framework.apollo.cat.NullTransportManager

Classes in this File | Line Coverage | Branch Coverage | Complexity
NullTransportManager |
0% | 0/3
N/A | N/A
| 1.0;1
NullTransportManager$1 |
0% | 0/4
N/A | N/A
| 1.0;1

1 |  |
     package com.ctrip.framework.apollo.cat;
2 |  |
3 |  |
     import com.dianping.cat.message.io.MessageSender;
4 |  |
     import com.dianping.cat.message.io.TransportManager;
5 |  |
     import com.dianping.cat.message.spi.MessageTree;
6 |  |
7 | 0 |
     public class NullTransportManager implements TransportManager {
8 |  |
9 | 0 |
       private static final MessageSender nullMessageSender = new MessageSender() {
10 |  |
11 |  |
         @Override
12 |  |
         public void initialize() {
13 |  |
14 | 0 |
         }
15 |  |
16 |  |
         @Override
17 |  |
         public void send(MessageTree tree) {
18 |  |
19 | 0 |
         }
20 |  |
21 |  |
         @Override
22 |  |
         public void shutdown() {
23 |  |
24 | 0 |
         }
25 |  |
26 |  |
       };
27 |  |
28 |  |
       @Override
29 |  |
       public MessageSender getSender() {
30 | 0 |
         return nullMessageSender;
31 |  |
       }
32 |  |
33 |  |
     }