01: /*
02:
03: Derby - Class org.apache.derby.client.net.StatementReplyInterface
04:
05: Licensed to the Apache Software Foundation (ASF) under one or more
06: contributor license agreements. See the NOTICE file distributed with
07: this work for additional information regarding copyright ownership.
08: The ASF licenses this file to You under the Apache License, Version 2.0
09: (the "License"); you may not use this file except in compliance with
10: the License. You may obtain a copy of the License at
11:
12: http://www.apache.org/licenses/LICENSE-2.0
13:
14: Unless required by applicable law or agreed to in writing, software
15: distributed under the License is distributed on an "AS IS" BASIS,
16: WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17: See the License for the specific language governing permissions and
18: limitations under the License.
19:
20: */
21:
22: package org.apache.derby.client.net;
23:
24: import org.apache.derby.client.am.DisconnectException;
25: import org.apache.derby.client.am.PreparedStatementCallbackInterface;
26: import org.apache.derby.client.am.StatementCallbackInterface;
27:
28: public interface StatementReplyInterface {
29: public void readPrepareDescribeOutput(
30: StatementCallbackInterface statement)
31: throws DisconnectException;
32:
33: public void readExecuteImmediate(
34: StatementCallbackInterface statement)
35: throws DisconnectException;
36:
37: public void readOpenQuery(StatementCallbackInterface statement)
38: throws DisconnectException;
39:
40: public void readExecute(
41: PreparedStatementCallbackInterface preparedStatement)
42: throws DisconnectException;
43:
44: public void readPrepare(StatementCallbackInterface statement)
45: throws DisconnectException;
46:
47: public void readDescribeInput(
48: PreparedStatementCallbackInterface preparedStatement)
49: throws DisconnectException;
50:
51: public void readDescribeOutput(
52: PreparedStatementCallbackInterface preparedStatement)
53: throws DisconnectException;
54:
55: public void readExecuteCall(StatementCallbackInterface statement)
56: throws DisconnectException;
57:
58: public void readSetSpecialRegister(
59: StatementCallbackInterface statement)
60: throws DisconnectException;
61: }
|