cartago
Class CartagoLoggerAdapter
java.lang.Object
cartago.CartagoLoggerAdapter
- All Implemented Interfaces:
- ICartagoLogger
public class CartagoLoggerAdapter
- extends java.lang.Object
- implements ICartagoLogger
Adapter for logging components.
- Author:
- aricci
Method Summary |
void |
agentJoined(long when,
AgentId id)
|
void |
agentQuit(long when,
AgentId id)
|
void |
artifactCreated(long when,
ArtifactId id,
AgentId creator)
|
void |
artifactDisposed(long when,
ArtifactId id,
AgentId disposer)
|
void |
artifactFocussed(long when,
AgentId who,
ArtifactId id,
IEventFilter ev)
|
void |
artifactNoMoreFocussed(long when,
AgentId who,
ArtifactId id)
|
void |
artifactsLinked(long when,
AgentId id,
ArtifactId linking,
ArtifactId linked)
|
void |
newPercept(long when,
ArtifactId aid,
Tuple signal,
ArtifactObsProperty[] added,
ArtifactObsProperty[] removed,
ArtifactObsProperty[] changed)
|
void |
opCompleted(long when,
OpId oid,
ArtifactId aid,
Op op)
|
void |
opFailed(long when,
OpId oid,
ArtifactId aid,
Op op,
java.lang.String msg,
Tuple descr)
|
void |
opRequested(long when,
AgentId who,
ArtifactId aid,
Op op)
|
void |
opResumed(long when,
OpId oid,
ArtifactId aid,
Op op)
|
void |
opStarted(long when,
OpId oid,
ArtifactId aid,
Op op)
|
void |
opSuspended(long when,
OpId oid,
ArtifactId aid,
Op op)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CartagoLoggerAdapter
public CartagoLoggerAdapter()
agentJoined
public void agentJoined(long when,
AgentId id)
- Specified by:
agentJoined
in interface ICartagoLogger
agentQuit
public void agentQuit(long when,
AgentId id)
- Specified by:
agentQuit
in interface ICartagoLogger
artifactCreated
public void artifactCreated(long when,
ArtifactId id,
AgentId creator)
- Specified by:
artifactCreated
in interface ICartagoLogger
artifactDisposed
public void artifactDisposed(long when,
ArtifactId id,
AgentId disposer)
- Specified by:
artifactDisposed
in interface ICartagoLogger
artifactFocussed
public void artifactFocussed(long when,
AgentId who,
ArtifactId id,
IEventFilter ev)
- Specified by:
artifactFocussed
in interface ICartagoLogger
artifactNoMoreFocussed
public void artifactNoMoreFocussed(long when,
AgentId who,
ArtifactId id)
- Specified by:
artifactNoMoreFocussed
in interface ICartagoLogger
artifactsLinked
public void artifactsLinked(long when,
AgentId id,
ArtifactId linking,
ArtifactId linked)
- Specified by:
artifactsLinked
in interface ICartagoLogger
newPercept
public void newPercept(long when,
ArtifactId aid,
Tuple signal,
ArtifactObsProperty[] added,
ArtifactObsProperty[] removed,
ArtifactObsProperty[] changed)
- Specified by:
newPercept
in interface ICartagoLogger
opCompleted
public void opCompleted(long when,
OpId oid,
ArtifactId aid,
Op op)
- Specified by:
opCompleted
in interface ICartagoLogger
opFailed
public void opFailed(long when,
OpId oid,
ArtifactId aid,
Op op,
java.lang.String msg,
Tuple descr)
- Specified by:
opFailed
in interface ICartagoLogger
opRequested
public void opRequested(long when,
AgentId who,
ArtifactId aid,
Op op)
- Specified by:
opRequested
in interface ICartagoLogger
opResumed
public void opResumed(long when,
OpId oid,
ArtifactId aid,
Op op)
- Specified by:
opResumed
in interface ICartagoLogger
opStarted
public void opStarted(long when,
OpId oid,
ArtifactId aid,
Op op)
- Specified by:
opStarted
in interface ICartagoLogger
opSuspended
public void opSuspended(long when,
OpId oid,
ArtifactId aid,
Op op)
- Specified by:
opSuspended
in interface ICartagoLogger
>DEIS - University of Bologna