Changeset 7

Show
Ignore:
Timestamp:
02/01/10 12:49:39 (2 years ago)
Author:
chrismylonas
Message:

Small logging details.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/org/opencsta/net/TCPClient.java

    r6 r7  
    4141        int PORT  ; 
    4242        String SERVER_ADDRESS ; 
    43     private boolean REPLACEDLEWITHDLEDLE ; 
    44     private boolean REPLACEDLEDLEWITHDLE; 
     43    private boolean REPLACEDLEWITHDLEDLE = false; 
     44    private boolean REPLACEDLEDLEWITHDLE = false; 
    4545        private DataOutputStream out ; 
    4646        private DataInputStream in ; 
     
    6868        theProps = _theProps ; 
    6969        CSTAClientCommunications = false ; 
     70        REPLACEDLEWITHDLEDLE = false; 
     71        REPLACEDLEDLEWITHDLE = false; 
    7072                this.parent = parent ; 
    7173        socket = null ; 
     
    8385            clientlog.info(this.getClass().getName() + " -> " + "Setting SERVER_ADDRESS -> Getting property: " + APPNAME + "_SERVER_ADDRESS") ; 
    8486                        SERVER_ADDRESS = theProps.getProperty(APPNAME + "_SERVER_ADDRESS") ; 
    85             clientlog.info(this.getClass().getName() + " -> " + "REPLACEDLEWITHDLEDLE is set to " + REPLACEDLEWITHDLEDLE ) ; 
    86             clientlog.info(this.getClass().getName() + " -> " + "REPLACEDLEDLEWITHDLE is set to " + REPLACEDLEDLEWITHDLE ) ; 
    87             clientlog.info(this.getClass().getName() + " -> " + "CSTAClientCommunications is set to " + isCSTAClientCommunications() ) ; 
    8887            String logstr = "CSTAServer address: " + SERVER_ADDRESS ; 
    8988                        setSocket(new Socket(SERVER_ADDRESS, PORT)) ; 
     
    125124 
    126125        public void run(){ 
    127         setCSTAClientCommunications(false); 
     126        clientlog.info(this.getClass().getName() + " -> " + "run() REPLACEDLEWITHDLEDLE is set to " + REPLACEDLEWITHDLEDLE ) ; 
     127        clientlog.info(this.getClass().getName() + " -> " + "run() REPLACEDLEDLEWITHDLE is set to " + REPLACEDLEDLEWITHDLE ) ; 
     128        clientlog.info(this.getClass().getName() + " -> " + "run() CSTAClientCommunications is set to " + isCSTAClientCommunications() ) ; 
    128129        if( isCSTAClientCommunications() ){ 
    129130            internalComms() ;