Skip to content

Commit

Permalink
allow APIClient to use PACKAGE_RESPONSE
Browse files Browse the repository at this point in the history
  • Loading branch information
redxdev committed Feb 3, 2018
1 parent 51f55b3 commit 2fde860
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main/java/io/playpen/core/coordinator/api/APIClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,9 @@ public boolean process(Commands.BaseCommand command, TransactionInfo info, Strin

case C_ACCESS_DENIED:
return processAccessDenied(command.getCAccessDenied(), info);

case PACKAGE_RESPONSE:
return processPackageResponse(command.getPackageResponse(), info);
}
}

Expand All @@ -231,4 +234,5 @@ public boolean process(Commands.BaseCommand command, TransactionInfo info, Strin
public abstract boolean processAck(Commands.C_Ack message, TransactionInfo info);
public abstract boolean processPackageList(Commands.C_PackageList message, TransactionInfo info);
public abstract boolean processAccessDenied(Commands.C_AccessDenied message, TransactionInfo info);
public abstract boolean processPackageResponse(Commands.PackageResponse response, TransactionInfo info);
}

0 comments on commit 2fde860

Please sign in to comment.