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 |
|---|---|
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(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, setThresholdString getHost() throws RemoteException
RemoteException - if communication-related error occurs during RMI call execution.void setHost(String host) throws RemoteException
host - the socket's remote host.RemoteException - if communication-related error occurs during RMI call execution.int getPort()
throws RemoteException
RemoteException - if communication-related error occurs during RMI call execution.void setPort(int port)
throws RemoteException
port - the socket's port value.RemoteException - if communication-related error occurs during RMI call execution.int getReconnectionDelay()
throws RemoteException
RemoteException - if communication-related error occurs during RMI call execution.void setReconnectionDelay(int delay)
throws RemoteException
delay - the socket's reconnection delay time.RemoteException - if communication-related error occurs during RMI call execution.boolean isPrintLocationInfo()
throws RemoteException
RemoteException - if communication-related error occurs during RMI call execution.void setPrintLocationInfo(boolean locInfo)
throws RemoteException
locInfo - boolean value of the socket's location information.RemoteException - if communication-related error occurs during RMI call execution.© insightsoftware. All rights reserved.