01: /*
02: * $Id: AbstractActor.java 911 2007-02-20 13:53:49Z hengels $
03: * (c) Copyright 2004 con:cern development team.
04: *
05: * This file is part of con:cern (http://concern.org).
06: *
07: * con:cern is free software; you can redistribute it and/or modify
08: * it under the terms of the GNU Lesser General Public License
09: * as published by the Free Software Foundation; either version 2.1
10: * of the License, or (at your option) any later version.
11: *
12: * Please see COPYING for the complete licence.
13: */
14: package org.concern.controller;
15:
16: /**
17: * @author hengels
18: * @version $Revision: 911 $
19: */
20: public abstract class AbstractActor<S> extends AbstractNode implements
21: Actor<S> {
22: public String getName() {
23: return (String) environment.get("actor.name");
24: }
25:
26: public long getTimeout(S subject, int level) {
27: return -1;
28: }
29: }
|