EMMA Coverage Report (generated Tue Dec 18 20:38:46 CET 2007)
[all classes][cz.vutbr.feec.session.rtprtcp]

## COVERAGE SUMMARY FOR SOURCE FILE [AudioSession.java]

name | class, % | method, % | block, % | line, %
--- | --- | --- | --- | ---
AudioSession.java | 0% (0/1) | 0% (0/8) | 0% (0/45) | 0% (0/14)

### COVERAGE BREAKDOWN BY CLASS AND METHOD

name | class, % | method, % | block, % | line, %
--- | --- | --- | --- | ---
class AudioSession | 0% (0/1) | 0% (0/8) | 0% (0/45) | 0% (0/14)
<static initializer> |  | 0% (0/1) | 0% (0/5) | 0% (0/3)
AudioSession (Config, Socket, String, int): void |  | 0% (0/1) | 0% (0/7) | 0% (0/2)
AudioSession (Config, String, int): void |  | 0% (0/1) | 0% (0/6) | 0% (0/2)
getBandwidth (): int |  | 0% (0/1) | 0% (0/5) | 0% (0/1)
getFeedbackInPort (): int |  | 0% (0/1) | 0% (0/5) | 0% (0/1)
getFeedbackOutPort (): int |  | 0% (0/1) | 0% (0/5) | 0% (0/1)
getSSMPort (): int |  | 0% (0/1) | 0% (0/5) | 0% (0/1)
stopThread (): void |  | 0% (0/1) | 0% (0/7) | 0% (0/3)

1 | package cz.vutbr.feec.session.rtprtcp;
2 |
3 | import org.apache.log4j.Logger;
4 |
5 | import net.java.dev.jssm.Socket;
6 |
7 | /**
8 | * The Class AudioSession.
9 | *
10 | * @brief Session for managing audio stream. This class could not be instantied
11 | * directly, only throught AVSession.
12 | * @author burgetrm
13 | */
14 | public class AudioSession extends AbstractSession {
15 | /** The logger. */
16 | private static Logger logger = Logger
17 | .getLogger(AudioSession.class.getName());
18 | /**
19 | * Creates session for stream and configures according to Config class.
20 | * Used to create receiver session.
21 | *
22 | * @param cfg the cfg
23 | */
24 | public AudioSession(Config cfg, String name, int payloadType) {
25 | super(cfg, name, payloadType);
26 | }
27 |
28 | /**
29 | * Creates session for stream and configures according to Config class.
30 | * Used to create sender session.
31 | *
32 | * @param multicastSocket the multicast socket
33 | * @param cfg the cfg
34 | */
35 | public AudioSession(Config cfg, Socket multicastSocket, String name, int payloadType) {
36 | super(cfg, multicastSocket, name, payloadType);
37 | }
38 |
39 | /* (non-Javadoc)
40 | * @see cz.vutbr.feec.utko.iptv.session.AbstractSession#getBandwidth()
41 | */
42 | @Override
43 | public int getBandwidth() {
44 | return cfg.getBandwidthAudio();
45 | }
46 |
47 | /**
48 | * returns port of feedback for AUDIO from config for this session.
49 | *
50 | * @return the feedback out port
51 | */
52 | @Override
53 | public int getFeedbackOutPort() {
54 | return cfg.getFeedbackOutPortAudio();
55 | }
56 |
57 | /**
58 | * returns port of feedback for AUDIO from config for this session.
59 | *
60 | * @return the feedback in port
61 | */
62 | @Override
63 | public int getFeedbackInPort() {
64 | return cfg.getFeedbackInPortAudio();
65 | }
66 |
67 | /* (non-Javadoc)
68 | * @see cz.vutbr.feec.utko.iptv.session.AbstractSession#getSSMPort()
69 | */
70 | @Override
71 | public int getSSMPort() {
72 | return cfg.getSSMPortAudio();
73 | }
74 |
75 | public void stopThread() {
76 | logger.debug("Stopping RTP/RTCP session");
77 | session.stopSession();
78 | }
79 | }

[all classes][cz.vutbr.feec.session.rtprtcp]
EMMA 2.0.5312 EclEmma Fix 1 (C) Vladimir Roubtsov