Shadow client field from PipelineBlock and TransactionBlock

* it prevent from user accessing BinaryClient, while it is not treated to pipeline command
** it could make troubles when reading responses
This commit is contained in:
Jungtaek Lim
2014-01-20 14:35:42 +09:00
parent 2267c3318c
commit bc7cc5eddb
3 changed files with 17 additions and 1 deletions

View File

@@ -76,4 +76,8 @@ public class Transaction extends MultiKeyPipelineBase {
return client.getStatusCodeReply();
}
public void setClient(Client client) {
this.client = client;
}
}