Package org.opennms.netmgt.tl1d
Class Tl1Message
- java.lang.Object
-
- org.opennms.netmgt.tl1d.Tl1Message
-
- Direct Known Subclasses:
Tl1AutonomousMessage
public abstract class Tl1Message extends Object
Abstraction for generic TL1 Messages. Must generic methods are used to populate OpenNMS Event fields.- Version:
- $Id: $
- Author:
- David Hustace
-
-
Field Summary
Fields Modifier and Type Field Description static int
ACKNOWLEDGEMENT
ConstantACKNOWLEDGEMENT=3
static int
AUTONOMOUS
ConstantAUTONOMOUS=4
static int
INPUT
ConstantINPUT=1
static int
OUTPUT
ConstantOUTPUT=2
-
Constructor Summary
Constructors Constructor Description Tl1Message()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getHost()
getHostString
getRawMessage()
getRawMessageDate
getTimestamp()
getTimestampvoid
setHost(String host)
setHostvoid
setRawMessage(String rawMessage)
setRawMessagevoid
setTimestamp(Date timestamp)
setTimestampString
toString()
toString
-
-
-
Field Detail
-
INPUT
public static final int INPUT
ConstantINPUT=1
- See Also:
- Constant Field Values
-
OUTPUT
public static final int OUTPUT
ConstantOUTPUT=2
- See Also:
- Constant Field Values
-
ACKNOWLEDGEMENT
public static final int ACKNOWLEDGEMENT
ConstantACKNOWLEDGEMENT=3
- See Also:
- Constant Field Values
-
AUTONOMOUS
public static final int AUTONOMOUS
ConstantAUTONOMOUS=4
- See Also:
- Constant Field Values
-
-