package org.graylog2.syslog4j.impl.net.tcp; import org.graylog2.syslog4j.impl.net.AbstractNetSyslogConfigIF; /** * TCPNetSyslogConfigIF is a configuration interface supporting TCP/IP-based * Syslog implementations. * <p/> * <p>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.</p> * * @author <syslog4j@productivity.org> * @version $Id: TCPNetSyslogConfigIF.java,v 1.6 2010/10/29 03:14:12 cvs Exp $ */ public interface TCPNetSyslogConfigIF extends AbstractNetSyslogConfigIF { public byte[] getDelimiterSequence(); public void setDelimiterSequence(byte[] delimiterSequence); public boolean isPersistentConnection(); public void setPersistentConnection(boolean persistentConnection); public boolean isSoLinger(); public void setSoLinger(boolean soLinger); public int getSoLingerSeconds(); public void setSoLingerSeconds(int soLingerSeconds); public boolean isKeepAlive(); public void setKeepAlive(boolean keepAlive); public boolean isReuseAddress(); public void setReuseAddress(boolean reuseAddress); public boolean isSetBufferSize(); public void setSetBufferSize(boolean setBufferSize); public int getFreshConnectionInterval(); public void setFreshConnectionInterval(int interval); public void setUseOctetCounting(boolean useFrameHeader); public boolean isUseOctetCounting(); }