Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
3 Bug Fixes. 1) retry channel when send fails. 2) stop sender when th…
…e node drops out. 3) make TcpAddresses unique across restarts even when the port is fixed.
- Loading branch information
homer-simpleton
committed
May 7, 2017
1 parent
74122c7
commit e47ee76
Showing
11 changed files
with
251 additions
and
82 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
dempsy-framework.impl/src/main/java/net/dempsy/transport/DisruptableRecevier.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package net.dempsy.transport; | ||
|
||
/** | ||
* This interface is implemented by {@link Receiver}s that should go through tests where the | ||
* connectivity is disrupted to make sure that the related {@link Sender} recovers. | ||
*/ | ||
public interface DisruptableRecevier { | ||
|
||
public boolean disrupt(NodeAddress senderToDistrupt); | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.