public class InspectorContextSkel extends AbstractACCProxyNodeSide implements InspectableEventListener
Constructor and Description |
---|
InspectorContextSkel(ACCProvider man,
AbstractTucsonProtocol d,
TucsonNodeService node,
ACCDescription p) |
Modifier and Type | Method and Description |
---|---|
void |
exit(ShutdownMsg msg) |
void |
getSnapshot(GetSnapshotMsg m)
get a tuple centre set (T set, W set,...) snapshot
|
void |
isStepMode(IsActiveStepModeMsg m)
verify if VM step mode is already active
|
protected void |
log(java.lang.String st) |
void |
nextStep(NextStepMsg m)
ask a new step for a tuple centre vm during step mode
|
void |
onInspectableEvent(InspectableEvent ev)
Method triggered by the tuple centre virtual machine when an observable
event is observed inside the VM
|
void |
operationCompleted(AbstractTupleCentreOperation op) |
void |
reset()
reset the tuple centre VM
|
void |
run() |
void |
setEventSet(SetEventSetMsg m)
set a new tuple set
|
void |
setProtocol(SetProtocolMsg msg)
setting new observation protocol
|
void |
setTupleSet(SetTupleSetMsg m)
set a new tuple set
|
void |
stepMode(StepModeMsg m)
enable/disable VM step Mode
|
activeCount, checkAccess, clone, 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
public InspectorContextSkel(ACCProvider man, AbstractTucsonProtocol d, TucsonNodeService node, ACCDescription p) throws TucsonGenericException, TucsonInvalidAgentIdException, DialogReceiveException, TucsonInvalidTupleCentreIdException
man
- the ACC provider distributing ACCsd
- the TuCSoN protocol to be usednode
- the TuCSoN node service to communicate withp
- the ACC properties descriptorTucsonGenericException
- if the tuple centre to inspect cannot be resolvedTucsonInvalidAgentIdException
- if the ACCDescription's "agent-identity" property does not
represent a valid TuCSoN identifierTucsonInvalidTupleCentreIdException
- if the TupleCentreId, contained into AbstractTucsonProtocol's
message, does not represent a valid TuCSoN identifierDialogReceiveException
- if something goes wrong in the underlying networkpublic void exit(ShutdownMsg msg)
exit
in class AbstractACCProxyNodeSide
msg
- the shutdown messagepublic void getSnapshot(GetSnapshotMsg m)
m
- the snapshot messagepublic void isStepMode(IsActiveStepModeMsg m)
m
- the IsActiveStepModeMsgpublic void nextStep(NextStepMsg m)
m
- the NxtStepMsgpublic void onInspectableEvent(InspectableEvent ev)
InspectableEventListener
onInspectableEvent
in interface InspectableEventListener
ev
- the observed eventpublic void operationCompleted(AbstractTupleCentreOperation op)
operationCompleted
in interface OperationCompletionListener
op
- the operation completedpublic void reset()
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
public void setEventSet(SetEventSetMsg m)
m
- the set InQ messagepublic void setProtocol(SetProtocolMsg msg)
msg
- the set protocol messagepublic void setTupleSet(SetTupleSetMsg m) throws TucsonInvalidLogicTupleException
m
- the set tuples messageTucsonInvalidLogicTupleException
- if the TupleSet contained into the given argument m is not a
valid tuples listpublic void stepMode(StepModeMsg m)
m
- the step mode messageprotected void log(java.lang.String st)
st
- the String to log