1 /*2 3 Derby - Class org.apache.derby.client.net.StatementReplyInterface4 5 Licensed to the Apache Software Foundation (ASF) under one or more6 contributor license agreements. See the NOTICE file distributed with7 this work for additional information regarding copyright ownership.8 The ASF licenses this file to You under the Apache License, Version 2.09 (the "License"); you may not use this file except in compliance with10 the License. You may obtain a copy of the License at11 12 http://www.apache.org/licenses/LICENSE-2.013 14 Unless required by applicable law or agreed to in writing, software15 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 and18 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(StatementCallbackInterface statement) throws DisconnectException;30 31 public void readExecuteImmediate(StatementCallbackInterface statement) throws DisconnectException;32 33 public void readOpenQuery(StatementCallbackInterface statement) throws DisconnectException;34 35 public void readExecute(PreparedStatementCallbackInterface preparedStatement) throws DisconnectException;36 37 public void readPrepare(StatementCallbackInterface statement) throws DisconnectException;38 39 public void readDescribeInput(PreparedStatementCallbackInterface preparedStatement) throws DisconnectException;40 41 public void readDescribeOutput(PreparedStatementCallbackInterface preparedStatement) throws DisconnectException;42 43 public void readExecuteCall(StatementCallbackInterface statement) throws DisconnectException;44 45 public void readSetSpecialRegister(StatementCallbackInterface statement) throws DisconnectException;46 }47