public interface RemoteConfigSocketAppender extends RemoteConfigAppender
RemoteConfigSocketAppender
takes charge of
managing socket appender specific properties.DST_CONSOLE, DST_DAILY_ROLLING_FILE, DST_FILE, DST_LF5, DST_NTLOG, DST_ROLLING_FILE, DST_SOCKET, DST_SYSLOG, DST_TELNET, LAYOUT_HTML, LAYOUT_PATTERN, LAYOUT_SIMPLE, LAYOUT_TTCC, LAYOUT_XML, LAYOUTS, THRESHOLD_ALL, THRESHOLD_DEBUG, THRESHOLD_ERROR, THRESHOLD_FATAL, THRESHOLD_INFO, THRESHOLD_OFF, THRESHOLD_WARN, THRESHOLDS
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getHost()
Gets the socket's remote host.
|
int |
getPort()
Gets the socket port.
|
int |
getReconnectionDelay()
Gets the socket's reconnection delay time.
|
boolean |
isPrintLocationInfo()
Judges whether to print the location information to the socket appender.
|
void |
setHost(java.lang.String host)
Sets the socket's remote host.
|
void |
setPort(int port)
Sets the socket's port value.
|
void |
setPrintLocationInfo(boolean locInfo)
Sets the socket appender location information.
|
void |
setReconnectionDelay(int delay)
Sets the socket's reconnection delay time.
|
getName, getThreshold, isSelected, setSelected, setThreshold
java.lang.String getHost() throws java.rmi.RemoteException
java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.void setHost(java.lang.String host) throws java.rmi.RemoteException
host
- the socket's remote host.java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.int getPort() throws java.rmi.RemoteException
java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.void setPort(int port) throws java.rmi.RemoteException
port
- the socket's port value.java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.int getReconnectionDelay() throws java.rmi.RemoteException
java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.void setReconnectionDelay(int delay) throws java.rmi.RemoteException
delay
- the socket's reconnection delay time.java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.boolean isPrintLocationInfo() throws java.rmi.RemoteException
java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.void setPrintLocationInfo(boolean locInfo) throws java.rmi.RemoteException
locInfo
- boolean value of the socket's location information.java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.