jet.server.api.admin.cfg.logger
Interface ConfigSocketAppender

All Superinterfaces:
ConfigAppender, java.io.Serializable

public interface ConfigSocketAppender
extends ConfigAppender

The ConfigSocketAppender takes charge of managing socket appender specific properties.

Since:
V8

Field Summary
 
Fields inherited from interface jet.server.api.admin.cfg.logger.ConfigAppender
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
 
Method Summary
 java.lang.String getHost()
          get the socket's remote host.
 int getPort()
          get the socket port.
 int getReconnectionDelay()
          get the socket's reconnection delay.
 boolean isPrintLocationInfo()
          judge whether to print the location info to the socket appender.
 void setHost(java.lang.String host)
          set the socket's remote host.
 void setPort(int port)
          set the socket's port value.
 void setPrintLocationInfo(boolean locInfo)
          set the socket appender location info.
 void setReconnectionDelay(int delay)
          set the socket's reconnection delay.
 
Methods inherited from interface jet.server.api.admin.cfg.logger.ConfigAppender
getName, getThreshold, isSelected, setSelected, setThreshold
 

Method Detail

getHost

java.lang.String getHost()
get the socket's remote host.

Returns:
the socket's remote host.

setHost

void setHost(java.lang.String host)
set the socket's remote host.

Parameters:
host, - the socket's remote host.

getPort

int getPort()
get the socket port.

Returns:
the port value.

setPort

void setPort(int port)
set the socket's port value.

Parameters:
port, - the socket's port value.

getReconnectionDelay

int getReconnectionDelay()
get the socket's reconnection delay.

Returns:
the socket's reconnection delay.

setReconnectionDelay

void setReconnectionDelay(int delay)
set the socket's reconnection delay.

Parameters:
delay, - the socket's reconnection delay.

isPrintLocationInfo

boolean isPrintLocationInfo()
judge whether to print the location info to the socket appender.

Returns:
true if the socket appender push location info, else false.

setPrintLocationInfo

void setPrintLocationInfo(boolean locInfo)
set the socket appender location info.

Parameters:
locInfo, - the socket's location info boolean value.