|
Lightweight Bartering Grid | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Event | |
---|---|
lbg.simulator.event |
Uses of Event in lbg.simulator.event |
---|
Subclasses of Event in lbg.simulator.event | |
---|---|
class |
CompletedTaskEvent
|
class |
FailedTaskEvent
|
class |
SelfEvent
|
class |
SubmittedJobEvent
|
class |
TaskEvent
|
Methods in lbg.simulator.event that return Event | |
---|---|
Event |
EventFactory.createCompletedTaskEvent(java.lang.String consumer_id,
java.lang.String supplier_id,
Task t,
Resource res)
Creates a CompletedTaskEvent so that target Task, submitted by target Consumer Peer, is completed by target Resource of target Supplier Peer, after the expected Task runtime from now. |
Event |
EventFactory.createFailedTaskEvent(java.lang.String consumer_id,
java.lang.String supplier_id,
Task t,
Resource res)
Creates a FailedTaskEvent so that target Task, submitted by target Consumer Peer, is cancelled by target Resource of target Supplier Peer, between now and the expected Task runtime from now. |
Event |
EventFactory.createJobEvent(UserAgent user,
java.lang.String owner_id)
Creates a SubmittedJobEvent so that target UserAgent submits, at a legal random time from now, a Job to target Peer. |
Event |
EventFactory.createJobEvent(UserAgent user,
java.lang.String owner_id,
long base_time)
Creates a SubmittedJobEvent so that target UserAgent submits, at a legal random time from target base time, a Job to target Peer. |
Event |
EventFactory.createSelfEvent()
Creates a SelfEvent. |
Event |
EventContainer.event()
|
Methods in lbg.simulator.event with parameters of type Event | |
---|---|
void |
EventList.addEvent(Event evt)
|
int |
Event.compareTo(Event other)
|
boolean |
EventList.containsEvent(Event evt)
|
void |
EventList.removeEvent(Event evt)
|
Constructors in lbg.simulator.event with parameters of type Event | |
---|---|
EventContainer(Event evt,
boolean is_last_event_at_current_timestamp)
|
|
Lightweight Bartering Grid | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Copyright (c) 2005-2008, Cyril Briquet, parts Xavier Dalem.