link start!
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
package oracle.net.TNSAddress;
|
||||
|
||||
import oracle.net.nl.NLException;
|
||||
import oracle.net.nl.NVPair;
|
||||
|
||||
public interface SchemaObject {
|
||||
public static final int ADDR = 0;
|
||||
public static final int ADDR_LIST = 1;
|
||||
public static final int ALIAS = 4;
|
||||
public static final int DB_SERVICE = 6;
|
||||
public static final int DESC = 2;
|
||||
public static final int DESC_LIST = 3;
|
||||
public static final int SERVICE = 5;
|
||||
|
||||
void initFromNVPair(NVPair nVPair) throws SOException;
|
||||
|
||||
void initFromString(String str) throws NLException, SOException;
|
||||
|
||||
int isA();
|
||||
|
||||
String isA_String();
|
||||
|
||||
String toString();
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
package oracle.net.TNSAddress;
|
||||
|
||||
public interface SchemaObjectFactoryInterface {
|
||||
public static final int ADDR = 0;
|
||||
public static final int ADDR_LIST = 1;
|
||||
public static final int ALIAS = 4;
|
||||
public static final int DB_SERVICE = 6;
|
||||
public static final int DESC = 2;
|
||||
public static final int DESC_LIST = 3;
|
||||
public static final int SERVICE = 5;
|
||||
|
||||
SchemaObject create(int i);
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
package oracle.net.aso;
|
||||
|
||||
public interface C00 {
|
||||
boolean compare(byte[] bArr, byte[] bArr2);
|
||||
|
||||
byte[] compute(byte[] bArr, int i);
|
||||
|
||||
void init(byte[] bArr, byte[] bArr2);
|
||||
|
||||
void renew();
|
||||
|
||||
int size();
|
||||
|
||||
int takeSessionKey(byte[] bArr, byte[] bArr2);
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
package oracle.net.aso;
|
||||
|
||||
public interface C07 {
|
||||
boolean compare(byte[] bArr, byte[] bArr2);
|
||||
|
||||
byte[] compute(byte[] bArr, int i);
|
||||
|
||||
void init(byte[] bArr, byte[] bArr2);
|
||||
|
||||
void renew();
|
||||
|
||||
int size();
|
||||
|
||||
int takeSessionKey(byte[] bArr, byte[] bArr2);
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
package oracle.net.aso;
|
||||
|
||||
public interface C08 {
|
||||
byte a();
|
||||
|
||||
void b();
|
||||
|
||||
byte[] c();
|
||||
|
||||
void d();
|
||||
|
||||
void e();
|
||||
|
||||
void f();
|
||||
|
||||
byte[] g();
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
package oracle.net.aso;
|
||||
|
||||
public interface C10 {
|
||||
public static final int f = 220;
|
||||
public static final int g = 256;
|
||||
public static final int h = 0;
|
||||
public static final int i = 4;
|
||||
public static final int j = 1;
|
||||
public static final int k = 223;
|
||||
public static final int l = 222;
|
||||
public static final int m = 128;
|
||||
public static final int n = 56;
|
||||
public static final int o = 2;
|
||||
public static final int p = 142;
|
||||
public static final int q = 141;
|
||||
public static final int r = 211;
|
||||
public static final int s = 210;
|
||||
public static final int t = 140;
|
||||
public static final int u = 40;
|
||||
public static final int v = 143;
|
||||
public static final int w = 3;
|
||||
public static final int x = 213;
|
||||
public static final int y = 212;
|
||||
public static final int z = 221;
|
||||
|
||||
void a(byte[] bArr, byte[] bArr2) throws C04;
|
||||
|
||||
int b();
|
||||
|
||||
void c(byte[] bArr, byte[] bArr2) throws C04;
|
||||
|
||||
byte[] d(byte[] bArr) throws C04;
|
||||
|
||||
byte[] e(byte[] bArr) throws C04;
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
package oracle.net.aso;
|
||||
|
||||
public interface C11 {
|
||||
public static final int f = 220;
|
||||
public static final int g = 256;
|
||||
public static final int h = 0;
|
||||
public static final int i = 4;
|
||||
public static final int j = 1;
|
||||
public static final int k = 223;
|
||||
public static final int l = 222;
|
||||
public static final int m = 128;
|
||||
public static final int n = 56;
|
||||
public static final int o = 2;
|
||||
public static final int p = 142;
|
||||
public static final int q = 141;
|
||||
public static final int r = 211;
|
||||
public static final int s = 210;
|
||||
public static final int t = 140;
|
||||
public static final int u = 40;
|
||||
public static final int v = 143;
|
||||
public static final int w = 3;
|
||||
public static final int x = 213;
|
||||
public static final int y = 212;
|
||||
public static final int z = 221;
|
||||
|
||||
void a(byte[] bArr, byte[] bArr2) throws C09;
|
||||
|
||||
int b();
|
||||
|
||||
void c(byte[] bArr, byte[] bArr2) throws C09;
|
||||
|
||||
byte[] d(byte[] bArr) throws C09;
|
||||
|
||||
byte[] e(byte[] bArr) throws C09;
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
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;
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package oracle.net.ns;
|
||||
|
||||
public interface Message {
|
||||
String getMessage(int i, String str);
|
||||
}
|
||||
@@ -0,0 +1,136 @@
|
||||
package oracle.net.ns;
|
||||
|
||||
public interface SQLnetDef {
|
||||
public static final boolean ASSERT = false;
|
||||
public static final boolean DEBUG = false;
|
||||
public static final String DISABLE_OOB_STR = "DISABLE_OOB";
|
||||
public static final String JAVAX_NET_SSL_KEYSTORE = "javax.net.ssl.keyStore";
|
||||
public static final String JAVAX_NET_SSL_KEYSTOREPASSWORD = "javax.net.ssl.keyStorePassword";
|
||||
public static final int JAVAX_NET_SSL_KEYSTOREPASSWORD_OFF = 10;
|
||||
public static final String JAVAX_NET_SSL_KEYSTORETYPE = "javax.net.ssl.keyStoreType";
|
||||
public static final int JAVAX_NET_SSL_KEYSTORETYPE_OFF = 9;
|
||||
public static final int JAVAX_NET_SSL_KEYSTORE_OFF = 8;
|
||||
public static final String JAVAX_NET_SSL_TRUSTSTORE = "javax.net.ssl.trustStore";
|
||||
public static final String JAVAX_NET_SSL_TRUSTSTOREPASSWORD = "javax.net.ssl.trustStorePassword";
|
||||
public static final int JAVAX_NET_SSL_TRUSTSTOREPASSWORD_OFF = 13;
|
||||
public static final String JAVAX_NET_SSL_TRUSTSTORETYPE = "javax.net.ssl.trustStoreType";
|
||||
public static final int JAVAX_NET_SSL_TRUSTSTORETYPE_OFF = 12;
|
||||
public static final int JAVAX_NET_SSL_TRUSTSTORE_OFF = 11;
|
||||
public static final byte NIQBMARK = (byte) 1;
|
||||
public static final byte NIQIMARK = (byte) 3;
|
||||
public static final byte NIQRMARK = (byte) 2;
|
||||
public static final byte NO_HEADER_FLAGS = (byte) 0;
|
||||
public static final int NSGDONTCARE = 1;
|
||||
public static final int NSGNOATTNPR = 2048;
|
||||
public static final int NSGRECVATTN = 1024;
|
||||
public static final int NSGSENDATTN = 512;
|
||||
public static final int NSINAAUTHWANTED = 32;
|
||||
public static final int NSINADISABLEFORCONNECTION = 4;
|
||||
public static final int NSINAINTCHG = 2;
|
||||
public static final int NSINANOSERVICES = 8;
|
||||
public static final int NSINAREQUIRED = 16;
|
||||
public static final int NSINAWANTED = 1;
|
||||
public static final byte NSPACFL0 = (byte) 22;
|
||||
public static final byte NSPACFL1 = (byte) 23;
|
||||
public static final byte NSPACLEN = (byte) 18;
|
||||
public static final byte NSPACOFF = (byte) 20;
|
||||
public static final byte NSPACONE = (byte) 16;
|
||||
public static final byte NSPACOPT = (byte) 10;
|
||||
public static final byte NSPACSDU = (byte) 12;
|
||||
public static final byte NSPACTDU = (byte) 14;
|
||||
public static final byte NSPACVSN = (byte) 8;
|
||||
public static final byte NSPCNDAT = (byte) 34;
|
||||
public static final byte NSPCNFL0 = (byte) 32;
|
||||
public static final byte NSPCNFL1 = (byte) 33;
|
||||
public static final byte NSPCNLEN = (byte) 24;
|
||||
public static final byte NSPCNLOV = (byte) 10;
|
||||
public static final byte NSPCNMXC = (byte) 28;
|
||||
public static final byte NSPCNNTC = (byte) 18;
|
||||
public static final byte NSPCNOFF = (byte) 26;
|
||||
public static final byte NSPCNONE = (byte) 22;
|
||||
public static final byte NSPCNOPT = (byte) 12;
|
||||
public static final byte NSPCNSDU = (byte) 14;
|
||||
public static final byte NSPCNTDU = (byte) 16;
|
||||
public static final byte NSPCNTNA = (byte) 20;
|
||||
public static final byte NSPCNVSN = (byte) 8;
|
||||
public static final int NSPDADAT = 10;
|
||||
public static final int NSPDAFCFM = 4;
|
||||
public static final int NSPDAFEOF = 64;
|
||||
public static final int NSPDAFIMM = 128;
|
||||
public static final int NSPDAFLG = 8;
|
||||
public static final int NSPDAFMOR = 32;
|
||||
public static final int NSPDAFRCF = 2;
|
||||
public static final int NSPDAFRNT = 512;
|
||||
public static final int NSPDAFRSV = 8;
|
||||
public static final int NSPDAFRTS = 256;
|
||||
public static final int NSPDAFTKN = 1;
|
||||
public static final int NSPDAFZER = 0;
|
||||
public static final int NSPDFSDULN = 2048;
|
||||
public static final int NSPDFTDULN = 32767;
|
||||
public static final byte NSPFSRN = (byte) 8;
|
||||
public static final byte NSPHDFLGS = (byte) 5;
|
||||
public static final byte NSPHDHSM = (byte) 6;
|
||||
public static final byte NSPHDLEN = (byte) 0;
|
||||
public static final byte NSPHDPSM = (byte) 2;
|
||||
public static final byte NSPHDTYP = (byte) 4;
|
||||
public static final int NSPINSDULN = 255;
|
||||
public static final int NSPMKDAT = 10;
|
||||
public static final int NSPMKODT = 9;
|
||||
public static final int NSPMKTD0 = 0;
|
||||
public static final int NSPMKTD1 = 1;
|
||||
public static final int NSPMKTYP = 8;
|
||||
public static final int NSPMNSDULN = 512;
|
||||
public static final int NSPMNTDULN = 255;
|
||||
public static final int NSPMXCDATA = 230;
|
||||
public static final int NSPMXSDULN = 32767;
|
||||
public static final int NSPMXTDULN = 32767;
|
||||
public static final byte NSPRDDAT = (byte) 10;
|
||||
public static final byte NSPRDLEN = (byte) 8;
|
||||
public static final byte NSPRFDAT = (byte) 12;
|
||||
public static final byte NSPRFLEN = (byte) 10;
|
||||
public static final byte NSPRFSRS = (byte) 9;
|
||||
public static final byte NSPRFURS = (byte) 8;
|
||||
public static final byte NSPSIZHD = (byte) 8;
|
||||
public static final int NSPTAB = 9;
|
||||
public static final int NSPTAC = 2;
|
||||
public static final int NSPTAK = 3;
|
||||
public static final int NSPTAT = 13;
|
||||
public static final int NSPTCN = 1;
|
||||
public static final int NSPTCNL = 14;
|
||||
public static final int NSPTDA = 6;
|
||||
public static final int NSPTHI = 19;
|
||||
public static final int NSPTMK = 12;
|
||||
public static final int NSPTNL = 7;
|
||||
public static final int NSPTRD = 5;
|
||||
public static final int NSPTRF = 4;
|
||||
public static final int NSPTRS = 11;
|
||||
public static final int ORACLE_NET_NTMAXOPT = 10;
|
||||
public static final int ORACLE_NET_NTMINOPT = 0;
|
||||
public static final int ORACLE_NET_READ_TIMEOUT = 1;
|
||||
public static final int ORACLE_NET_SSL_CIPHER_SUITE = 5;
|
||||
public static final int ORACLE_NET_SSL_ENCRYPTION_ENABLED = 2;
|
||||
public static final int ORACLE_NET_SSL_FULL_DN_MATCH = 7;
|
||||
public static final int ORACLE_NET_SSL_MATCH_SERVER_DN = 6;
|
||||
public static final int ORACLE_NET_SSL_MATCH_SERVER_DN_WITH = 8;
|
||||
public static final int ORACLE_NET_SSL_PEER_CERT_CHAIN = 4;
|
||||
public static final int ORACLE_NET_SSL_PEER_CERT_DN = 3;
|
||||
public static final String ORACLE_NET_WALLET_LOCATION = "oracle.net.wallet_location";
|
||||
public static final int ORACLE_NET_WALLET_LOCATION_OFF = 5;
|
||||
public static final String SSL_CIPHER_SUITES = "oracle.net.ssl_cipher_suites";
|
||||
public static final int SSL_CIPHER_SUITES_OFF = 7;
|
||||
public static final String SSL_KEYMANAGERFACTORY_ALGORITHM = "ssl.keyManagerFactory.algorithm";
|
||||
public static final int SSL_KEYMANAGERFACTORY_ALGORITHM_OFF = 14;
|
||||
public static final String SSL_SERVER_DN_MATCH = "oracle.net.ssl_server_dn_match";
|
||||
public static final int SSL_SERVER_DN_MATCH_OFF = 4;
|
||||
public static final String SSL_TRUSTMANAGERFACTORY_ALGORITHM = "ssl.trustManagerFactory.algorithm";
|
||||
public static final int SSL_TRUSTMANAGERFACTORY_ALGORITHM_OFF = 15;
|
||||
public static final String SSL_VERSION = "oracle.net.ssl_version";
|
||||
public static final int SSL_VERSION_OFF = 6;
|
||||
public static final int TCP_CONNTIMEOUT_OFF = 2;
|
||||
public static final String TCP_CONNTIMEOUT_STR = "oracle.net.CONNECT_TIMEOUT";
|
||||
public static final int TCP_KEEPALIVE_OFF = 1;
|
||||
public static final int TCP_NODELAY_OFF = 0;
|
||||
public static final String TCP_NODELAY_STR = "TCP.NODELAY";
|
||||
public static final int TCP_READTIMEOUT_OFF = 3;
|
||||
public static final String TCP_READTIMEOUT_STR = "oracle.net.READ_TIMEOUT";
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
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;
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
package oracle.net.resolver;
|
||||
|
||||
import oracle.net.ns.NetException;
|
||||
|
||||
public interface NamingAdapterInterface {
|
||||
public static final boolean DEBUG = false;
|
||||
|
||||
String resolve(String str) throws NetException;
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
package oracle.net.resolver;
|
||||
|
||||
import oracle.net.TNSAddress.SchemaObject;
|
||||
import oracle.net.nt.ConnStrategy;
|
||||
|
||||
public interface NavSchemaObject extends SchemaObject {
|
||||
public static final String CD = "(CONNECT_DATA=";
|
||||
public static final String CID = "(CID=(PROGRAM=)(HOST=__jdbc__)(USER=))";
|
||||
public static final boolean DEBUG = false;
|
||||
public static final String HC = "(HOP_COUNT=0)";
|
||||
public static final String LB = "(LOAD_BALANCE=yes)";
|
||||
public static final String NFO = "(FAILOVER=false)";
|
||||
public static final String SR = "(SOURCE_ROUTE=yes)";
|
||||
|
||||
void addToString(ConnStrategy connStrategy);
|
||||
|
||||
void navigate(ConnStrategy connStrategy, StringBuffer stringBuffer);
|
||||
}
|
||||
Reference in New Issue
Block a user