void writeAccessDatabase(String rdbnam, boolean readOnly, byte[] correlationToken, byte[] productData, Typdef typdef) throws SqlException { buildACCRDB(rdbnam, readOnly, correlationToken, productData, typdef); }
void writeAccessSecurity(int securityMechanism, String databaseName, byte[] publicKey) throws SqlException { buildACCSEC(securityMechanism, databaseName, publicKey); }
void writeDummyExchangeServerAttributes() throws SqlException { // send the exchange server attributes command to the server, // without any parameters buildDummyEXCSAT(); }
byte[] prddta, Typdef typdef) throws SqlException { createCommand(); markLengthBytes(CodePoint.ACCRDB); buildRDBNAM(rdbnam); buildRDBACCCL(); buildPRDID(); buildPRDDTA(prddta); buildTYPDEFNAM(typdef.getTypdefnam()); buildCRRTKN(netAgent_.netConnection_.crrtkn_); buildTYPDEFOVR(typdef.isCcsidSbcSet(), typdef.getCcsidSbc(), typdef.isCcsidDbcSet(), buildRDBALWUPD(readOnly); buildNCJBATCHSIZE(); buildNCJCACHESIZE(); updateLengthBytes();
void buildSECCHK(int secmec, String rdbnam, String user, String password, byte[] sectkn, byte[] sectkn2) throws SqlException { createCommand(); markLengthBytes(CodePoint.SECCHK); // always send the negotiated security mechanism for the connection. buildSECMEC(secmec); // the rdbnam will be built and sent. different sqlam levels support // different lengths. at this point the length has been checked against // the maximum allowable length. so write the bytes and padd up to the // minimum length if needed. buildRDBNAM(rdbnam); if (user != null) { buildUSRID(user); } if (password != null) { buildPASSWORD(password); } if (sectkn != null) { buildSECTKN(sectkn); } if (sectkn2 != null) { buildSECTKN(sectkn2); } updateLengthBytes(); }
int targetSyncptmgr, int targetRsyncmgr) throws SqlException { createCommand(); markLengthBytes(CodePoint.EXCSAT); buildEXTNAM(externalName); buildSRVNAM("Derby"); buildSRVRLSLV(); buildMGRLVLLS(targetAgent, targetSqlam, targetRdb, buildSRVCLSNM(); updateLengthBytes();
void writeExchangeServerAttributes(String externalName, int targetAgent, int targetSqlam, int targetRdb, int targetSecmgr, int targetCmntcpip, int targetCmnappc, int targetXamgr, int targetSyncptmgr, int targetRsyncmgr) throws SqlException { // send the exchange server attributes command to the server. // no other commands will be chained to the excsat because // the manager levels are needed before anything else is attempted. buildEXCSAT(externalName, targetAgent, targetSqlam, targetRdb, targetSecmgr, targetCmntcpip, targetCmnappc, targetXamgr, targetSyncptmgr, targetRsyncmgr); }
byte[] prddta, Typdef typdef) throws SqlException { createCommand(); markLengthBytes(CodePoint.ACCRDB); buildRDBNAM(rdbnam); buildRDBACCCL(); buildPRDID(); buildPRDDTA(prddta); buildTYPDEFNAM(typdef.getTypdefnam()); buildCRRTKN(netAgent_.netConnection_.crrtkn_); buildTYPDEFOVR(typdef.isCcsidSbcSet(), typdef.getCcsidSbc(), typdef.isCcsidDbcSet(), buildRDBALWUPD(readOnly); buildNCJBATCHSIZE(); buildNCJCACHESIZE(); updateLengthBytes();
void buildSECCHK(int secmec, String rdbnam, String user, String password, byte[] sectkn, byte[] sectkn2) throws SqlException { createCommand(); markLengthBytes(CodePoint.SECCHK); // always send the negotiated security mechanism for the connection. buildSECMEC(secmec); // the rdbnam will be built and sent. different sqlam levels support // different lengths. at this point the length has been checked against // the maximum allowable length. so write the bytes and padd up to the // minimum length if needed. buildRDBNAM(rdbnam); if (user != null) { buildUSRID(user); } if (password != null) { buildPASSWORD(password); } if (sectkn != null) { buildSECTKN(sectkn); } if (sectkn2 != null) { buildSECTKN(sectkn2); } updateLengthBytes(); }
int targetSyncptmgr, int targetRsyncmgr) throws SqlException { createCommand(); markLengthBytes(CodePoint.EXCSAT); buildEXTNAM(externalName); buildSRVNAM("Derby"); buildSRVRLSLV(); buildMGRLVLLS(targetAgent, targetSqlam, targetRdb, buildSRVCLSNM(); updateLengthBytes();
void writeExchangeServerAttributes(String externalName, int targetAgent, int targetSqlam, int targetRdb, int targetSecmgr, int targetCmntcpip, int targetCmnappc, int targetXamgr, int targetSyncptmgr, int targetRsyncmgr) throws SqlException { // send the exchange server attributes command to the server. // no other commands will be chained to the excsat because // the manager levels are needed before anything else is attempted. buildEXCSAT(externalName, targetAgent, targetSqlam, targetRdb, targetSecmgr, targetCmntcpip, targetCmnappc, targetXamgr, targetSyncptmgr, targetRsyncmgr); }
void writeDummyExchangeServerAttributes() throws SqlException { // send the exchange server attributes command to the server, // without any parameters buildDummyEXCSAT(); }
void writeAccessDatabase(String rdbnam, boolean readOnly, byte[] correlationToken, byte[] productData, Typdef typdef) throws SqlException { buildACCRDB(rdbnam, readOnly, correlationToken, productData, typdef); }
void writeAccessSecurity(int securityMechanism, String databaseName, byte[] publicKey) throws SqlException { buildACCSEC(securityMechanism, databaseName, publicKey); }
public void writeCommitSubstitute(NetConnection connection) throws SqlException { buildDummyEXCSAT(); }
public void writeCommitSubstitute(NetConnection connection) throws SqlException { buildDummyEXCSAT(); }