gr.uoa.di.madgik.execution.plan.element.invocable
Class BoundaryHandler

java.lang.Object
  extended by java.lang.Thread
      extended by gr.uoa.di.madgik.execution.plan.element.invocable.BoundaryHandler
All Implemented Interfaces:
Runnable, Observer

public class BoundaryHandler
extends Thread
implements Observer


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
 
Field Summary
 boolean Completed
           
 ExecutionException Error
           
 boolean Successful
           
 boolean WeirdCompletion
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
BoundaryHandler(IPlanElement PlanToSend, VariableCollection VarsToSend, gr.uoa.di.madgik.environment.hint.EnvHintCollection HintsToSend, ExecutionHandle Handle, String ID, String Name, BoundaryConfig Config, BoundaryIsolationInfo IsolationToSend, PlanConfig PlanConfigToSend, Set<ExecutionAttachment> Attachments)
           
BoundaryHandler(Socket socket)
           
 
Method Summary
 void BoundarySideProtocol()
           
 String EngineSideProtocol()
           
 void run()
           
 void update(Observable o, Object arg)
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

Completed

public boolean Completed

Successful

public boolean Successful

WeirdCompletion

public boolean WeirdCompletion

Error

public ExecutionException Error
Constructor Detail

BoundaryHandler

public BoundaryHandler(Socket socket)

BoundaryHandler

public BoundaryHandler(IPlanElement PlanToSend,
                       VariableCollection VarsToSend,
                       gr.uoa.di.madgik.environment.hint.EnvHintCollection HintsToSend,
                       ExecutionHandle Handle,
                       String ID,
                       String Name,
                       BoundaryConfig Config,
                       BoundaryIsolationInfo IsolationToSend,
                       PlanConfig PlanConfigToSend,
                       Set<ExecutionAttachment> Attachments)
Method Detail

BoundarySideProtocol

public void BoundarySideProtocol()
                          throws Exception
Throws:
Exception

EngineSideProtocol

public String EngineSideProtocol()
                          throws ExecutionInternalErrorException,
                                 IOException,
                                 ExecutionRunTimeException,
                                 gr.uoa.di.madgik.environment.exception.EnvironmentSerializationException,
                                 ExecutionSerializationException,
                                 Exception
Throws:
ExecutionInternalErrorException
IOException
ExecutionRunTimeException
gr.uoa.di.madgik.environment.exception.EnvironmentSerializationException
ExecutionSerializationException
Exception

run

public void run()
Specified by:
run in interface Runnable
Overrides:
run in class Thread

update

public void update(Observable o,
                   Object arg)
Specified by:
update in interface Observer


Copyright © 2012. All Rights Reserved.