1 21 22 package org.apache.derby.client.net; 23 24 import org.apache.derby.client.am.ConnectionCallbackInterface; 25 import org.apache.derby.client.am.SqlException; 26 27 28 public class ConnectionReply { 29 private ConnectionReplyInterface materialConnectionReply_; 30 org.apache.derby.client.am.Agent agent_; 31 32 ConnectionReply(org.apache.derby.client.am.Agent agent, ConnectionReplyInterface materialConnectionReply) { 33 agent_ = agent; 34 materialConnectionReply_ = materialConnectionReply; 35 } 36 37 public void readCommitSubstitute(ConnectionCallbackInterface connection) throws SqlException { 38 materialConnectionReply_.readCommitSubstitute(connection); 39 agent_.checkForChainBreakingException_(); 40 } 41 42 public void readLocalCommit(ConnectionCallbackInterface connection) throws SqlException { 43 materialConnectionReply_.readLocalCommit(connection); 44 agent_.checkForChainBreakingException_(); 45 } 46 47 public void readLocalRollback(ConnectionCallbackInterface connection) throws SqlException { 48 materialConnectionReply_.readLocalRollback(connection); 49 agent_.checkForChainBreakingException_(); 50 } 51 52 public void readLocalXAStart(ConnectionCallbackInterface connection) throws SqlException { 53 materialConnectionReply_.readLocalXAStart(connection); 54 agent_.checkForChainBreakingException_(); 55 } 56 57 public void readLocalXACommit(ConnectionCallbackInterface connection) throws SqlException { 58 materialConnectionReply_.readLocalXACommit(connection); 59 agent_.checkForChainBreakingException_(); 60 } 61 62 public void readLocalXARollback(ConnectionCallbackInterface connection) throws SqlException { 63 materialConnectionReply_.readLocalXARollback(connection); 64 agent_.checkForChainBreakingException_(); 65 } 66 } 67 | Popular Tags |