2008-06-27 15:10:24 +00:00
|
|
|
from zope.interface import implements
|
|
|
|
|
from zope.component import adapts
|
|
|
|
|
|
2008-07-23 20:03:40 +00:00
|
|
|
from interfaces import IAgent
|
|
|
|
|
|
|
|
|
|
import grokcore.component as grok
|
2008-06-27 15:10:24 +00:00
|
|
|
|
|
|
|
|
class Agent(object):
|
|
|
|
|
"""an OGP agent"""
|
|
|
|
|
|
|
|
|
|
implements(IAgent)
|
|
|
|
|
|
|
|
|
|
def __init__(self, agentdomain):
|
|
|
|
|
"""initialize this agent"""
|
|
|
|
|
self.agentdomain = agentdomain
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|