public class ObjectSocketWrapper extends Object
| Constructor and Description |
|---|
ObjectSocketWrapper(Socket socket) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
Object |
readObject() |
boolean |
sendObject(Object object)
Synchronizing this prevents multiple threads from sending messages at the same time which corrupts the socket.
|
void |
setTimeout(int timeoutMilliseconds) |
public ObjectSocketWrapper(Socket socket)
Copyright © 2013. All rights reserved