DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2
  1. #1
    Join Date
    May 2010

    Java Passing Data To Classes

    Hey, I have a fairly basic problem I believe but can't seem to figure it out.

    What I have is a basic Multi Client Single Server architecture with socket and socket server now all the examples the client recieves the data in the same spot it outputs it. What I want is to recieve the data figure out what the **** it actually is and send it off to the proper class but I'm not sure how to do this since the other class will already be instantiated in another place.

    I think my answer may lie with static methods and variables but if someone can deny or confirm that and kinda show me an example that would be great.


  2. #2
    Join Date
    May 2010
    Found my solution, they will be connected through a central class anyway so I can just use a middle man so to speak.


    P.S. the **** was not the sh or f word (: lol.

Similar Threads

  1. Replies: 0
    Last Post: 07-14-2006, 09:19 AM
  2. Replies: 0
    Last Post: 07-14-2006, 09:16 AM
  3. Complex Data Consumer Data Aware Classes
    By Desmond Cassidy in forum authorevents.kurata
    Replies: 3
    Last Post: 04-19-2000, 03:54 AM
  4. Data bound classes and number of tables
    By leonardo in forum authorevents.kurata
    Replies: 3
    Last Post: 04-18-2000, 11:44 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.