PTP
Release 5.0

org.eclipse.ptp.debug.core.pdi.event
Class AbstractEventFactory

java.lang.Object
  extended by org.eclipse.ptp.debug.core.pdi.event.AbstractEventFactory
All Implemented Interfaces:
IPDIEventFactory

public abstract class AbstractEventFactory
extends java.lang.Object
implements IPDIEventFactory


Constructor Summary
AbstractEventFactory()
           
 
Method Summary
 IPDIBreakpointInfo newBreakpointInfo(IPDISession session, TaskSet tasks, IPDIBreakpoint bpt)
           
 IPDIChangedEvent newChangedEvent(IPDISessionObject reason)
           
 IPDIConnectedEvent newConnectedEvent(IPDISessionObject reason, TaskSet tasks)
           
 IPDICreatedEvent newCreatedEvent(IPDISessionObject reason)
           
 java.lang.Object newDataReadMemoryInfo(java.lang.String address, long nextRow, long prevRow, long nextPage, long prevPage, long numBytes, long totalBytes, IPDIMemory[] memories)
           
 IPDIDestroyedEvent newDestroyedEvent(IPDISessionObject reason)
           
 IPDIDisconnectedEvent newDisconnectedEvent(IPDISessionObject reason, TaskSet tasks)
           
 IPDIEndSteppingRangeInfo newEndSteppingRangeInfo(IPDISession session, TaskSet tasks, IPDILocator locator)
           
 IPDIErrorEvent newErrorEvent(IPDISessionObject reason)
           
 IPDIErrorInfo newErrorInfo(IPDISession session, TaskSet tasks, int code, java.lang.String msg, java.lang.String detailMsg)
           
 IPDIExitInfo newExitInfo(IPDISession session, TaskSet tasks, int code)
           
 IPDILocationReachedInfo newLocationReachedInfo(IPDISession session, TaskSet tasks, IPDILocator locator)
           
 IPDISessionObject newMemoryBlockInfo(IPDISession session, TaskSet tasks, java.math.BigInteger[] bigIntegers, IPDIMemoryBlock block)
           
 IPDIOutputEvent newOutputEvent(IPDISessionObject reason, TaskSet tasks, java.lang.String output)
           
 IPDIResumedEvent newResumedEvent(IPDISessionObject reason, TaskSet tasks, int type)
           
 IPDISignalInfo newSignalInfo(IPDISession session, TaskSet tasks, java.lang.String name, java.lang.String desc, IPDISignal signal, IPDILocator locator)
           
 IPDIStartedEvent newStartedEvent(IPDISessionObject reason, TaskSet tasks)
           
 IPDISuspendedEvent newSuspendedEvent(IPDISessionObject reason, java.lang.String[] vars, int thread_id, int level, int depth)
           
 IPDISessionObject newThreadInfo(IPDISession session, TaskSet tasks, int id, IPDIThread thread)
           
 IPDIVariableInfo newVariableInfo(IPDISession session, TaskSet tasks, java.lang.String name, IPDIVariable var)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractEventFactory

public AbstractEventFactory()
Method Detail

newDataReadMemoryInfo

public java.lang.Object newDataReadMemoryInfo(java.lang.String address,
                                              long nextRow,
                                              long prevRow,
                                              long nextPage,
                                              long prevPage,
                                              long numBytes,
                                              long totalBytes,
                                              IPDIMemory[] memories)
Specified by:
newDataReadMemoryInfo in interface IPDIEventFactory
Returns:

newBreakpointInfo

public IPDIBreakpointInfo newBreakpointInfo(IPDISession session,
                                            TaskSet tasks,
                                            IPDIBreakpoint bpt)
Specified by:
newBreakpointInfo in interface IPDIEventFactory
Returns:
Since:
4.0

newChangedEvent

public IPDIChangedEvent newChangedEvent(IPDISessionObject reason)
Specified by:
newChangedEvent in interface IPDIEventFactory
Returns:

newConnectedEvent

public IPDIConnectedEvent newConnectedEvent(IPDISessionObject reason,
                                            TaskSet tasks)
Specified by:
newConnectedEvent in interface IPDIEventFactory
Returns:
Since:
4.0

newCreatedEvent

public IPDICreatedEvent newCreatedEvent(IPDISessionObject reason)
Specified by:
newCreatedEvent in interface IPDIEventFactory
Returns:

newDestroyedEvent

public IPDIDestroyedEvent newDestroyedEvent(IPDISessionObject reason)
Specified by:
newDestroyedEvent in interface IPDIEventFactory
Returns:

newDisconnectedEvent

public IPDIDisconnectedEvent newDisconnectedEvent(IPDISessionObject reason,
                                                  TaskSet tasks)
Specified by:
newDisconnectedEvent in interface IPDIEventFactory
Returns:
Since:
4.0

newEndSteppingRangeInfo

public IPDIEndSteppingRangeInfo newEndSteppingRangeInfo(IPDISession session,
                                                        TaskSet tasks,
                                                        IPDILocator locator)
Specified by:
newEndSteppingRangeInfo in interface IPDIEventFactory
Returns:
Since:
4.0

newErrorEvent

public IPDIErrorEvent newErrorEvent(IPDISessionObject reason)
Specified by:
newErrorEvent in interface IPDIEventFactory
Returns:

newErrorInfo

public IPDIErrorInfo newErrorInfo(IPDISession session,
                                  TaskSet tasks,
                                  int code,
                                  java.lang.String msg,
                                  java.lang.String detailMsg)
Specified by:
newErrorInfo in interface IPDIEventFactory
Returns:
Since:
4.0

newExitInfo

public IPDIExitInfo newExitInfo(IPDISession session,
                                TaskSet tasks,
                                int code)
Specified by:
newExitInfo in interface IPDIEventFactory
Returns:
Since:
4.0

newLocationReachedInfo

public IPDILocationReachedInfo newLocationReachedInfo(IPDISession session,
                                                      TaskSet tasks,
                                                      IPDILocator locator)
Specified by:
newLocationReachedInfo in interface IPDIEventFactory
Returns:
Since:
4.0

newMemoryBlockInfo

public IPDISessionObject newMemoryBlockInfo(IPDISession session,
                                            TaskSet tasks,
                                            java.math.BigInteger[] bigIntegers,
                                            IPDIMemoryBlock block)
Specified by:
newMemoryBlockInfo in interface IPDIEventFactory
Returns:
Since:
4.0

newOutputEvent

public IPDIOutputEvent newOutputEvent(IPDISessionObject reason,
                                      TaskSet tasks,
                                      java.lang.String output)
Specified by:
newOutputEvent in interface IPDIEventFactory
Returns:
Since:
4.0

newResumedEvent

public IPDIResumedEvent newResumedEvent(IPDISessionObject reason,
                                        TaskSet tasks,
                                        int type)
Specified by:
newResumedEvent in interface IPDIEventFactory
Returns:
Since:
4.0

newSignalInfo

public IPDISignalInfo newSignalInfo(IPDISession session,
                                    TaskSet tasks,
                                    java.lang.String name,
                                    java.lang.String desc,
                                    IPDISignal signal,
                                    IPDILocator locator)
Specified by:
newSignalInfo in interface IPDIEventFactory
Returns:
Since:
4.0

newStartedEvent

public IPDIStartedEvent newStartedEvent(IPDISessionObject reason,
                                        TaskSet tasks)
Specified by:
newStartedEvent in interface IPDIEventFactory
Returns:
Since:
4.0

newSuspendedEvent

public IPDISuspendedEvent newSuspendedEvent(IPDISessionObject reason,
                                            java.lang.String[] vars,
                                            int thread_id,
                                            int level,
                                            int depth)
Specified by:
newSuspendedEvent in interface IPDIEventFactory
Returns:

newThreadInfo

public IPDISessionObject newThreadInfo(IPDISession session,
                                       TaskSet tasks,
                                       int id,
                                       IPDIThread thread)
Specified by:
newThreadInfo in interface IPDIEventFactory
Returns:
Since:
4.0

newVariableInfo

public IPDIVariableInfo newVariableInfo(IPDISession session,
                                        TaskSet tasks,
                                        java.lang.String name,
                                        IPDIVariable var)
Specified by:
newVariableInfo in interface IPDIEventFactory
Since:
4.0

PTP
Release 5.0

Copyright (c) 2011 IBM Corporation and others. All Rights Reserved.