org.graylog2.syslog4j.impl.net.udp.UDPNetSyslogConfig Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of syslog4j Show documentation
Show all versions of syslog4j Show documentation
Syslog4j provides client and server implementations of the BSD Syslog protocol (RFC 3164) and the draft "structured syslog" protocol (RFC Draft).
This is a repackaged fork used in Graylog2, as the original package has no recent versions published to Maven Central.
package org.graylog2.syslog4j.impl.net.udp;
import org.graylog2.syslog4j.impl.net.AbstractNetSyslogConfig;
/**
* UDPNetSyslogConfig is an extension of AbstractNetSyslogConfig that provides
* configuration support for UDP/IP-based syslog clients.
*
* Syslog4j is licensed under the Lesser GNU Public License v2.1. A copy
* of the LGPL license is available in the META-INF folder in all
* distributions of Syslog4j and in the base directory of the "doc" ZIP.
*
* @author <[email protected]>
* @version $Id: UDPNetSyslogConfig.java,v 1.6 2008/11/14 04:32:00 cvs Exp $
*/
public class UDPNetSyslogConfig extends AbstractNetSyslogConfig {
private static final long serialVersionUID = 4465067182562754345L;
public UDPNetSyslogConfig() {
super();
}
public UDPNetSyslogConfig(int facility, String host, int port) {
super(facility, host, port);
}
public UDPNetSyslogConfig(int facility, String host) {
super(facility, host);
}
public UDPNetSyslogConfig(int facility) {
super(facility);
}
public UDPNetSyslogConfig(String host, int port) {
super(host, port);
}
public UDPNetSyslogConfig(String host) {
super(host);
}
public Class getSyslogClass() {
return UDPNetSyslog.class;
}
}