jet.server.api.rmi.admin.cfg.logger
Interface RemoteConfigSocketAppender

All Superinterfaces:
java.rmi.Remote, RemoteConfigAppender

public interface RemoteConfigSocketAppender
extends RemoteConfigAppender

The RemoteConfigSocketAppender takes charge of managing socket appender specific properties.

Since:
V8.1

Field Summary
 
Fields inherited from interface jet.server.api.rmi.admin.cfg.logger.RemoteConfigAppender
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.rmi.admin.cfg.logger.RemoteConfigAppender
getName, getThreshold, isSelected, setSelected, setThreshold
 

Method Detail

getHost

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

Returns:
the socket's remote host.
Throws:
java.rmi.RemoteException - will be thrown if error occurs.

setHost

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

Parameters:
host, - the socket's remote host.
Throws:
java.rmi.RemoteException - will be thrown if error occurs.

getPort

int getPort()
            throws java.rmi.RemoteException
get the socket port.

Returns:
the port value.
Throws:
java.rmi.RemoteException - will be thrown if error occurs.

setPort

void setPort(int port)
             throws java.rmi.RemoteException
set the socket's port value.

Parameters:
port, - the socket's port value.
Throws:
java.rmi.RemoteException - will be thrown if error occurs.

getReconnectionDelay

int getReconnectionDelay()
                         throws java.rmi.RemoteException
get the socket's reconnection delay.

Returns:
the socket's reconnection delay.
Throws:
java.rmi.RemoteException - will be thrown if error occurs.

setReconnectionDelay

void setReconnectionDelay(int delay)
                          throws java.rmi.RemoteException
set the socket's reconnection delay.

Parameters:
delay, - the socket's reconnection delay.
Throws:
java.rmi.RemoteException - will be thrown if error occurs.

isPrintLocationInfo

boolean isPrintLocationInfo()
                            throws java.rmi.RemoteException
judge whether to print the location info to the socket appender.

Returns:
true if the socket appender push location info, else false.
Throws:
java.rmi.RemoteException - will be thrown if error occurs.

setPrintLocationInfo

void setPrintLocationInfo(boolean locInfo)
                          throws java.rmi.RemoteException
set the socket appender location info.

Parameters:
locInfo, - the socket's location info boolean value.
Throws:
java.rmi.RemoteException - will be thrown if error occurs.