org.apache.log4j.net.SocketHubAppender.class Maven / Gradle / Ivy
The newest version!
???? 0 ? A ? A ?
B ? A ? ?
? A ? A ? A ?
A ? A ? ? ?
A ?
? A ?
? A ? ?
? ?
?
?
? ?
?
A ? ? ? ?
= ? ?
?
? ?
" ? ?
? ?
? ? ?
? ? ?
?
? ? A ? R
? ?
? ?
? ?
? ?
? ?
? ?
: ? ?
" ?
" ?
" ? ? ?
: ?
: ? ?
= ? ?
? ? ? ?
ServerMonitor InnerClasses DEFAULT_PORT I
ConstantValue ? port oosList Ljava/util/Vector;
serverMonitor 6Lorg/apache/log4j/net/SocketHubAppender$ServerMonitor; locationInfo Z buffer 'Lorg/apache/log4j/helpers/CyclicBuffer; application Ljava/lang/String; advertiseViaMulticastDNS zeroConf &Lorg/apache/log4j/net/ZeroConfSupport; ZONE serverSocket Ljava/net/ServerSocket; ()V Code LineNumberTable LocalVariableTable this (Lorg/apache/log4j/net/SocketHubAppender; (I)V _port activateOptions close cleanUp e Ljava/io/InterruptedIOException; Ljava/io/IOException; oos Ljava/io/ObjectOutputStream; append &(Lorg/apache/log4j/spi/LoggingEvent;)V *Ljava/lang/ArrayIndexOutOfBoundsException; streamCount event #Lorg/apache/log4j/spi/LoggingEvent; requiresLayout ()Z setPort setApplication (Ljava/lang/String;)V lapp getApplication ()Ljava/lang/String; getPort ()I
setBufferSize _bufferSize
getBufferSize setLocationInfo (Z)V
_locationInfo getLocationInfo setAdvertiseViaMulticastDNS isAdvertiseViaMulticastDNS startServer createServerSocket (I)Ljava/net/ServerSocket;
socketPort
Exceptions
access$000 A(Lorg/apache/log4j/net/SocketHubAppender;)Ljava/net/ServerSocket; x0 Synthetic
access$002 X(Lorg/apache/log4j/net/SocketHubAppender;Ljava/net/ServerSocket;)Ljava/net/ServerSocket; x1
access$100 Q(Lorg/apache/log4j/net/SocketHubAppender;)Lorg/apache/log4j/helpers/CyclicBuffer;
SourceFile SocketHubAppender.java P Q X Y Z [ I F java/util/Vector J K L M N O ? [ T O $org/apache/log4j/net/ZeroConfSupport $_log4j_obj_tcpaccept_appender.local. ? x Z ? U V ? [ ? O java/lang/StringBuffer closing SocketHubAppender k ? ? x ? ? u ? [ e [ SocketHubAppender closed stopping ServerSocket ? [ closing client connections ? z ? ? java/io/ObjectOutputStream d [ java/io/InterruptedIOException ? ? ? ? [ could not close oos. ? ? java/io/IOException ? a ? ? ? R S ? ? ? x ? x ? [ ? x ? ? ? l (java/lang/ArrayIndexOutOfBoundsException ? ? ? [ ? [ dropped connection %org/apache/log4j/helpers/CyclicBuffer Z a ? z 4org/apache/log4j/net/SocketHubAppender$ServerMonitor Z ? java/net/ServerSocket &org/apache/log4j/net/SocketHubAppender !org/apache/log4j/AppenderSkeleton getName ((Ljava/lang/String;ILjava/lang/String;)V advertise closed ,(Ljava/lang/String;)Ljava/lang/StringBuffer; toString org/apache/log4j/helpers/LogLog debug unadvertise stopMonitor size elementAt (I)Ljava/lang/Object; java/lang/Thread
currentThread ()Ljava/lang/Thread; interrupt error *(Ljava/lang/String;Ljava/lang/Throwable;)V removeElementAt !org/apache/log4j/spi/LoggingEvent getLocationInformation %()Lorg/apache/log4j/spi/LocationInfo; setProperty '(Ljava/lang/String;Ljava/lang/String;)V getNDC
getThreadName
getMDCCopy getRenderedMessage getThrowableStrRep ()[Ljava/lang/String; add writeObject (Ljava/lang/Object;)V flush reset
getMaxSize >(Lorg/apache/log4j/net/SocketHubAppender;ILjava/util/Vector;)V ! A B E F G H I F J K L M N O P Q R S T O U V W S G
X Y Z [ \ h &*? *е *? Y? ? *? *? *? ? ] ? r s t u v % ? ^ &