Thread: Wierd errors

Results 1 to 4 of 4
  1. #1 Wierd errors 
    Registered Member

    Join Date
    Feb 2009
    Age
    27
    Posts
    2,861
    Thanks given
    127
    Thanks received
    226
    Rep Power
    700
    Code:
    IOClient.java:218: in has private access in client
                                            c.in = in;
                                             ^
    IOClient.java:219: out has private access in client
                                            c.out = out;
                                             ^
    I am removing the thread per client, but I get these errors!
    Reply With Quote  
     

  2. #2  
    Banned

    Join Date
    Mar 2008
    Posts
    2,595
    Thanks given
    128
    Thanks received
    191
    Rep Power
    0
    Go in your client class and change both:

    Code:
    private java.io.OutputStream out;
    private java.io.InputStream in;
    to public
    Reply With Quote  
     

  3. #3  
    Registered Member xLin's Avatar
    Join Date
    Dec 2008
    Posts
    115
    Thanks given
    3
    Thanks received
    30
    Rep Power
    52
    "in" and "out" are declared private in the client. Change "private inputStream/outputStream" to "public inputStream/outputStream".

    EDIT: Damn Filth, you beat me
    Reply With Quote  
     

  4. #4  
    Registered Member

    Join Date
    Feb 2009
    Age
    27
    Posts
    2,861
    Thanks given
    127
    Thanks received
    226
    Rep Power
    700
    TY, but now it's all about this:
    Code:
    client.java:10532: illegal start of expression
                            public boolean shutdownClientHandler = false;
                            ^
    1 error
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •