Skip to content

Commit

Permalink
Make extensible
Browse files Browse the repository at this point in the history
  • Loading branch information
vishnupillai committed May 8, 2015
1 parent f52d53a commit 469b6cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jpos/src/main/java/org/jpos/q2/iso/MUXPool.java
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ public boolean isConnected() {
return true;
return false;
}
private MUX firstAvailableMUX (long maxWait) {
protected MUX firstAvailableMUX (long maxWait) {
do {
for (MUX aMux : mux)
if (aMux.isConnected())
Expand All @@ -96,7 +96,7 @@ private MUX firstAvailableMUX (long maxWait) {
} while (System.currentTimeMillis() < maxWait);
return null;
}
private MUX nextAvailableMUX (int mnumber, long maxWait) {
protected MUX nextAvailableMUX (int mnumber, long maxWait) {
do {
for (int i=0; i<mux.length; i++) {
int j = (mnumber+i) % mux.length;
Expand Down

0 comments on commit 469b6cf

Please sign in to comment.