public class ObservationService extends java.lang.Object implements NodeServiceListener
Constructor and Description |
---|
ObservationService(TucsonTupleCentreId ctx) |
public ObservationService(TucsonTupleCentreId ctx)
ctx
- the identifier of the tuple centre under observationpublic void accEntered(TucsonAgentId aid)
NodeServiceListener
accEntered
in interface NodeServiceListener
aid
- the agent identifierpublic void accQuit(TucsonAgentId aid)
NodeServiceListener
accQuit
in interface NodeServiceListener
aid
- the agent identifierpublic void getSpecCompleted(TupleCentreId tid, IId id, java.lang.String spec)
getSpecCompleted
in interface ObservableEventListener
tid
- the identifier of the tuple centre under observationid
- the identifier of the requestor of the observed operaionspec
- the ReSpecT specification argument of the observed operationpublic void getSpecRequested(TupleCentreId tid, IId id)
getSpecRequested
in interface ObservableEventListener
tid
- the identifier of the tuple centre under observationid
- the identifier of the requestor of the observed operaionpublic void inCompleted(TupleCentreId tid, IId id, Tuple t)
inCompleted
in interface ObservableEventListener
tid
- the identifier of the tuple centre under observationid
- the identifier of the requestor of the observed operaiont
- the tuple argument of the observed operationpublic void inpCompleted(TupleCentreId tid, IId id, Tuple t)
inpCompleted
in interface ObservableEventListener
tid
- the identifier of the tuple centre under observationid
- the identifier of the requestor of the observed operaiont
- the tuple argument of the observed operationpublic void inpRequested(TupleCentreId tid, IId id, TupleTemplate t)
inpRequested
in interface ObservableEventListener
tid
- the identifier of the tuple centre under observationid
- the identifier of the requestor of the observed operaiont
- the tuple argument of the observed operationpublic void inRequested(TupleCentreId tid, IId id, TupleTemplate t)
inRequested
in interface ObservableEventListener
tid
- the identifier of the tuple centre under observationid
- the identifier of the requestor of the observed operaiont
- the tuple argument of the observed operationpublic void outRequested(TupleCentreId tid, IId id, Tuple t)
outRequested
in interface ObservableEventListener
tid
- the identifier of the tuple centre under observationid
- the identifier of the requestor of the observed operaiont
- the tuple argument of the observed operationpublic void rdCompleted(TupleCentreId tid, IId id, Tuple t)
rdCompleted
in interface ObservableEventListener
tid
- the identifier of the tuple centre under observationid
- the identifier of the requestor of the observed operaiont
- the tuple argument of the observed operationpublic void rdpCompleted(TupleCentreId tid, IId id, Tuple t)
rdpCompleted
in interface ObservableEventListener
tid
- the identifier of the tuple centre under observationid
- the identifier of the requestor of the observed operaiont
- the tuple argument of the observed operationpublic void rdpRequested(TupleCentreId tid, IId id, TupleTemplate t)
rdpRequested
in interface ObservableEventListener
tid
- the identifier of the tuple centre under observationid
- the identifier of the requestor of the observed operaiont
- the tuple argument of the observed operationpublic void rdRequested(TupleCentreId tid, IId id, TupleTemplate t)
rdRequested
in interface ObservableEventListener
tid
- the identifier of the tuple centre under observationid
- the identifier of the requestor of the observed operaiont
- the tuple argument of the observed operationpublic void setSpecCompleted(TupleCentreId tid, IId id)
setSpecCompleted
in interface ObservableEventListener
tid
- the identifier of the tuple centre under observationid
- the identifier of the requestor of the observed operaionpublic void setSpecRequested(TupleCentreId tid, IId id, java.lang.String spec)
setSpecRequested
in interface ObservableEventListener
tid
- the identifier of the tuple centre under observationid
- the identifier of the requestor of the observed operaionspec
- the ReSpecT specification argument of the observed operationpublic void tcCreated(TucsonTupleCentreId tid)
NodeServiceListener
tcCreated
in interface NodeServiceListener
tid
- the created tuplecentre identifierpublic void tcDestroyed(TucsonTupleCentreId tid)
NodeServiceListener
tcDestroyed
in interface NodeServiceListener
tid
- the destroyed tuplecentre identifier