EMMA Coverage Report (generated Mon Aug 23 17:21:34 CEST 2010)
[all classes][dmg.cells.nucleus]

COVERAGE SUMMARY FOR SOURCE FILE [DelayedReply.java]

nameclass, %method, %block, %line, %
DelayedReply.java0%   (0/1)0%   (0/3)0%   (0/40)0%   (0/12)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class DelayedReply0%   (0/1)0%   (0/3)0%   (0/40)0%   (0/12)
DelayedReply (): void 0%   (0/1)0%   (0/3)0%   (0/1)
deliver (CellEndpoint, CellMessage): void 0%   (0/1)0%   (0/18)0%   (0/6)
send (Object): void 0%   (0/1)0%   (0/19)0%   (0/5)

1package dmg.cells.nucleus;
2 
3public class DelayedReply implements Reply
4{
5    private CellEndpoint _endpoint;
6    private CellMessage _envelope;
7 
8    public synchronized void deliver(CellEndpoint endpoint, CellMessage envelope)
9    {
10        if (endpoint == null || envelope == null)
11            throw new IllegalArgumentException("Arguments must not be null");
12        _endpoint = endpoint;
13        _envelope = envelope;
14        notifyAll();
15    }
16 
17    public synchronized void send(Object msg)
18        throws SerializationException,
19               NoRouteToCellException,
20               InterruptedException
21    {
22        while (_endpoint == null || _envelope == null)
23            wait();
24        _envelope.setMessageObject(msg);
25        _endpoint.sendMessage(_envelope);
26    }
27}

[all classes][dmg.cells.nucleus]
EMMA 2.0.5312 (C) Vladimir Roubtsov