public class TcpProtocol<T extends TcpProtocol<T>> extends Object
Constructor and Description |
---|
TcpProtocol() |
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Adds a property change listener
|
String |
getKey() |
String |
host()
The host of the syslog server for the tcp requests.
|
T |
host(String value)
The host of the syslog server for the tcp requests.
|
String |
messageTransfer()
The message transfer setting as described in section 3.4 of RFC-6587.
|
T |
messageTransfer(String value)
The message transfer setting as described in section 3.4 of RFC-6587.
|
Integer |
port()
The port of the syslog server for the tcp requests.
|
T |
port(Integer value)
The port of the syslog server for the tcp requests.
|
Integer |
reconnectTimeout()
If a connection drop is detected, the number of seconds to wait before
reconnecting.
|
T |
reconnectTimeout(Integer value)
If a connection drop is detected, the number of seconds to wait before
reconnecting.
|
void |
removePropertyChangeListener(PropertyChangeListener listener)
Removes a property change listener
|
public String getKey()
public void addPropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
public String host()
public String messageTransfer()
public T messageTransfer(String value)
public Integer port()
public Integer reconnectTimeout()
Copyright © 2018 JBoss by Red Hat. All rights reserved.