EMMA Coverage Report (generated Sun May 02 20:42:29 CEST 2010)
[all classes][hu.netmind.beankeeper.node.impl]

COVERAGE SUMMARY FOR SOURCE FILE [CallMessage.java]

nameclass, %method, %block, %line, %
CallMessage.java100% (1/1)100% (7/7)100% (55/55)100% (13/13)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class CallMessage100% (1/1)100% (7/7)100% (55/55)100% (13/13)
CallMessage (String, String, Class [], Object [], boolean): void 100% (1/1)100% (18/18)100% (7/7)
getMethod (): String 100% (1/1)100% (3/3)100% (1/1)
getParameterTypes (): Class [] 100% (1/1)100% (3/3)100% (1/1)
getParameters (): Object [] 100% (1/1)100% (3/3)100% (1/1)
getService (): String 100% (1/1)100% (3/3)100% (1/1)
isBroadcast (): boolean 100% (1/1)100% (3/3)100% (1/1)
toString (): String 100% (1/1)100% (22/22)100% (1/1)

1/**
2 * Copyright (C) 2006 NetMind Consulting Bt.
3 *
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 3 of the License, or (at your option) any later version.
8 *
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12 * Lesser General Public License for more details.
13 *
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
17 */
18 
19package hu.netmind.beankeeper.node.impl;
20 
21/**
22 * Send a call request.
23 * @author Brautigam Robert
24 * @version Revision: $Revision$
25 */
26public class CallMessage extends CommObject
27{
28   private String service;
29   private String method;
30   private Class[] parameterTypes;
31   private Object[] parameters;
32   private boolean broadcast;
33 
34   public CallMessage(String service, String method, Class[] parameterTypes,
35         Object[] parameters, boolean broadcast)
36   {
37      super();
38      this.service=service;
39      this.method=method;
40      this.parameterTypes=parameterTypes;
41      this.parameters=parameters;
42      this.broadcast=broadcast;
43   }
44 
45   public boolean isBroadcast()
46   {
47      return broadcast;
48   }
49 
50   public String getService()
51   {
52      return service;
53   }
54 
55   public String getMethod()
56   {
57      return method;
58   }
59 
60   public Class[] getParameterTypes()
61   {
62      return parameterTypes;
63   }
64 
65   public Object[] getParameters()
66   {
67      return parameters;
68   }
69 
70   public String toString()
71   {
72      return "[Call: "+service+"."+method+" ("+getSessionId()+")]";
73   }
74}
75 
76 

[all classes][hu.netmind.beankeeper.node.impl]
EMMA 2.0.5312debian (C) Vladimir Roubtsov