public class JoltUserEventBean
extends java.lang.Object
implements java.io.Serializable, java.beans.PropertyChangeListener
Constructor and Description |
---|
JoltUserEventBean()
Constructor
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getEventName()
Get the regular expression this bean represents.
|
java.lang.String |
getFilter()
Get the event filter.
|
JoltSessionBean |
getSession()
Get the JoltSessionBean object used by this JoltUserEventBean
|
void |
propertyChange(java.beans.PropertyChangeEvent evt)
Event handler for PropertyChange events.
|
void |
setEventName(java.lang.String name)
Set the regular expression of the user event this bean represents.
|
void |
setFilter(java.lang.String filter)
Set the event filter.
|
void |
setSession(JoltSessionBean value)
This method is used in cases when the JoltUserEventBean is created
after the logon event.
|
void |
subscribe()
Subscribe
|
void |
unsubscribe()
Unsubscribe
|
public void propertyChange(java.beans.PropertyChangeEvent evt)
Note: A logoff of a session other than the current session will not affect the JoltUserEventBean, but a logon of a session other than the current session will change the session.
propertyChange
in interface java.beans.PropertyChangeListener
evt
- The event object.public void setEventName(java.lang.String name)
name
- The regular expression of the user event, the equivalent
of the "expr" parameter of TPSUBSCRIBE.public java.lang.String getEventName()
public void setFilter(java.lang.String filter)
filter
- The event filter.public java.lang.String getFilter()
public void setSession(JoltSessionBean value)
value
- The JoltSessionBean.public JoltSessionBean getSession()
public void unsubscribe() throws EventException, SessionException, JoltException
public void subscribe() throws EventException, SessionException, JoltException