[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Swarm-Support] Doubt about Schedule
From: |
durga bhavani |
Subject: |
[Swarm-Support] Doubt about Schedule |
Date: |
Sun, 13 Nov 2005 17:26:00 -0800 (PST) |
Hello All,
I have a doubt regarding scheduling
I am trying to call a method but i need to pass the time step when i am creating so i am using
Globalse.env.getCurrentTime to get the current time
Can i pass this as argument to function
try {
SimF protoLeader = (SimF) leaderList2.get(0);
Selector sel1 = new Selector (protoLeader.getClass (), "method(Globals.env.getCurrentTime())", false);
System.out.println("Loading Loader");
actionForEach[3] = modelActions.createActionForEach$message(leaderList2, sel1);
}
catch (SignatureNotFoundException e) {
e.printStackTrace();
System.out.println("Exception has occured here signature");
}
catch(Exception e1)
{
e1.printStackTrace();
}
Thanks a lot
Durga
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
- [Swarm-Support] Doubt about Schedule,
durga bhavani <=