27 lines
675 B
Java
27 lines
675 B
Java
package oracle.net.nt;
|
|
|
|
import java.io.IOException;
|
|
import java.io.InputStream;
|
|
import java.io.OutputStream;
|
|
import oracle.net.ns.NetException;
|
|
|
|
public interface NTAdapter {
|
|
void abort() throws IOException, NetException;
|
|
|
|
void connect() throws IOException;
|
|
|
|
void disconnect() throws IOException;
|
|
|
|
InputStream getInputStream() throws IOException;
|
|
|
|
Object getOption(int i) throws IOException, NetException;
|
|
|
|
OutputStream getOutputStream() throws IOException;
|
|
|
|
boolean isCharacteristicUrgentSupported() throws IOException;
|
|
|
|
void sendUrgentByte(int i) throws IOException;
|
|
|
|
void setOption(int i, Object obj) throws IOException, NetException;
|
|
}
|