Search in sources :

Example 1 with RedoObject

use of com.ramussoft.net.common.internet.RedoObject in project ramus by Vitaliy-Yakovchuk.

the class InternetServer method hookRedo.

private void hookRedo(byte[] bs, ClientServiceImpl clientServiceImpl) {
    synchronized (servicesLock) {
        RedoObject redoObject = new RedoObject();
        redoObject.data = bs;
        for (ClientServiceImpl impl : services) if (impl != clientServiceImpl)
            impl.getConnection().writeAsynchrone(redoObject);
    }
}
Also used : RedoObject(com.ramussoft.net.common.internet.RedoObject)

Aggregations

RedoObject (com.ramussoft.net.common.internet.RedoObject)1