|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bankframe.services.devices.MTPinPad.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(java.lang.String deviceName)
Constructor |
Method Summary | |
CardData |
getCardData()
This method returns the card data, note this method only works for events of type CARD_TYPE |
java.lang.String |
getDeviceName()
This method returns the device name |
java.lang.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(java.lang.String deviceName)
This method sets this event's device name |
void |
setObjectData(java.lang.Object objectData)
This method sets the optional data argument |
void |
setType(int type)
This method sets this event's type |
java.lang.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(java.lang.String deviceName)
deviceName
- The name of the pin pad deviceMethod Detail |
public int getType()
public java.lang.String getDeviceName()
public void setObjectData(java.lang.Object objectData)
objectData
- The data to associate with this eventpublic java.lang.Object getObjectData()
public void setType(int type)
type
- The type of eventpublic void setDeviceName(java.lang.String deviceName)
deviceName
- The new device namepublic int getPIN()
public CardData getCardData()
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |