/** * Init the agent. */ @AgentCreated public void agentCreated() { // System.out.println("invoked created"); }
@AgentCreated public void init(IInternalAccess agent) { number = 9.2; }
/** * Called on agent creation. */ @AgentCreated public void agentCreated() { this.subscribers = new HashMap<String, List<SubscriptionIntermediateFuture<Event>>>(); }
@AgentCreated public void start() { System.out.println("Jetty started"); }
/** * Init the agent. */ @AgentCreated public IFuture<Void> agentCreated() { throw new RuntimeException("Exception in init."); } }
@AgentCreated private void created() { System.out.println("provider created"); }
/** * Init the service. */ @AgentCreated public void agentCreated() { System.out.println("created"); // return IFuture.DONE; }
/** * Init the agent. */ @AgentCreated public IFuture<Void> agentCreated() { throw new RuntimeException("Exception in init."); } }
@AgentCreated public void hello() { System.out.println("hello: "+agent); } }
@AgentCreated public void init() { slogans = new ArrayList<String>(); slogans.add("Good luck bastard"); slogans.add("Life is a game"); slogans.add("The sun makes you smile"); }
/** * Called on agent creation. */ @AgentCreated public void agentCreated() { this.rbsubscribers = new ArrayList<SubscriptionIntermediateFuture<IRulebaseEvent>>(); this.opencalls = new HashMap<Integer, Set<Integer>>(); this.callfutures = new HashMap<Integer, Future<Void>>(); }
@AgentCreated public void init() { wordtable.put("coffee", "Kaffee"); wordtable.put("milk", "Milch"); wordtable.put("cow", "Kuh"); wordtable.put("cat", "Katze"); wordtable.put("dog", "Hund"); }
@AgentCreated public void init() { wordtable.put("coffee", "Kaffee"); wordtable.put("milk", "Milch"); wordtable.put("cow", "Kuh"); wordtable.put("cat", "Katze"); wordtable.put("dog", "Hund"); }
/** * The init code. */ @AgentCreated public void init() { wordtable.put("coffee", "Kaffee"); wordtable.put("milk", "Milch"); wordtable.put("cow", "Kuh"); wordtable.put("cat", "Katze"); wordtable.put("dog", "Hund"); }
@AgentCreated public void init() { wordtable.put("coffee", "Kaffee"); wordtable.put("milk", "Milch"); wordtable.put("cow", "Kuh"); wordtable.put("cat", "Katze"); wordtable.put("dog", "Hund"); }
@AgentCreated public void init() { // Do not create the map here (only as initial assignment) this.wordtable = new HashMap<String, String>(); wordtable.put("coffee", "Kaffee"); wordtable.put("milk", "Milch"); wordtable.put("cow", "Kuh"); wordtable.put("cat", "Katze"); wordtable.put("dog", "Hund"); wordtable.put("bugger", "Flegel"); }
@AgentCreated public void init() { wordtable.put("coffee", "Kaffee"); wordtable.put("milk", "Milch"); wordtable.put("cow", "Kuh"); wordtable.put("cat", "Katze"); wordtable.put("dog", "Hund"); wordtable.put(wordpair[0], wordpair[1]); System.out.println("dictionary is: "+wordtable); } }
@AgentCreated public void init() { // System.out.println("Created: "+this); this.wordtable = new HashMap<String, String>(); this.wordtable.put("coffee", "Kaffee"); this.wordtable.put("milk", "Milch"); this.wordtable.put("cow", "Kuh"); this.wordtable.put("cat", "Katze"); this.wordtable.put("dog", "Hund"); }
@AgentCreated public void init() { wordtable.put("coffee", "Kaffee"); wordtable.put("milk", "Milch"); wordtable.put("cow", "Kuh"); wordtable.put("cat", "Katze"); wordtable.put("dog", "Hund"); wordtable.put("bugger", "Flegel"); }
@AgentCreated public void init() { wordtable.put("coffee", "Kaffee"); wordtable.put("milk", "Milch"); wordtable.put("cow", "Kuh"); wordtable.put("cat", "Katze"); wordtable.put("dog", "Hund"); wordtable.put(wordpair[0], wordpair[1]); System.out.println("dictionary is: "+wordtable); } }