R
robot.dancing
Hi,
I have to use Java version 1.4.1 and I need to use enum. (Not really
need to, but it would make my life easier later on).
We all know that enum is not supported in pre-1.4.2 versions, and
there is a realy nice example of how to implement it at
http://www.javaworld.com/javaworld/javatips/jw-javatip133.html.
The problem is that, even though I can get this method to work with
writing and reading to the disk, it fails abysmally when trying to use
it with sockets at .getInputStream().
Has anyone tried creating something like this and sending it via a
socket?
What I am trying to do:
Send a class Class1 from one PC to another.
class structure is:
enum A1
Hashtable H1
Hashtable H2
Can someone give me a pointer on how to get it working?
Thanks!
I have to use Java version 1.4.1 and I need to use enum. (Not really
need to, but it would make my life easier later on).
We all know that enum is not supported in pre-1.4.2 versions, and
there is a realy nice example of how to implement it at
http://www.javaworld.com/javaworld/javatips/jw-javatip133.html.
The problem is that, even though I can get this method to work with
writing and reading to the disk, it fails abysmally when trying to use
it with sockets at .getInputStream().
Has anyone tried creating something like this and sending it via a
socket?
What I am trying to do:
Send a class Class1 from one PC to another.
class structure is:
enum A1
Hashtable H1
Hashtable H2
Can someone give me a pointer on how to get it working?
Thanks!