Crea sito


org.zu.ardulink.event
Class IncomingMessageEvent

java.lang.Object
  extended by org.zu.ardulink.event.IncomingMessageEvent
Direct Known Subclasses:
AnalogReadChangeEvent, DigitalReadChangeEvent

public abstract class IncomingMessageEvent
extends Object

Ardulink - return to homepage

v0.6.1 Magnum PI

Abstract class with info about message incoming to ardulink from arduino board.

Author:
Luciano Zu project Ardulink http://www.ardulink.org/


Field Summary
static int POWER_HIGH
           
static int POWER_LOW
           
static int UNDEFINED_PIN
           
static int UNDEFINED_VALUE
           
 
Constructor Summary
IncomingMessageEvent()
           
IncomingMessageEvent(int pin, int value, String incomingMessage)
           
 
Method Summary
 String getIncomingMessage()
           
 int getPin()
           
 int getValue()
           
 void setIncomingMessage(String incomingMessage)
           
 void setPin(int pin)
           
 void setValue(int value)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

UNDEFINED_PIN

public static final int UNDEFINED_PIN
See Also:
Constant Field Values

UNDEFINED_VALUE

public static final int UNDEFINED_VALUE
See Also:
Constant Field Values

POWER_HIGH

public static final int POWER_HIGH
See Also:
Constant Field Values

POWER_LOW

public static final int POWER_LOW
See Also:
Constant Field Values
Constructor Detail

IncomingMessageEvent

public IncomingMessageEvent()

IncomingMessageEvent

public IncomingMessageEvent(int pin,
                            int value,
                            String incomingMessage)
Method Detail

getPin

public int getPin()

setPin

public void setPin(int pin)

getValue

public int getValue()

setValue

public void setValue(int value)

getIncomingMessage

public String getIncomingMessage()

setIncomingMessage

public void setIncomingMessage(String incomingMessage)


Copyright © 2015. All rights reserved.