com.ibm.security.certclient.base

Class PkReqEvent

  1. java.lang.Object
  2. extended byjava.util.EventObject
  3. extended bycom.ibm.security.certclient.base.PkEvent
  4. extended bycom.ibm.security.certclient.base.PkReqEvent
All implemented interfaces:
Serializable
Direct known subclasses:
PkCertReqEvent, PkConfReqEvent, PkGnrlReqEvent, PkHttpReqEvent, PkKrecReqEvent, PkPollReqEvent, PkRevoReqEvent

  1. public abstract class PkReqEvent
  2. extends PkEvent
Superclass of all PKI request events.
Author:
Rod Mancisidor
See Also:
Serialized Form

Field Summary

Modifier and Type Field and Description
  1. protected
  2. PkAttrs
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
  1. protected
PkReqEvent(Object source,Object msg,PkAttrs attrs)
Constructs a PkReqEvent.

Method Summary

Modifier and Type Method and Description
  1. abstract
  2. PkRepEvent
executeOn(PkListener listener)
Executes the event on the listener.
  1. PkAttrs
getAttrs()
Returns the set of attributes associated with this request event.
  1. String
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

  1. protected PkAttrs attrs
The attributes associated with this request.

Constructor Detail

PkReqEvent

  1. protected PkReqEvent(Object source,
  2. Object msg,
  3. PkAttrs attrs)
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

  1. public PkAttrs getAttrs()
Returns the set of attributes associated with this request event.

executeOn

  1. public abstract PkRepEvent executeOn( PkListener listener)
  2. throws PkException
Executes the event on the listener.
Parameters:
listener - the PkListener that will process the event
Throws:

toString

  1. public String toString()
Returns a string representation of this request event.
Overrides:
toString in class PkEvent