com.evelopers.unimod.debug.protocol
Class EventMessage

java.lang.Object
  extended bycom.evelopers.unimod.debug.protocol.Message
      extended bycom.evelopers.unimod.debug.protocol.EventMessage
All Implemented Interfaces:
java.io.Serializable

public class EventMessage
extends Message

Posiible events: suspended on breakpoint, suspended on step, resumed

See Also:
Serialized Form

Field Summary
static int RESUMED
           
static int SUSPENDED_ON_BREAKPOINT
           
static int SUSPENDED_ON_STEP
           
static int THREAD_CREATED
           
static int UNKNOWN_COMMAND
           
 
Method Summary
static EventMessage createCreated(ThreadInfo thread)
           
static EventMessage createResumed(ThreadInfo thread)
           
static EventMessage createSuspendedOnBreakpoint(Position position, ThreadInfo thread)
           
static EventMessage createSuspendedOnStep(Position position, ThreadInfo thread)
           
static EventMessage createUnknownCommand(java.lang.String info)
           
 java.lang.String getInfo()
           
 Position getPosition()
           
 
Methods inherited from class com.evelopers.unimod.debug.protocol.Message
getThreadInfo, getType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

THREAD_CREATED

public static final int THREAD_CREATED
See Also:
Constant Field Values

SUSPENDED_ON_BREAKPOINT

public static final int SUSPENDED_ON_BREAKPOINT
See Also:
Constant Field Values

SUSPENDED_ON_STEP

public static final int SUSPENDED_ON_STEP
See Also:
Constant Field Values

RESUMED

public static final int RESUMED
See Also:
Constant Field Values

UNKNOWN_COMMAND

public static final int UNKNOWN_COMMAND
See Also:
Constant Field Values
Method Detail

createSuspendedOnBreakpoint

public static EventMessage createSuspendedOnBreakpoint(Position position,
                                                       ThreadInfo thread)

createSuspendedOnStep

public static EventMessage createSuspendedOnStep(Position position,
                                                 ThreadInfo thread)

createCreated

public static EventMessage createCreated(ThreadInfo thread)

createResumed

public static EventMessage createResumed(ThreadInfo thread)

createUnknownCommand

public static EventMessage createUnknownCommand(java.lang.String info)

getPosition

public Position getPosition()

getInfo

public java.lang.String getInfo()
Returns:
Returns the info.