public synchronized void removeItemListener(ItemListener<E> listener) { check(listener); itemListenerManager().removeListener(name, listener); Packet request = proxyHelper.createRequestPacket(ClusterOperation.REMOVE_LISTENER, null, null); Call c = proxyHelper.createCall(request); proxyHelper.doCall(c); }
public Call createNewAddListenerCall(final ProxyHelper proxyHelper) { Packet request = proxyHelper.createRequestPacket(ClusterOperation.ADD_LISTENER, null, null); return proxyHelper.createCall(request); }