A tourniquet to steep the bleeding on the UDP side before
it gets replaced. git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7003 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
parent
ef77186386
commit
9bdaa48efa
@ -156,7 +156,7 @@ public class UDPConnection extends Connection {
|
|||||||
readBuffer.clear();
|
readBuffer.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
protected void send(SocketAddress dest, Object object) {
|
protected synchronized void send(SocketAddress dest, Object object) {
|
||||||
try {
|
try {
|
||||||
Serializer.writeClassAndObject(writeBuffer, object);
|
Serializer.writeClassAndObject(writeBuffer, object);
|
||||||
writeBuffer.flip();
|
writeBuffer.flip();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user