/*
 * Copyright (c) OSGi Alliance (2013). All Rights Reserved.
 * 
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package org.osgi.service.zigbee;

/**
 * This interface represents a listener to events from ZigBee Device nodes
 * 
 * @version 1.0
 */
public interface ZigBeeEventListener {

	/**
	 * Key of {@link String} containing the listener targeted network PAN ID
	 */
	public static final String	PAN_ID_TARGET			= "zigbee.listener.target.pan.id";

	/**
	 * Key of {@link String} containing the listener targeted network extended
	 * PAN ID
	 */
	public static final String	EXTENDED_PAN_ID_TARGET	= "zigbee.listener.target.extended.pan.id";

	/**
	 * Callback method that is invoked for received events. This method must be
	 * called asynchronously.
	 * 
	 * @param event a set of events
	 */
	public void notifyEvent(ZigBeeEvent event);

	/**
	 * Notifies a failure, i.e. when either a
	 * ZigBeeException.UNSUPPORTED_ATTRIBUTE, or a
	 * ZigBeeException.UNREPORTABLE_ATTRIBUTE, or ZigBeeException.INVALID_VALUE,
	 * or ZigBeeException.INVALID_DATA_TYPE status occurs.
	 * 
	 * @param e the ZigBeeException.
	 */
	public void onFailure(ZigBeeException e);

}

@@ -802,365 +802,8 @@
  %7B%0A%0A
-%09/**%0A%09 * Key of %7B@link String%7D containing the listener targeted network PAN ID%0A%09 */%0A%09public static final String%09PAN_ID_TARGET%09%09%09= %22zigbee.listener.target.pan.id%22;%0A%0A%09/**%0A%09 * Key of %7B@link String%7D containing the listener targeted network extended%0A%09 * PAN ID%0A%09 */%0A%09public static final String%09EXTENDED_PAN_ID_TARGET%09= %22zigbee.listener.target.extended.pan.id%22;%0A%0A
 %09/**

Remove PAN_ID and EXTENDED_PAN_ID from ZigBeeEventListener interface; the ones from ZigBeeEndpoint interface must be used.