|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Specifies a "debug" management interface for
AEFSession
objects.
The purpose of this MBean is to allow more detailed monitoring of an AEFSession
than what is available through the base SessionMBean
management interface. Due to the
potential for excessive notifications because of frequent state changes, MBeans of this type are created
on demand through SessionMBean.enableDebug()
. When the detailed monitoring is no longer needed,
these MBeans should be destroyed via SessionMBean.destroyDebug()
.
The ObjectName
of this MBean includes the following attributes, in addition to the SIF
attribute of DeviceID
:
RtlDebugNotification
is emitted by classes implementing this interface when the
following conditions occur.
If present, the constants referenced in the following notification descriptions indicate the possible
values of the notification userData
; else, the userData
contains the new state
data (since all of the notifications represent state changes). Unless otherwise noted, the userData
will be of type String
. The notification names in the list below indicate the
constants that are used for the notification message text.
SALES_TRANSACTION_IN_PROGRESS
,
a NONSALES_TRANSACTION_IN_PROGRESS
or
a TRANSACTION_NOT_IN_PROGRESS
).Collection
of String
s.
Field Summary | |
---|---|
static java.lang.String |
CUSTOMER_DISPLAY_UPDATE
|
static java.lang.String |
NONSALES_TRANSACTION_IN_PROGRESS
|
static java.lang.String |
NOTIFICATION_TYPE
|
static java.lang.String |
OPERATOR_DISPLAY_UPDATE
|
static java.lang.String |
POS_APPLICATION_STATE_UPDATE
|
static java.lang.String |
POS_APPLICATION_SUBSTATE_UPDATE
|
static java.lang.String |
PRINT_LINES_UPDATE
|
static java.lang.String |
SALES_TRANSACTION_IN_PROGRESS
|
static java.lang.String |
TRANSACTION_NOT_IN_PROGRESS
|
static java.lang.String |
TRANSACTION_STATUS_UPDATE
|
Method Summary | |
---|---|
void |
dumpSessionTrace()
Dumps the AEF session trace to a file. |
java.lang.String |
getCustomerDisplay()
Returns the current value of the CustomerDisplay attribute. |
java.lang.String |
getOperatorDisplay()
Returns the current value of the OperatorDisplay attribute. |
java.lang.String |
getPOSApplicationState()
Returns the current value of the POSApplicationState attribute. |
java.lang.String |
getPOSApplicationSubstate()
Returns the current value of the POSApplicationSubstate attribute. |
java.util.Collection |
getPrintLines()
Returns the current value of the PrintLines attribute. |
int |
getTraceLevel()
Returns the current AEF session trace level. |
java.lang.String |
getTransactionStatus()
Returns the current TransactionStatus attribute value. |
void |
setTraceLevel(int level)
Specifies the AEF session trace level. |
Field Detail |
public static final java.lang.String NOTIFICATION_TYPE
public static final java.lang.String TRANSACTION_STATUS_UPDATE
public static final java.lang.String CUSTOMER_DISPLAY_UPDATE
public static final java.lang.String OPERATOR_DISPLAY_UPDATE
public static final java.lang.String PRINT_LINES_UPDATE
public static final java.lang.String POS_APPLICATION_STATE_UPDATE
public static final java.lang.String POS_APPLICATION_SUBSTATE_UPDATE
public static final java.lang.String SALES_TRANSACTION_IN_PROGRESS
public static final java.lang.String NONSALES_TRANSACTION_IN_PROGRESS
public static final java.lang.String TRANSACTION_NOT_IN_PROGRESS
Method Detail |
public java.lang.String getTransactionStatus()
SALES_TRANSACTION_IN_PROGRESS
, NONSALES_TRANSACTION_IN_PROGRESS
, or
TRANSACTION_NOT_IN_PROGRESS
.
public java.lang.String getOperatorDisplay()
public java.lang.String getCustomerDisplay()
public java.util.Collection getPrintLines()
Collection
is a composed of String
s that represent output to the printer.
public java.lang.String getPOSApplicationState()
public java.lang.String getPOSApplicationSubstate()
public void setTraceLevel(int level)
AEFSession.setSessionTraceLevel()
for information on valid parameter values.
AEFSession.setSessionTraceLevel(int)
public int getTraceLevel()
AEFSession.getSessionTraceLevel()
for information on valid return values.
AEFSession.getSessionTraceLevel()
public void dumpSessionTrace()
AEFSession.dumpSessionTrace()
for more information.
AEFSession.dumpSessionTrace()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |