jpos.events.DirectIOEvent Maven / Gradle / Ivy
//////////////////////////////////////////////////////////////////////
//
// The JavaPOS library source code is now under the CPL license, which
// is an OSS Apache-like license. The complete license is located at:
// http://www.ibm.com/developerworks/library/os-cpl.html
//
//////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////
//
// THIS SOFTWARE IS PROVIDED AS IS. THE JAVAPOS WORKING GROUP MAKES NO
// REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY OF THE SOFTWARE,
// EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED
// WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR
// NON-INFRINGEMENT. INDIVIDUAL OR CORPORATE MEMBERS OF THE JAVAPOS
// WORKING GROUP SHALL NOT BE LIABLE FOR ANY DAMAGES SUFFERED AS A RESULT
// OF USING, MODIFYING OR DISTRIBUTING THIS SOFTWARE OR ITS DERIVATIVES.
//
// DirectIOEvent
//
// Class defining the DirectIO Event generated by JavaPOS device
// controls.
//
// Modification history
// ------------------------------------------------------------------
// 98-02-18 JavaPOS Release 1.2 BS
//
/////////////////////////////////////////////////////////////////////
package jpos.events;
public class DirectIOEvent extends JposEvent
{
public DirectIOEvent(Object source, int eventNumber, int data,
Object object)
{
super(source);
this.eventNumber = eventNumber;
this.data = data;
this.object = object;
}
public int getEventNumber()
{
return eventNumber;
}
public int getData()
{
return data;
}
public void setData(int data)
{
this.data = data;
}
public Object getObject()
{
return object;
}
public void setObject(Object object)
{
this.object = object;
}
protected int eventNumber;
protected int data;
protected Object object;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy