public class FaultManager
extends java.lang.Object
Constructor and Description |
---|
FaultManager(ESB theESB,
PasswordHandler thePasswordHandler,
LinkSpec linkSpec)
Create a new instance of FaultManager.
|
Modifier and Type | Method and Description |
---|---|
Link_NM |
getFaultsTree()
Get the faults list tree.
|
void |
notifyOfFault(FaultDetails fault)
This method should be called to notify the server about a problem or fault.
|
public FaultManager(ESB theESB, PasswordHandler thePasswordHandler, LinkSpec linkSpec) throws java.lang.Exception
theESB
- the server ESB.thePasswordHandler
- the server password handler.linkSpec
- dynamic linking spec for the fault tree.java.lang.Exception
- any error.public void notifyOfFault(FaultDetails fault)
fault
- a description of the fault.public Link_NM getFaultsTree()