gr.uoa.di.madgik.execution.event
Class ExecutionPauseStateEvent

java.lang.Object
  extended by java.util.Observable
      extended by gr.uoa.di.madgik.execution.event.ExecutionStateEvent
          extended by gr.uoa.di.madgik.execution.event.ExecutionPauseStateEvent

public class ExecutionPauseStateEvent
extends ExecutionStateEvent

Event signaling that the execution of a plan should be paused

Author:
gpapanikos

Nested Class Summary
 
Nested classes/interfaces inherited from class gr.uoa.di.madgik.execution.event.ExecutionStateEvent
ExecutionStateEvent.EventName
 
Constructor Summary
ExecutionPauseStateEvent()
          Instantiates a new execution pause state event.
 
Method Summary
 void Decode(byte[] buf)
          Decode.
 byte[] Encode()
          Encode.
 long GetEmitTimestamp()
          Gets the timestamp the event was emitted.
 ExecutionStateEvent.EventName GetEventName()
          Gets the event name.
 
Methods inherited from class gr.uoa.di.madgik.execution.event.ExecutionStateEvent
SetChanged
 
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExecutionPauseStateEvent

public ExecutionPauseStateEvent()
Instantiates a new execution pause state event.

Method Detail

GetEventName

public ExecutionStateEvent.EventName GetEventName()
Description copied from class: ExecutionStateEvent
Gets the event name.

Specified by:
GetEventName in class ExecutionStateEvent
Returns:
the event name

GetEmitTimestamp

public long GetEmitTimestamp()
Description copied from class: ExecutionStateEvent
Gets the timestamp the event was emitted.

Specified by:
GetEmitTimestamp in class ExecutionStateEvent
Returns:
the long

Decode

public void Decode(byte[] buf)
            throws ExecutionSerializationException
Description copied from class: ExecutionStateEvent
Decode.

Specified by:
Decode in class ExecutionStateEvent
Parameters:
buf - the byte array containing the encoded event as serialized by ExecutionStateEvent.Encode()
Throws:
ExecutionSerializationException - A serialization error occurred

Encode

public byte[] Encode()
              throws ExecutionSerializationException
Description copied from class: ExecutionStateEvent
Encode.

Specified by:
Encode in class ExecutionStateEvent
Returns:
the byte array containing the encoded event
Throws:
ExecutionSerializationException - A serialization error occurred


Copyright © 2013. All Rights Reserved.