|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use MessageRouter | |
|---|---|
| core | Contains core classes and interfaces of the simulator. |
| routing | Contains all the router classes who decide how to handle the messages. |
| test | Provides some unit and integration tests for the classes. |
| Uses of MessageRouter in core |
|---|
| Methods in core that return MessageRouter | |
|---|---|
MessageRouter |
DTNHost.getRouter()
Returns the router of this host |
| Methods in core with parameters of type MessageRouter | |
|---|---|
void |
DTNHost.setRouter(MessageRouter router)
Set a router for this host |
| Constructors in core with parameters of type MessageRouter | |
|---|---|
DTNHost(java.util.List<ConnectionListener> conLs,
java.util.List<MessageListener> msgLs,
java.util.List<MovementListener> movLs,
java.lang.String groupId,
double transmitRange,
int transmitSpeed,
MovementModel mmProto,
MessageRouter mRouterProto)
Creates a new DTNHost. |
|
| Uses of MessageRouter in routing |
|---|
| Subclasses of MessageRouter in routing | |
|---|---|
class |
ActiveRouter
Superclass of active routers. |
class |
DirectDeliveryRouter
Router that will deliver messages only to the final recipient. |
class |
EpidemicRouter
Epidemic message router with drop-oldest buffer and only single transferring connections at a time. |
class |
PassiveRouter
Passive router that doesn't send anything unless commanded. |
class |
ProphetRouter
Implementation of PRoPHET router as described in Probabilistic routing in intermittently connected networks by Anders Lindgren et al. |
class |
SprayAndWaitRouter
Implementation of Spray and wait router as depicted in Spray and Wait: An Efficient Routing Scheme for Intermittently Connected Mobile Networks by Thrasyvoulos Spyropoulus et al. |
| Methods in routing that return MessageRouter | |
|---|---|
MessageRouter |
ProphetRouter.replicate()
|
MessageRouter |
PassiveRouter.replicate()
|
abstract MessageRouter |
MessageRouter.replicate()
Creates a replicate of this router. |
| Constructors in routing with parameters of type MessageRouter | |
|---|---|
MessageRouter(MessageRouter r)
Copy-constructor. |
|
| Uses of MessageRouter in test |
|---|
| Fields in test declared as MessageRouter | |
|---|---|
protected MessageRouter |
AbstractRouterTest.routerProto
|
| Methods in test with parameters of type MessageRouter | |
|---|---|
void |
TestUtils.setMessageRouterProto(MessageRouter mr)
|
protected void |
AbstractRouterTest.setRouterProto(MessageRouter r)
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||