| Author |
passing object to methods by sockets
|
Thomas Paul Bigbee
Ranch Hand
Joined: Jun 28, 2005
Posts: 71
|
|
Hi all; My question is this... I know how to pass serialized objects over a socket to a server using Socket.getOutputStream() and Sockte.getOutputStream(), however I don't know how to call methods within a server passing objects or receiving objects from a called method on the server. Does anybody know how this can be done? Thank You, in advance.
|
 |
Joe Ess
Bartender
Joined: Oct 29, 2001
Posts: 8265
|
|
Perhaps you could give us an example of some code that's giving you trouble? If you want to invoke a method on on a serialized object, you do it the same way you do with any other object:
|
"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
|
 |
 |
|
|
subject: passing object to methods by sockets
|
|
|