Package org.opennms.netmgt.syslogd.api
Class SyslogMessageLogDTO
- java.lang.Object
-
- org.opennms.netmgt.syslogd.api.SyslogMessageLogDTO
-
-
Field Summary
-
Fields inherited from interface org.opennms.core.ipc.sink.api.Message
SINK_METRIC_CONSUMER_DOMAIN, SINK_METRIC_PRODUCER_DOMAIN
-
-
Constructor Summary
Constructors Constructor Description SyslogMessageLogDTO()
SyslogMessageLogDTO(String location, String systemId, InetSocketAddress source)
SyslogMessageLogDTO(String location, String systemId, InetSocketAddress source, List<SyslogMessageDTO> messages)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object other)
String
getLocation()
List<SyslogMessageDTO>
getMessages()
InetAddress
getSourceAddress()
int
getSourcePort()
String
getSystemId()
int
hashCode()
void
setLocation(String location)
void
setMessages(List<SyslogMessageDTO> messages)
void
setSourceAddress(InetAddress sourceAddress)
void
setSourcePort(int sourcePort)
void
setSystemId(String systemId)
-
-
-
Constructor Detail
-
SyslogMessageLogDTO
public SyslogMessageLogDTO()
-
SyslogMessageLogDTO
public SyslogMessageLogDTO(String location, String systemId, InetSocketAddress source)
-
SyslogMessageLogDTO
public SyslogMessageLogDTO(String location, String systemId, InetSocketAddress source, List<SyslogMessageDTO> messages)
-
-
Method Detail
-
getSourceAddress
public InetAddress getSourceAddress()
-
setSourceAddress
public void setSourceAddress(InetAddress sourceAddress)
-
getSourcePort
public int getSourcePort()
-
setSourcePort
public void setSourcePort(int sourcePort)
-
getSystemId
public String getSystemId()
-
setSystemId
public void setSystemId(String systemId)
-
getLocation
public String getLocation()
-
setLocation
public void setLocation(String location)
-
getMessages
public List<SyslogMessageDTO> getMessages()
-
setMessages
public void setMessages(List<SyslogMessageDTO> messages)
-
-