public interface InspectorContext
Modifier and Type | Method and Description |
---|---|
void |
acceptVMEvent()
waits and processes TuCSoN virtual machine events
|
void |
addInspectorContextListener(InspectorContextListener l)
adds a new listener to the event generated by this context
|
void |
exit()
shutdown inspector
|
void |
getSnapshot(byte snapshotType)
gets a snapshot of tuple set
|
TucsonTupleCentreId |
getTid() |
void |
isStepMode()
verify is step mode
|
void |
nextStep()
when doing trace, asks for a new virtual machine step
|
void |
removeInspectorContextListener(InspectorContextListener l)
Removes a listener to Inspector Events
|
void |
reset()
resets the tuple centre
|
void |
setEventSet(java.util.List<Tuple> tset)
sets the entire content of the event set
|
void |
setProtocol(InspectorProtocol p)
specifies the protocol used by the inspector
|
void |
setTupleSet(java.util.List<Tuple> tset)
sets the entire content of the tuple set
|
void |
vmStepMode()
do the next step of the VM
|
void acceptVMEvent() throws java.lang.ClassNotFoundException, java.io.IOException, DialogException
java.lang.ClassNotFoundException
- if the Java Object class to be read cannot be foundjava.io.IOException
- if some I/O error occursDialogException
- if the inspected node disconnets unexpectedlyvoid addInspectorContextListener(InspectorContextListener l)
l
- the listener of inspection events to addvoid exit() throws DialogSendException
DialogSendException
- if something goes wrong in the underlying networkvoid getSnapshot(byte snapshotType) throws DialogSendException
snapshotType
- the type of snapshot the inspector wants to receiveDialogSendException
- if something goes wrong in the underlying networkTucsonTupleCentreId getTid()
void isStepMode()
void nextStep() throws DialogSendException
DialogSendException
- if something goes wrong in the underlying networkvoid removeInspectorContextListener(InspectorContextListener l)
l
- the listener of inspection events to removevoid reset() throws DialogSendException
DialogSendException
- if something goes wrong in the underlying networkvoid setEventSet(java.util.List<Tuple> tset) throws DialogSendException
tset
- the list of tuples representing events to overwrite current
InQ withDialogSendException
- if something goes wrong in the underlying networkvoid setProtocol(InspectorProtocol p) throws DialogSendException
p
- the inspection protocol to be usedDialogSendException
- if something goes wrong in the underlying networkvoid setTupleSet(java.util.List<Tuple> tset) throws DialogSendException
tset
- the list of tuples to overwrite current tuple set withDialogSendException
- if something goes wrong in the underlying networkvoid vmStepMode() throws DialogSendException
DialogSendException
- if the VM is not reachable due to network problems