-
Notifications
You must be signed in to change notification settings - Fork 199
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trigring MessageDeleteEvent #38
Comments
There is no generator for message deletion events, but you can take a look at input/MessageEventGenerator to see how to build one. The other option is to create a file with the message deletion events and use the ExternalEventsQueue to trigger them in the simulation. |
is there any other way to simulate a packet drop between two hosts? |
Messages are not dropped between hosts. Each host maintains a buffer of the messages it is carrying and can remove messages from it at arbitrary times. See the |
does DTNHost.deleteMessage() remove message before Application.public Message handle(Message m, DTNHost host) () get them? edit. |
it's no clear which parameters i need to write in the config file to trigger an MessageDeleteEvent.
i have tried ::
Events2.class = MessageDeleteEvent
Events2.interval = 10
Events2.size = 500k
Events2.hosts = 2,3
Events2.id=*
but i'm geting :
Can't start: error in configuration file(s)
Class 'input.MessageDeleteEvent' doesn't have a suitable constructor
some HELP?
The text was updated successfully, but these errors were encountered: