|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.bankframe.services.devices.MTPinPad.PinPadEvent
public class PinPadEvent
This class stores IntelliPIN pad events for use by the client class using the device. The client class registers its PinPadListener interface and receives these events.
| Field Summary | |
|---|---|
static int |
CARD_TYPE
|
static int |
DEVICE_SETTING
|
static int |
EVENT_ACK
|
static int |
EVENT_EOT
|
static int |
EVENT_NAK
|
static int |
EXCEPTION_OCURRED
|
static int |
PIN_TYPE
|
static int |
RECEIVED_UNKNOWN_DATA
|
| Constructor Summary | |
|---|---|
PinPadEvent(String deviceName)
Constructor |
|
| Method Summary | |
|---|---|
CardData |
getCardData()
This method returns the card data, note this method only works for events of type CARD_TYPE |
String |
getDeviceName()
This method returns the device name |
Object |
getObjectData()
This method returns the data associated with this event |
int |
getPIN()
This method returns the PING number, note this method only works for events of type PIN_TYPE |
int |
getType()
This method returns this event's type |
void |
setDeviceName(String deviceName)
This method sets this event's device name |
void |
setObjectData(Object objectData)
This method sets the optional data argument |
void |
setType(int type)
This method sets this event's type |
String |
toString()
This method returns a string representation of this event |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static int CARD_TYPE
public static int PIN_TYPE
public static int EXCEPTION_OCURRED
public static int EVENT_EOT
public static int EVENT_ACK
public static int EVENT_NAK
public static int DEVICE_SETTING
public static int RECEIVED_UNKNOWN_DATA
| Constructor Detail |
|---|
public PinPadEvent(String deviceName)
deviceName - The name of the pin pad device| Method Detail |
|---|
public int getType()
public String getDeviceName()
public void setObjectData(Object objectData)
objectData - The data to associate with this eventpublic Object getObjectData()
public void setType(int type)
type - The type of eventpublic void setDeviceName(String deviceName)
deviceName - The new device namepublic int getPIN()
public CardData getCardData()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||