|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.Observable
gr.uoa.di.madgik.execution.event.ExecutionStateEvent
gr.uoa.di.madgik.execution.event.ExecutionExternalProgressReportStateEvent
public class ExecutionExternalProgressReportStateEvent
Event signaling the progress of the execution of an external to the engine element. This event can either just contain a message that is emitted back to the client or it can also report a progress indication.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class gr.uoa.di.madgik.execution.event.ExecutionStateEvent |
|---|
ExecutionStateEvent.EventName |
| Constructor Summary | |
|---|---|
ExecutionExternalProgressReportStateEvent()
Instantiates a new execution external progress report state event. |
|
ExecutionExternalProgressReportStateEvent(String ID,
String ExternalSender,
int CurrentStep,
int TotalSteps)
Instantiates a new execution external progress report state event. |
|
ExecutionExternalProgressReportStateEvent(String ID,
String ExternalSender,
int CurrentStep,
int TotalSteps,
String Message)
Instantiates a new execution external progress report state event. |
|
ExecutionExternalProgressReportStateEvent(String ID,
String ExternalSender,
String Message)
Instantiates a new execution external progress report state event. |
|
| Method Summary | |
|---|---|
void |
Decode(byte[] buf)
Decode. |
boolean |
DoesReportProgress()
Does report progress. |
void |
DoesReportProgress(boolean ReportsProgress)
Does report progress. |
byte[] |
Encode()
Encode. |
int |
GetCurrentStep()
Gets the current step. |
long |
GetEmitTimestamp()
Gets the timestamp the event was emitted. |
ExecutionStateEvent.EventName |
GetEventName()
Gets the event name. |
String |
GetExternalSender()
Gets the external sender. |
String |
GetID()
Gets the id. |
String |
GetMessage()
Gets the message. |
int |
GetTotalSteps()
Gets the total steps. |
void |
SetCurrentStep(int CurrentStep)
Sets the current step. |
void |
SetExternalSender(String ExternalSender)
Sets the external sender. |
void |
SetMessage(String Message)
Sets the message. |
void |
SetTotalSteps(int TotalSteps)
Sets the total steps. |
| 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 |
|---|
public ExecutionExternalProgressReportStateEvent()
public ExecutionExternalProgressReportStateEvent(String ID,
String ExternalSender,
String Message)
ID - the iD of the plan element responsible for the external component emitting the eventExternalSender - the external senderMessage - the message
public ExecutionExternalProgressReportStateEvent(String ID,
String ExternalSender,
int CurrentStep,
int TotalSteps)
ID - the iD of the plan element responsible for the external component emitting the eventExternalSender - the external senderCurrentStep - the current step the current step of the executionTotalSteps - the total steps the total steps of the execution
public ExecutionExternalProgressReportStateEvent(String ID,
String ExternalSender,
int CurrentStep,
int TotalSteps,
String Message)
ID - the iD of the plan element responsible for the external component emitting the eventExternalSender - the external senderCurrentStep - the current step the current step of the executionTotalSteps - the total steps the total steps of the executionMessage - the message| Method Detail |
|---|
public String GetID()
public boolean DoesReportProgress()
public void DoesReportProgress(boolean ReportsProgress)
ReportsProgress - the reports progresspublic int GetCurrentStep()
public void SetCurrentStep(int CurrentStep)
CurrentStep - the current steppublic int GetTotalSteps()
public void SetTotalSteps(int TotalSteps)
TotalSteps - the total stepspublic String GetMessage()
public void SetMessage(String Message)
Message - the messagepublic String GetExternalSender()
public void SetExternalSender(String ExternalSender)
ExternalSender - the external senderpublic ExecutionStateEvent.EventName GetEventName()
ExecutionStateEvent
GetEventName in class ExecutionStateEventpublic long GetEmitTimestamp()
ExecutionStateEvent
GetEmitTimestamp in class ExecutionStateEvent
public void Decode(byte[] buf)
throws ExecutionSerializationException
ExecutionStateEvent
Decode in class ExecutionStateEventbuf - the byte array containing the encoded event as serialized by ExecutionStateEvent.Encode()
ExecutionSerializationException - A serialization error occurred
public byte[] Encode()
throws ExecutionSerializationException
ExecutionStateEvent
Encode in class ExecutionStateEventExecutionSerializationException - A serialization error occurred
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||