001package com.pi4j.io.gpio.event;
002
003/*
004 * #%L
005 * **********************************************************************
006 * ORGANIZATION  :  Pi4J
007 * PROJECT       :  Pi4J :: Java Library (Core)
008 * FILENAME      :  PinListener.java  
009 * 
010 * This file is part of the Pi4J project. More information about 
011 * this project can be found here:  http://www.pi4j.com/
012 * **********************************************************************
013 * %%
014 * Copyright (C) 2012 - 2013 Pi4J
015 * %%
016 * Licensed under the Apache License, Version 2.0 (the "License");
017 * you may not use this file except in compliance with the License.
018 * You may obtain a copy of the License at
019 * 
020 *      http://www.apache.org/licenses/LICENSE-2.0
021 * 
022 * Unless required by applicable law or agreed to in writing, software
023 * distributed under the License is distributed on an "AS IS" BASIS,
024 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
025 * See the License for the specific language governing permissions and
026 * limitations under the License.
027 * #L%
028 */
029
030/**
031 * <p>Pin Listener Interface</p>
032 * 
033 * <p>This interface implements the callback event handler for Pin state changes. </p>
034 * 
035 * <p>
036 * Before using the Pi4J library, you need to ensure that the Java VM in configured with access to
037 * the following system libraries:
038 * <ul>
039 * <li>pi4j</li>
040 * <li>wiringPi</li>
041 * </ul>
042 * <blockquote> This library depends on the wiringPi native system library.</br> (developed by
043 * Gordon Henderson @ <a href="https://projects.drogon.net/">https://projects.drogon.net/</a>)
044 * </blockquote>
045 * </p>
046 * 
047 * @see <a href="http://www.pi4j.com/">http://www.pi4j.com/</a>
048 * @author Robert Savage (<a
049 *         href="http://www.savagehomeautomation.com">http://www.savagehomeautomation.com</a>)
050 */
051public interface PinListener extends java.util.EventListener {
052    
053    void handlePinEvent(PinEvent event);
054
055}