public class GPOEvent
extends java.lang.Object
Constructor and Description |
---|
GPOEvent(java.lang.String readerID,
int port,
boolean state)
Constructor for a new GPOEvent
|
Modifier and Type | Method and Description |
---|---|
int |
getPort()
The port that changed
|
java.lang.String |
getReaderID()
The reader which detected the Output event
|
boolean |
getState()
True if the port is high, false if it is low.
|
java.lang.String |
toString() |
public GPOEvent(java.lang.String readerID, int port, boolean state)
readerID
- The reader which detected the Output eventport
- The port number for the eventstate
- true if the port went high. False if it went lowpublic java.lang.String getReaderID()
public int getPort()
public boolean getState()
public java.lang.String toString()
toString
in class java.lang.Object