TPTP 4.4.0 Platform Project
Public API Specification

org.eclipse.hyades.execution.trace
Class TraceHandler

java.lang.Object
  extended byorg.eclipse.hyades.execution.trace.TraceHandler
All Implemented Interfaces:
IContextHandler

public class TraceHandler
extends java.lang.Object
implements IContextHandler

This is the event hanlder logging all events.


Constructor Summary
TraceHandler()
          This is the default constructor.
 
Method Summary
 void handleEntry(CorrelatorAssociation context)
          Handles an entry event which occurs before a local method invocation.
 void handleExit(CorrelatorAssociation context)
          Handles an exit event which occurs after a local method invocation has returned.
 void handleReceive(CorrelatorAssociation context)
          Handles a receive event which occurs after a remote invocation request has been received.
 void handleReply(CorrelatorAssociation context)
          Handles a reply event which occurs before a remote invocation replies.
 void handleReturn(CorrelatorAssociation context)
          Handles a return event which occurs after the reply of a remote invocation has been received.
 void handleSend(CorrelatorAssociation context)
          Handles a send event which occurs before a remote invocation request is sent.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TraceHandler

public TraceHandler()
This is the default constructor.

Method Detail

handleEntry

public void handleEntry(CorrelatorAssociation context)
Description copied from interface: IContextHandler
Handles an entry event which occurs before a local method invocation.

Specified by:
handleEntry in interface IContextHandler
Parameters:
context - the context data related to this event
See Also:
IContextHandler.handleEntry(org.eclipse.hyades.collection.correlation.CorrelatorAssociation)

handleExit

public void handleExit(CorrelatorAssociation context)
Description copied from interface: IContextHandler
Handles an exit event which occurs after a local method invocation has returned.

Specified by:
handleExit in interface IContextHandler
Parameters:
context - the context data related to this event
See Also:
IContextHandler.handleExit(org.eclipse.hyades.collection.correlation.CorrelatorAssociation)

handleSend

public void handleSend(CorrelatorAssociation context)
Description copied from interface: IContextHandler
Handles a send event which occurs before a remote invocation request is sent.

Specified by:
handleSend in interface IContextHandler
Parameters:
context - the context data related to this event
See Also:
IContextHandler.handleSend(org.eclipse.hyades.collection.correlation.CorrelatorAssociation)

handleReceive

public void handleReceive(CorrelatorAssociation context)
Description copied from interface: IContextHandler
Handles a receive event which occurs after a remote invocation request has been received.

Specified by:
handleReceive in interface IContextHandler
Parameters:
context - the context data related to this event
See Also:
IContextHandler.handleReceive(org.eclipse.hyades.collection.correlation.CorrelatorAssociation)

handleReply

public void handleReply(CorrelatorAssociation context)
Description copied from interface: IContextHandler
Handles a reply event which occurs before a remote invocation replies.

Specified by:
handleReply in interface IContextHandler
Parameters:
context - the context data related to this event
See Also:
IContextHandler.handleReply(org.eclipse.hyades.collection.correlation.CorrelatorAssociation)

handleReturn

public void handleReturn(CorrelatorAssociation context)
Description copied from interface: IContextHandler
Handles a return event which occurs after the reply of a remote invocation has been received.

Specified by:
handleReturn in interface IContextHandler
See Also:
IContextHandler.handleReturn(org.eclipse.hyades.collection.correlation.CorrelatorAssociation)

TPTP 4.4.0 Platform Project
Public API Specification