31 lines
866 B
Java
31 lines
866 B
Java
package oracle.net.ns;
|
|
|
|
import java.io.IOException;
|
|
import java.io.InputStream;
|
|
import java.io.OutputStream;
|
|
import java.util.Properties;
|
|
|
|
public interface Communication {
|
|
void abort() throws NetException, IOException;
|
|
|
|
void connect(String str, Properties properties) throws IOException, NetException;
|
|
|
|
void disconnect() throws IOException, NetException;
|
|
|
|
InputStream getInputStream() throws NetException;
|
|
|
|
Object getOption(int i) throws NetException, IOException;
|
|
|
|
OutputStream getOutputStream() throws NetException;
|
|
|
|
void sendBreak() throws IOException, NetException;
|
|
|
|
void sendInterrupt() throws IOException, NetException;
|
|
|
|
void sendReset() throws IOException, NetException;
|
|
|
|
void setO3logSessionKey(byte[] bArr) throws NetException, NetException;
|
|
|
|
void setOption(int i, Object obj) throws NetException, IOException;
|
|
}
|