Search in sources :

Example 1 with UndoObject

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

the class InternetServer method hookUndo.

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

Aggregations

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