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()
          Gets the socket's remote host.
 int getPort()
          Gets the socket port.
 int getReconnectionDelay()
          Gets the socket's reconnection delay time.
 boolean isPrintLocationInfo()
          Checks 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.
 
Methods inherited from interface jet.server.api.admin.cfg.logger.ConfigAppender
getName, getThreshold, isSelected, setSelected, setThreshold
 

Method Detail

getHost

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

Returns:
the socket's remote host.

setHost

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

Parameters:
host - the socket's remote host.

getPort

int getPort()
Gets the socket port.

Returns:
the port value.

setPort

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

Parameters:
port - the socket's port value.

getReconnectionDelay

int getReconnectionDelay()
Gets the socket's reconnection delay time. The 'Delay' property represents the interval between timing out of the connection and retrying to connect the Socket.

Returns:
the socket's reconnection delay time.

setReconnectionDelay

void setReconnectionDelay(int delay)
Sets the socket's reconnection delay time. The 'Delay' property represents the interval between timing out of the connection and retrying to connect the Socket.

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

isPrintLocationInfo

boolean isPrintLocationInfo()
Checks whether to print the location information to the socket appender.

Returns:
true if the socket appender pushes location information, or else false.

setPrintLocationInfo

void setPrintLocationInfo(boolean locInfo)
Sets the socket appender location information.

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