Diff of /incubator/derby/code/trunk/java/client/org/apache/derby/client/net/StatementReply.java
Parent Directory
| Revision Log
| Patch
--- incubator/derby/code/trunk/java/client/org/apache/derby/client/net/StatementReply.java 2005/05/02 05:18:08 165584
+++ incubator/derby/code/trunk/java/client/org/apache/derby/client/net/StatementReply.java 2005/05/02 06:25:59 165585
@@ -20,75 +20,64 @@
package org.apache.derby.client.net;
-import org.apache.derby.client.am.StatementCallbackInterface;
+import org.apache.derby.client.am.Agent;
import org.apache.derby.client.am.PreparedStatementCallbackInterface;
import org.apache.derby.client.am.SqlException;
-import org.apache.derby.client.am.Agent;
+import org.apache.derby.client.am.StatementCallbackInterface;
+
+public class StatementReply extends ConnectionReply {
+ private StatementReplyInterface materialStatementReply_;
-public class StatementReply extends ConnectionReply
-{
- private StatementReplyInterface materialStatementReply_;
-
- StatementReply (Agent agent,
- StatementReplyInterface materialStatementReply,
- ConnectionReplyInterface materialConnectionReply)
- {
- super (agent,materialConnectionReply);
- materialStatementReply_ = materialStatementReply;
- }
-
- public void readPrepareDescribeOutput (StatementCallbackInterface statement) throws SqlException
- {
- materialStatementReply_.readPrepareDescribeOutput(statement);
- agent_.checkForChainBreakingException_();
- }
-
- public void readExecuteImmediate (StatementCallbackInterface statement) throws SqlException
- {
- materialStatementReply_.readExecuteImmediate(statement);
- agent_.checkForChainBreakingException_();
- }
-
- public void readOpenQuery (StatementCallbackInterface statement) throws SqlException
- {
- materialStatementReply_.readOpenQuery(statement);
- agent_.checkForChainBreakingException_();
- }
-
- public void readExecute (PreparedStatementCallbackInterface preparedStatement) throws SqlException
- {
- materialStatementReply_.readExecute(preparedStatement);
- agent_.checkForChainBreakingException_();
- }
-
- public void readPrepare (StatementCallbackInterface statement) throws SqlException
- {
- materialStatementReply_.readPrepare(statement);
- agent_.checkForChainBreakingException_();
- }
-
- public void readDescribeInput (PreparedStatementCallbackInterface preparedStatement) throws SqlException
- {
- materialStatementReply_.readDescribeInput(preparedStatement);
- agent_.checkForChainBreakingException_();
- }
-
- public void readDescribeOutput (PreparedStatementCallbackInterface preparedStatement) throws SqlException
- {
- materialStatementReply_.readDescribeOutput(preparedStatement);
- agent_.checkForChainBreakingException_();
- }
-
- public void readExecuteCall (StatementCallbackInterface statement) throws SqlException
- {
- materialStatementReply_.readExecuteCall(statement);
- agent_.checkForChainBreakingException_();
- }
-
-
- public void readSetSpecialRegister (StatementCallbackInterface statement) throws SqlException
- {
- materialStatementReply_.readSetSpecialRegister(statement);
- agent_.checkForChainBreakingException_();
- }
+ StatementReply(Agent agent,
+ StatementReplyInterface materialStatementReply,
+ ConnectionReplyInterface materialConnectionReply) {
+ super(agent, materialConnectionReply);
+ materialStatementReply_ = materialStatementReply;
+ }
+
+ public void readPrepareDescribeOutput(StatementCallbackInterface statement) throws SqlException {
+ materialStatementReply_.readPrepareDescribeOutput(statement);
+ agent_.checkForChainBreakingException_();
+ }
+
+ public void readExecuteImmediate(StatementCallbackInterface statement) throws SqlException {
+ materialStatementReply_.readExecuteImmediate(statement);
+ agent_.checkForChainBreakingException_();
+ }
+
+ public void readOpenQuery(StatementCallbackInterface statement) throws SqlException {
+ materialStatementReply_.readOpenQuery(statement);
+ agent_.checkForChainBreakingException_();
+ }
+
+ public void readExecute(PreparedStatementCallbackInterface preparedStatement) throws SqlException {
+ materialStatementReply_.readExecute(preparedStatement);
+ agent_.checkForChainBreakingException_();
+ }
+
+ public void readPrepare(StatementCallbackInterface statement) throws SqlException {
+ materialStatementReply_.readPrepare(statement);
+ agent_.checkForChainBreakingException_();
+ }
+
+ public void readDescribeInput(PreparedStatementCallbackInterface preparedStatement) throws SqlException {
+ materialStatementReply_.readDescribeInput(preparedStatement);
+ agent_.checkForChainBreakingException_();
+ }
+
+ public void readDescribeOutput(PreparedStatementCallbackInterface preparedStatement) throws SqlException {
+ materialStatementReply_.readDescribeOutput(preparedStatement);
+ agent_.checkForChainBreakingException_();
+ }
+
+ public void readExecuteCall(StatementCallbackInterface statement) throws SqlException {
+ materialStatementReply_.readExecuteCall(statement);
+ agent_.checkForChainBreakingException_();
+ }
+
+
+ public void readSetSpecialRegister(StatementCallbackInterface statement) throws SqlException {
+ materialStatementReply_.readSetSpecialRegister(statement);
+ agent_.checkForChainBreakingException_();
+ }
}