|
|||||||||||||||||||
| 30 day Evaluation Version distributed via the Maven Jar Repository. Clover is not free. You have 30 days to evaluate it. Please visit http://www.thecortex.net/clover to obtain a licensed version of Clover | |||||||||||||||||||
| Source file | Conditionals | Statements | Methods | TOTAL | |||||||||||||||
| SuspectEvent.java | - | 0% | 0% | 0% |
|
||||||||||||||
| 1 |
/*
|
|
| 2 |
* Replica is published under the terms
|
|
| 3 |
* of the Apache Software License.
|
|
| 4 |
*/
|
|
| 5 |
package replica.group.event;
|
|
| 6 |
|
|
| 7 |
import replica.group.Address;
|
|
| 8 |
|
|
| 9 |
/**
|
|
| 10 |
* Event class for suspect notification events.
|
|
| 11 |
*
|
|
| 12 |
* @author Pedro Costa
|
|
| 13 |
* @author Helder Silva
|
|
| 14 |
* @since 19/Jan/2004
|
|
| 15 |
*/
|
|
| 16 |
public class SuspectEvent extends GroupEvent { |
|
| 17 |
|
|
| 18 |
private Address address;
|
|
| 19 |
|
|
| 20 |
/**
|
|
| 21 |
* @param source
|
|
| 22 |
*/
|
|
| 23 | 0 |
public SuspectEvent(Object source, Address address) {
|
| 24 | 0 |
super(source);
|
| 25 |
|
|
| 26 | 0 |
setAddress( address ); |
| 27 |
} |
|
| 28 |
|
|
| 29 |
/**
|
|
| 30 |
* @return
|
|
| 31 |
*/
|
|
| 32 | 0 |
public Address getAddress() {
|
| 33 | 0 |
return address;
|
| 34 |
} |
|
| 35 |
|
|
| 36 |
/**
|
|
| 37 |
* @param address
|
|
| 38 |
*/
|
|
| 39 | 0 |
private void setAddress(Address address) { |
| 40 | 0 |
this.address = address;
|
| 41 |
} |
|
| 42 |
|
|
| 43 |
} |
|
| 44 |
|
|
||||||||||