edu.vub.at.actors.natives
Class ELFarReference.TransmissionEvent

java.lang.Object
  extended byedu.vub.at.actors.eventloops.Event
      extended byedu.vub.at.actors.natives.ELFarReference.TransmissionEvent
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
ELFarReference

private class ELFarReference.TransmissionEvent
extends Event

TransmissionEvent is a named subclass of event, which allows access to the message the packet it is trying to send which is used, should the event be retracted. Moreover, the notion of an explicit constructor which is called by the ELActor scheduling it, ensures that the serialization of the message happens in the correct thread.

Author:
smostinc

Field Summary
 Packet serializedMessage_
           
 
Fields inherited from class edu.vub.at.actors.eventloops.Event
 
Constructor Summary
ELFarReference.TransmissionEvent(ATAsyncMessage msg)
           
 
Method Summary
 void process(java.lang.Object owner)
          This method may be invoked by the receiving event loop such that the event can process itself.
 
Methods inherited from class edu.vub.at.actors.eventloops.Event
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serializedMessage_

public final Packet serializedMessage_
Constructor Detail

ELFarReference.TransmissionEvent

public ELFarReference.TransmissionEvent(ATAsyncMessage msg)
                                 throws XIOProblem
Method Detail

process

public void process(java.lang.Object owner)
Description copied from class: Event
This method may be invoked by the receiving event loop such that the event can process itself.

Specified by:
process in class Event
Parameters:
owner - the object designated by the receiving event loop to be the owner of this event.