org.apache.log4j.net.SimpleSocketServer.class Maven / Gradle / Ivy
The newest version!
???? 0 ?
b c d e
f
g
8 f
7 h i
7 j 7 k l
f m
n 7 o
p
q
r s t
u v
w x
y z
{ | } ~
?
? ?
?
? ?
" ? ? ?
? ? ? 7 ? ?
7 ?
b ? ?
? ?
? ? ?
. ? ? ? ?
? ?
? ?
? ?
r ? ? ? cat Lorg/apache/log4j/Logger; port I -class$org$apache$log4j$net$SimpleSocketServer Ljava/lang/Class; Synthetic ()V Code LineNumberTable LocalVariableTable this )Lorg/apache/log4j/net/SimpleSocketServer; main ([Ljava/lang/String;)V socket Ljava/net/Socket; serverSocket Ljava/net/ServerSocket; e Ljava/lang/Exception; argv [Ljava/lang/String; usage (Ljava/lang/String;)V msg Ljava/lang/String; init '(Ljava/lang/String;Ljava/lang/String;)V !Ljava/lang/NumberFormatException; portStr
configFile class$ %(Ljava/lang/String;)Ljava/lang/Class; x1 "Ljava/lang/ClassNotFoundException; x0
SourceFile SimpleSocketServer.java ? ? [ java/lang/ClassNotFoundException java/lang/NoClassDefFoundError @ A ? ? U V Wrong number of arguments. Q R 9 : java/lang/StringBuffer Listening on port ? ? ; < ? ? ? ? ? ? ? java/net/ServerSocket @ ? Waiting to accept a new client. ? ? Connected to client at ? ? ? ? ? Starting new socket node. java/lang/Thread org/apache/log4j/net/SocketNode ? ? ? @ ? SimpleSocketServer- @ ? ? A java/lang/Exception ? A ? ? ? ? ? R Usage: java = > 'org.apache.log4j.net.SimpleSocketServer Z [ ? ? port configFile ? ? ? ? ? java/lang/NumberFormatException !Could not interpret port number [ ]. .xml ? ? ? ? ? R ? ? ? 'org/apache/log4j/net/SimpleSocketServer java/lang/Object java/lang/Class forName initCause ,(Ljava/lang/Throwable;)Ljava/lang/Throwable; append ,(Ljava/lang/String;)Ljava/lang/StringBuffer; (I)Ljava/lang/StringBuffer; toString ()Ljava/lang/String; org/apache/log4j/Logger info (Ljava/lang/Object;)V (I)V accept ()Ljava/net/Socket; java/net/Socket getInetAddress ()Ljava/net/InetAddress; ,(Ljava/lang/Object;)Ljava/lang/StringBuffer; org/apache/log4j/LogManager getLoggerRepository )()Lorg/apache/log4j/spi/LoggerRepository; ;(Ljava/net/Socket;Lorg/apache/log4j/spi/LoggerRepository;)V )(Ljava/lang/Runnable;Ljava/lang/String;)V start printStackTrace java/lang/System err Ljava/io/PrintStream; java/io/PrintStream println getName exit java/lang/Integer parseInt (Ljava/lang/String;)I java/lang/String endsWith (Ljava/lang/String;)Z $org/apache/log4j/xml/DOMConfigurator configure %org/apache/log4j/PropertyConfigurator getLogger ,(Ljava/lang/Class;)Lorg/apache/log4j/Logger; ! 7 8 9 : ; <