APISonar


freenet.client.FreenetJs.log

> freenet > client > FreenetJs > log
freenet APIs client APIs FreenetJs APIs log APIs

Example 1
public void updated(String message) {
		// Identifies the element
		String elementId = message;
		FreenetJs.log("DefaultUpdateManager updated:elementid:" + elementId);
		// Sends a request asking for data for the updated element
		FreenetRequest.sendRequest(UpdaterConstants.dataPath, new QueryParameter[] { new QueryParameter("requestId", FreenetJs.requestId),
				new QueryParameter("elementId", elementId) }, new UpdaterRequestCallback(elementId));
		// Notifies the listeners
		for (IUpdateListener l : listeners) {
			l.onUpdate();
		}
	}