TPTP 4.1.0 Platform Project
Public API Specification

org.eclipse.hyades.collection.correlation
Interface IContextHandler

All Known Implementing Classes:
TraceHandler

public interface IContextHandler

This is a context handler capable of handling six distinct events. This interface only suggests the semantics of the events, and implementors can choose which events to use and their precise semantics.


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 contex)
          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.
 

Method Detail

handleEntry

public void handleEntry(CorrelatorAssociation context)
Handles an entry event which occurs before a local method invocation.

Parameters:
context - the context data related to this event

handleExit

public void handleExit(CorrelatorAssociation context)
Handles an exit event which occurs after a local method invocation has returned.

Parameters:
context - the context data related to this event

handleSend

public void handleSend(CorrelatorAssociation context)
Handles a send event which occurs before a remote invocation request is sent.

Parameters:
context - the context data related to this event

handleReceive

public void handleReceive(CorrelatorAssociation context)
Handles a receive event which occurs after a remote invocation request has been received.

Parameters:
context - the context data related to this event

handleReply

public void handleReply(CorrelatorAssociation context)
Handles a reply event which occurs before a remote invocation replies.

Parameters:
context - the context data related to this event

handleReturn

public void handleReturn(CorrelatorAssociation contex)
Handles a return event which occurs after the reply of a remote invocation has been received.


TPTP 4.1.0 Platform Project
Public API Specification