public class EnvConfigAgent extends AbstractTucsonAgent
completionEvents
Constructor and Description |
---|
EnvConfigAgent(java.lang.String ipAddress,
int portno) |
Modifier and Type | Method and Description |
---|---|
void |
main()
Main execution cycle, user-defined.
|
void |
operationCompleted(AbstractTupleCentreOperation op) |
void |
operationCompleted(ITucsonOperation op) |
void |
stopIteraction() |
getContext, getTucsonAgentId, go, myName, myNode, myport, say, setContext
public EnvConfigAgent(java.lang.String ipAddress, int portno) throws TucsonInvalidAgentIdException
ipAddress
- the netid of the TuCSoN Node this environment configuration
agent works withportno
- the listening port of the TuCSoN Node this environment
configuration agent works withTucsonInvalidAgentIdException
- this cannot actually happen, since this agent identifier is
given, then well-formedpublic void main()
AbstractTucsonAgent
main
in class AbstractTucsonAgent
public void operationCompleted(AbstractTupleCentreOperation op)
operationCompleted
in interface OperationCompletionListener
operationCompleted
in class AbstractTucsonAgent
op
- the operation completedpublic void operationCompleted(ITucsonOperation op)
operationCompleted
in interface TucsonOperationCompletionListener
operationCompleted
in class AbstractTucsonAgent
op
- the TuCSoN operation just completedpublic void stopIteraction()