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(java.lang.String location, java.lang.String systemId, java.net.InetSocketAddress source)
SyslogMessageLogDTO(java.lang.String location, java.lang.String systemId, java.net.InetSocketAddress source, java.util.List<SyslogMessageDTO> messages)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object other)
java.lang.String
getLocation()
java.util.List<SyslogMessageDTO>
getMessages()
java.net.InetAddress
getSourceAddress()
int
getSourcePort()
java.lang.String
getSystemId()
int
hashCode()
void
setLocation(java.lang.String location)
void
setMessages(java.util.List<SyslogMessageDTO> messages)
void
setSourceAddress(java.net.InetAddress sourceAddress)
void
setSourcePort(int sourcePort)
void
setSystemId(java.lang.String systemId)
-
-
-
Constructor Detail
-
SyslogMessageLogDTO
public SyslogMessageLogDTO()
-
SyslogMessageLogDTO
public SyslogMessageLogDTO(java.lang.String location, java.lang.String systemId, java.net.InetSocketAddress source)
-
SyslogMessageLogDTO
public SyslogMessageLogDTO(java.lang.String location, java.lang.String systemId, java.net.InetSocketAddress source, java.util.List<SyslogMessageDTO> messages)
-
-
Method Detail
-
getSourceAddress
public java.net.InetAddress getSourceAddress()
-
setSourceAddress
public void setSourceAddress(java.net.InetAddress sourceAddress)
-
getSourcePort
public int getSourcePort()
-
setSourcePort
public void setSourcePort(int sourcePort)
-
getSystemId
public java.lang.String getSystemId()
-
setSystemId
public void setSystemId(java.lang.String systemId)
-
getLocation
public java.lang.String getLocation()
-
setLocation
public void setLocation(java.lang.String location)
-
getMessages
public java.util.List<SyslogMessageDTO> getMessages()
-
setMessages
public void setMessages(java.util.List<SyslogMessageDTO> messages)
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-