-
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.
Thanks,
Ty
-
Found my solution, they will be connected through a central class anyway so I can just use a middle man so to speak.
Thanks,
Ty
P.S. the **** was not the sh or f word (: lol.
Similar Threads
-
By sushma.varala in forum XML
Replies: 0
Last Post: 07-14-2006, 09:19 AM
-
By sushma.varala in forum XML
Replies: 0
Last Post: 07-14-2006, 09:16 AM
-
By Desmond Cassidy in forum authorevents.kurata
Replies: 3
Last Post: 04-19-2000, 03:54 AM
-
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
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks