@Override public void broadcast(Sendable request) throws RemoteException { Information info = request.getInfo(); if (info != null) info.saveProperties(); request.setClient(this); STUB.broadcast(request); }
@Override public void send(Sendable request, String receiver) throws RemoteException { Information info = request.getInfo(); if (info != null) info.saveProperties(); Member mem = (Member) request.getSender(); mem.beforeSerialization(); request.setClient(this); STUB.send(request, receiver); }