org.davic.net.ca
Class ModuleResponseEvent

java.lang.Object
  extended byjava.util.EventObject
      extended byorg.davic.net.ca.MessageEvent
          extended byorg.davic.net.ca.ModuleResponseEvent
All Implemented Interfaces:
java.io.Serializable

public abstract class ModuleResponseEvent
extends MessageEvent

Base class for events that carry a message from the module

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
protected ModuleResponseEvent()
          This constructor is provided for the use of implementations and specifications which extend the present document.
 
Method Summary
 byte[] getData()
          Returns the data bytes of the response.
 java.lang.Object getSource()
          Returns the CAModule that is the source of the event
 
Methods inherited from class org.davic.net.ca.MessageEvent
getSessionId
 
Methods inherited from class java.util.EventObject
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ModuleResponseEvent

protected ModuleResponseEvent()
This constructor is provided for the use of implementations and specifications which extend the present document. Applications shall not define sub-classes of this class. Implementations are not required to behave correctly if any such application defined sub-classes are used.

Method Detail

getSource

public java.lang.Object getSource()
Returns the CAModule that is the source of the event

Overrides:
getSource in class MessageEvent
Returns:
the CAModule object representing the CA module that is the source of this event

getData

public byte[] getData()
Returns the data bytes of the response.

Returns:
the data bytes of the response