com.ibm.security.certclient.base
Class PkReqEvent
- java.lang.Object
java.util.EventObject
com.ibm.security.certclient.base.PkEvent
com.ibm.security.certclient.base.PkReqEvent
All implemented interfaces:
Direct known subclasses:
PkCertReqEvent, PkConfReqEvent, PkGnrlReqEvent, PkHttpReqEvent, PkKrecReqEvent, PkPollReqEvent, PkRevoReqEvent
- public abstract class PkReqEvent
- extends PkEvent
Author:
Rod Mancisidor
See Also:
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
attrs
The attributes associated with this request.
|
| Fields inherited from class com.ibm.security.certclient.base.PkEvent |
|---|
msg |
| Fields inherited from class java.util.EventObject |
|---|
source |
Constructor Summary
| Modifier | Constructor and Description |
|---|---|
|
PkReqEvent(Object source,Object msg,PkAttrs attrs)
Constructs a
PkReqEvent.
|
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
executeOn(PkListener listener)
Executes the event on the
listener.
|
getAttrs()
Returns the set of attributes associated with this request event.
|
|
toString()
Returns a string representation of this request event.
|
| Methods inherited from class com.ibm.security.certclient.base.PkEvent |
|---|
getMsg, write |
| Methods inherited from class java.util.EventObject |
|---|
getSource |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail
attrs
- protected PkAttrs attrs
The attributes associated with this request.
Constructor Detail
PkReqEvent
Constructs a
PkReqEvent.
Parameters:
source - The object that constructs the event. Usually, but not
necessarily, the source is an instance of a
subclass of * PkActiveSource. msg - The message that was parsed in order to create this event.
msg may be null when the event is not
built from a message. The class of msg depends
on the PkEventFormatter used to create this event. attrs - The set of attributes for this event. Method Detail
getAttrs
- public PkAttrs getAttrs()
Returns the set of attributes associated with this request event.
executeOn
- public abstract PkRepEvent executeOn( PkListener listener)
- throws PkException
Executes the event on the
listener.
toString
- public String toString()
Returns a string representation of this request event.