Source Code Cross Referenced for CodePoint.java in  » Database-DBMS » db-derby-10.2 » org » apache » derby » client » net » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Database DBMS » db derby 10.2 » org.apache.derby.client.net 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /*
002:
003:           Derby - Class org.apache.derby.client.net.CodePoint
004:
005:           Licensed to the Apache Software Foundation (ASF) under one or more
006:           contributor license agreements.  See the NOTICE file distributed with
007:           this work for additional information regarding copyright ownership.
008:           The ASF licenses this file to You under the Apache License, Version 2.0
009:           (the "License"); you may not use this file except in compliance with
010:           the License.  You may obtain a copy of the License at
011:
012:              http://www.apache.org/licenses/LICENSE-2.0
013:
014:           Unless required by applicable law or agreed to in writing, software
015:           distributed under the License is distributed on an "AS IS" BASIS,
016:           WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
017:           See the License for the specific language governing permissions and
018:           limitations under the License.
019:
020:         */
021:
022:        package org.apache.derby.client.net;
023:
024:        public class CodePoint {
025:            public static final int FIXED_ROW_QUERY_PROTOCOL = 0;
026:            public static final int LIMITED_BLOCK_QUERY_PROTOCOL = 1;
027:            public static final int FORCE_FIXED_ROW_QUERY_PROTOCOL = 2;
028:
029:            // Character Subtype MBCS
030:            static final int CSTMBCS = 0x2435;
031:
032:            // Force Fixed Row Query Protocol
033:            static final int FRCFIXROW = 0x2410;
034:
035:            // Title
036:            static final int TITLE = 0x0045;
037:
038:            // ---------------callable statement codepoints-------------------------------
039:
040:            // PKGSNLST
041:            static final int PKGSNLST = 0x2139;
042:
043:            // Output Expected
044:            static final int OUTEXP = 0x2111;
045:
046:            // Procedure Name
047:            static final int PRCNAM = 0x2138;
048:
049:            // Maximum Result Set Count.
050:            static final int MAXRSLCNT = 0x2140;
051:
052:            // Maximum Result Set Count No Limit.
053:            // Requester is capable of receiving all result sets in the response to EXCSQLSTT.
054:            static final int MAXRSLCNT_NOLIMIT = 0xffff;
055:
056:            // Result Set Flags
057:            static final int RSLSETFLG = 0x2142;
058:
059:            static final int RSLSETFLG_RETURN_NAMES = 0x80;
060:
061:            static final int RSLSETFLG_RETURN_LABELS = 0x40;
062:
063:            // RSLSETFLGs added in SQLAM 7 for requesting standard, extended, or light sqldas
064:            static final int RSLSETFLG_STANDARD_SQLDA = 0x00;
065:            static final int RSLSETFLG_EXTENDED_SQLDA = 0x04;
066:
067:            // --------------------code points for constant ddm data----------------------
068:
069:            // Indicates false state.  This 1-byte code point is used by some DDM parameters.
070:            static final byte FALSE = -16; // was 0xf0
071:
072:            // Indicates true state.  This 1-byte code point is used by some DDM parameters.
073:            static final byte TRUE = -15; // was 0xf1
074:
075:            // Zero indicator constant.
076:            // Indicates data does flow.
077:            static final int ZEROIND = 0x00;
078:
079:            // FDOCA NULL indicator constant.
080:            // Indicates data does not flow.
081:            static final int NULLDATA = 0xFF;
082:
083:            // Security check was successful.
084:            static final int SECCHKCD_00 = 0x00;
085:
086:            // SECMEC value not supported.
087:            static final int SECCHKCD_01 = 0x01;
088:
089:            // Local security service info.
090:            static final int SECCHKCD_08 = 0x08;
091:
092:            // Local security service retryable error.
093:            static final int SECCHKCD_09 = 0x09;
094:
095:            // Local security service non-retryable error.
096:            static final int SECCHKCD_0A = 0x0A;
097:
098:            // SECTKN missing or invalid.
099:            static final int SECCHKCD_0B = 0x0B;
100:
101:            // Password expired.
102:            static final int SECCHKCD_0E = 0x0E;
103:
104:            // Password invalid.
105:            static final int SECCHKCD_0F = 0x0F;
106:
107:            // Password missing.
108:            static final int SECCHKCD_10 = 0x10;
109:
110:            // Userid missing.
111:            static final int SECCHKCD_12 = 0x12;
112:
113:            // Userid invalid.
114:            static final int SECCHKCD_13 = 0x13;
115:
116:            // Userid revoked.
117:            static final int SECCHKCD_14 = 0x14;
118:
119:            // New password invalid.
120:            static final int SECCHKCD_15 = 0x15;
121:
122:            //-----------------------ddm enumerated values-------------------------------
123:
124:            // TYPSQLDA - Standard Output SQLDA
125:            static final int TYPSQLDA_STD_OUTPUT = 0;
126:
127:            // TYPSQLDA - Standard Input SQLDA
128:            static final int TYPSQLDA_STD_INPUT = 1;
129:
130:            // TYPSQLDA - Light Output SQLDA
131:            static final int TYPSQLDA_LIGHT_OUTPUT = 2;
132:
133:            // TYPSQLDA - Light Input SQLDA
134:            static final int TYPSQLDA_LIGHT_INPUT = 3;
135:
136:            // TYPSQLDA - Extended Output SQLDA
137:            static final int TYPSQLDA_X_OUTPUT = 4;
138:
139:            // TYPSQLDA - Extended Input SQLDA
140:            static final int TYPSQLDA_X_INPUT = 5;
141:
142:            // QRYCLSIMP - Target Server determines whether to implicitly
143:            // close the cursor or not upon SQLSTATE 02000 based on cursor type.
144:            static final int QRYCLSIMP_SERVER_CHOICE = 0x00;
145:
146:            // QRYCLSIMP - Target Server must implicitly close the cursor
147:            // upon SQLSTATE 02000.
148:            static final int QRYCLSIMP_YES = 0x01;
149:
150:            // QRYCLSIMP - Target Server must not implicitly close the cursor
151:            // upon SQLSTATE 02000.
152:            static final int QRYCLSIMP_NO = 0x02;
153:
154:            // SQL Error Diagnostic Level
155:            // DIAGLVL0 A null SQLDIAGGRP is returned. This is the default.
156:            // DIAGLVL1 A non-null SQLDIAGGRP should be returned.
157:            // DIAGLVL2 A non-null SQLDIAGGRP should be returned, and both SQLDCMSG
158:            // message text fields should be returned as null strings.
159:            static final byte DIAGLVL0 = (byte) 0xF0;
160:            static final byte DIAGLVL1 = (byte) 0xF1;
161:            static final byte DIAGLVL2 = (byte) 0xF2;
162:
163:            // ----------------------ddm code points--------------------------------------
164:
165:            // Exchange Server Attributes.
166:            final static int EXCSAT = 0x1041;
167:
168:            // Sync Point Control Request.
169:            public final static int SYNCCTL = 0x1055;
170:
171:            // Sync Point Resync Command.
172:            final static int SYNCRSY = 0x1069;
173:
174:            // Access Security.
175:            final static int ACCSEC = 0x106D;
176:
177:            // Security Check.
178:            final static int SECCHK = 0x106E;
179:
180:            // Access RDB.
181:            final static int ACCRDB = 0x2001;
182:
183:            // Close Query.
184:            final static int CLSQRY = 0x2005;
185:
186:            // Continue Query.
187:            final static int CNTQRY = 0x2006;
188:
189:            // Describe SQL Statement.
190:            final static int DSCSQLSTT = 0x2008;
191:
192:            // Execute Immediate SQL Statement.
193:            final static int EXCSQLIMM = 0x200A;
194:
195:            // Execute SQL Statement.
196:            final static int EXCSQLSTT = 0x200B;
197:
198:            // Set SQL Environment.
199:            final static int EXCSQLSET = 0x2014;
200:
201:            // Open Query.
202:            final static int OPNQRY = 0x200C;
203:
204:            // Output override.
205:            final static int OUTOVR = 0x2415;
206:
207:            // Prepare SQL Statement.
208:            final static int PRPSQLSTT = 0x200D;
209:
210:            // RDB Commit Unit of Work.
211:            final static int RDBCMM = 0x200E;
212:
213:            // RDB Rollback Unit of Work.
214:            final static int RDBRLLBCK = 0x200F;
215:
216:            // Describe RDB Table.
217:            final static int DSCRDBTBL = 0x2012;
218:
219:            // SQL Program Variable Data.
220:            final static int SQLDTA = 0x2412;
221:
222:            // SQL Data Reply Data.
223:            public final static int SQLDTARD = 0x2413;
224:
225:            // SQL Statement.
226:            final static int SQLSTT = 0x2414;
227:
228:            // Query Answer Set Description.
229:            public final static int QRYDSC = 0x241A;
230:
231:            // Query Answer Set Data.
232:            public final static int QRYDTA = 0x241B;
233:
234:            // SQL Statement Attributes.
235:            final static int SQLATTR = 0x2450;
236:
237:            // Access Security Reply Data.
238:            // Contains the security information from a target server's
239:            // security manager.  This information is returned in response
240:            // to an ACCSEC command.
241:            static final int ACCSECRD = 0x14AC;
242:
243:            // Agent codepoint constant.
244:            static final int AGENT = 0x1403;
245:
246:            // The codepoint for codepoint
247:            static final int CODPNT = 0x000C;
248:
249:            // CCSID for Double-Byte Characters codepoint constant.
250:            static final int CCSIDDBC = 0x119D;
251:
252:            // CCSID for Mixed-Byte Characters codepoint constant.
253:            static final int CCSIDMBC = 0x119E;
254:
255:            // CCSID for Single-Byte Characters codepoint constant.
256:            static final int CCSIDSBC = 0x119C;
257:
258:            // Describes the communications manager that supports
259:            // conversational protocols by using System Network
260:            // Architecture Logical Unit 6.2 (SNA LU 6.2) local
261:            // communications facilities.
262:            static final int CMNAPPC = 0x1444;
263:
264:            // TCP/IP Communication Manager codepoint constant.  Min. level 5.
265:            static final int CMNTCPIP = 0x1474;
266:
267:            // Correlation Token codepoint constant.
268:            static final int CRRTKN = 0x2135;
269:
270:            // Description Error code
271:            static final int DSCERRCD = 0x2101;
272:
273:            // Server Attributes Reply Data codepoint constant.
274:            static final int EXCSATRD = 0x1443;
275:
276:            // External Name codepoint constant.
277:            static final int EXTNAM = 0x115E;
278:
279:            // Fixed Row Query Protocol.
280:            static final int FIXROWPRC = 0x2418;
281:
282:            // Limited Block Query Protocol.
283:            static final int LMTBLKPRC = 0x2417;
284:
285:            // Maximum Number of Extra Blocks.
286:            static final int MAXBLKEXT = 0x2141;
287:
288:            // Manager Level List codepoint constant.
289:            static final int MGRLVLLS = 0x1404;
290:
291:            // Manager Level Number Attribute constants.
292:            // Specifies the level of a defined DDM manager.
293:            static final int MGRLVLN = 0x1473;
294:
295:            // Password
296:            static final int PASSWORD = 0x11A1;
297:
298:            // Package name & consistency token
299:            static final int PKGNAMCT = 0x2112;
300:
301:            // Conversational Protocol Error Code
302:            static final int PRCCNVCD = 0x113F;
303:
304:            // Product Specific Identifier codepoint constant.
305:            static final int PRDID = 0x112E;
306:
307:            // Product Specific Data
308:            static final int PRDDTA = 0x2104;
309:
310:            // Query Attribute for Scrollability.
311:            static final int QRYATTSCR = 0x2149;
312:
313:            // Query Attribute for Rowset
314:            static final int QRYATTSET = 0x214A;
315:
316:            // Query Attribute for Sensitivity.
317:            static final int QRYATTSNS = 0x2157;
318:
319:            // Query Attribute for Updatability.
320:            static final int QRYATTUPD = 0x2150;
321:
322:            // Query Close Implicit
323:            static final int QRYCLSIMP = 0x215D;
324:
325:            // Query Scroll Orientation.
326:            static final int QRYSCRORN = 0x2152;
327:
328:            // Query Scroll Relative Orientation.
329:            static final int QRYSCRREL = 1;
330:
331:            // Query Scroll Absolute Orientation.
332:            static final int QRYSCRABS = 2;
333:
334:            // Query Scroll After Orientation.
335:            static final int QRYSCRAFT = 3;
336:
337:            // Query Scroll Before Orientation.
338:            static final int QRYSCRBEF = 4;
339:
340:            // Query Instance Identifier
341:            static final int QRYINSID = 0x215B;
342:
343:            // Query Insensitive to Changes
344:            static final int QRYINS = 1;
345:
346:            // Sensitive static
347:            static final int QRYSNSSTC = 0x2;
348:
349:            // Query Attributes is Unknown or Undefined
350:            static final int QRYUNK = 0;
351:
352:            // Query Row Number.
353:            static final int QRYROWNBR = 0x213D;
354:
355:            // Query Block Reset.
356:            static final int QRYBLKRST = 0x2154;
357:
358:            // Query Returns Data.
359:            static final int QRYRTNDTA = 0x2155;
360:
361:            // Query Block Protocol Control
362:            static final int QRYBLKCTL = 0x2132;
363:
364:            // Query Block Size
365:            static final int QRYBLKSZ = 0x2114;
366:
367:            // Query Protocol Type
368:            static final int QRYPRCTYP = 0x2102;
369:
370:            // Query Rowset Size.
371:            static final int QRYROWSET = 0x2156;
372:
373:            // Cursor is Read-only.
374:            static final int QRYRDO = 0x1;
375:
376:            // Cursor Allows Read, Delete, and Update Operations.
377:            static final int QRYUPD = 0x4;
378:
379:            // Relational Database codepoint constant.  Min. level 3.
380:            static final int RDB = 0x240F;
381:
382:            // RDB Access Manager Class.
383:            static final int RDBACCCL = 0x210F;
384:
385:            // RDB Allow Updates
386:            static final int RDBALWUPD = 0x211A;
387:
388:            // Relational Database Name codepoint constant.
389:            static final int RDBNAM = 0x2110;
390:
391:            // Resynchronization Manager.  Min levl 5.
392:            // It is a manager object of DDM that performs
393:            // resynchronization for in-doubt units of work after
394:            // a sync point operation failure.
395:            static final int RSYNCMGR = 0x14C1;
396:
397:            // Retuan SQL Descriptor Area
398:            static final int RTNSQLDA = 0x2116;
399:
400:            // Type of SQL Descriptor Area
401:            static final int TYPSQLDA = 0x2146;
402:
403:            // Security Check Code codepoint constant.
404:            static final int SECCHKCD = 0x11A4;
405:
406:            // Security Mechanism codepoint constant.
407:            static final int SECMEC = 0x11A2;
408:
409:            // Security Manager codepoint constant.
410:            static final int SECMGR = 0x1440;
411:
412:            // Security Token codepoint constant.
413:            static final int SECTKN = 0x11DC;
414:
415:            // SQL Application Manager codepoint constant.  Min. level 3.
416:            static final int SQLAM = 0x2407;
417:
418:            // SQL Communication Area Reply Data codepoint constant.
419:            public static final int SQLCARD = 0x2408;
420:
421:            // SQL Result Set Column Information Reply Data.
422:            public static final int SQLCINRD = 0x240B;
423:
424:            // Hold Cursor Position
425:            static final int SQLCSRHLD = 0x211F;
426:
427:            // SQL Result Set Reply Data.
428:            static final int SQLRSLRD = 0x240E;
429:
430:            // SQLDA Reply Data codepoint constant.
431:            public static final int SQLDARD = 0x2411;
432:
433:            // Server Class Name codepoint constant.
434:            static final int SRVCLSNM = 0x1147;
435:
436:            // Server Name codepoint constant.
437:            static final int SRVNAM = 0x116D;
438:
439:            // Server Product Release Level codepoint constant.
440:            static final int SRVRLSLV = 0x115A;
441:
442:            // Severity Code codepoint constant.
443:            static final int SVRCOD = 0x1149;
444:
445:            // Sync Point Manager.  Min. level 4.
446:            // It is a manager object of DDM that coordinates resource
447:            // recovery of the units of work associated with recoverable
448:            // resources in multiple DDM servers.
449:            static final int SYNCPTMGR = 0x14C0;
450:
451:            // Syntax Error code
452:            static final int SYNERRCD = 0x114A;
453:
454:            // Data Type Definition Name codepoint constant.
455:            public static final int TYPDEFNAM = 0x002F;
456:
457:            // TYPDEF Overrides codepoint constant.
458:            public static final int TYPDEFOVR = 0x0035;
459:
460:            // Unit of Work Disposition codepoint constant.
461:            static final int UOWDSP = 0x2115;
462:
463:            // Unit of Work Disposition.  Committed Enumerated Value.
464:            static final int UOWDSP_COMMIT = 0x01;
465:
466:            // Unit of Work Dispostion. Rolled Back Enumerated Value.
467:            static final int UOWDSP_ROLLBACK = 0x02;
468:
469:            // Usrid codepoint constant.
470:            static final int USRID = 0x11A0;
471:
472:            // Rdb Package Name, Consistency Token, and Section
473:            // Number codepoint constant.
474:            static final int PKGNAMCSN = 0x2113;
475:
476:            // RDB Package Section Number
477:            static final int PKGSN = 0x210C;
478:
479:            // Scalar Data Length
480:            static final int SCLDTALEN = 0x0100;
481:
482:            // XA Manager
483:            static final int XAMGR = 0x1C01;
484:
485:            // SQL Error Diagnostic Level
486:            static final int DIAGLVL = 0x2160;
487:
488:            //-----------------------DDM reply codepoints---------------------------------
489:
490:            // Command Check codepoint constant.
491:            public static final int CMDCHKRM = 0x1254;
492:
493:            // Command Not Supported codepoint constant.
494:            static final int CMDNSPRM = 0x1250;
495:
496:            // Abnormal End of Unit of Work Condition codepoint constant.
497:            static final int ABNUOWRM = 0x220D;
498:
499:            // Access to RDB Completed.
500:            // Specifies that an instance of the SQL application manager
501:            // has been created and is bound to the specified RDB.
502:            static final int ACCRDBRM = 0x2201;
503:
504:            final static int MGRLVLRM = 0x1210;
505:
506:            // End Unit of Work Condition codepoint constant.
507:            static final int ENDUOWRM = 0x220C;
508:
509:            // Object Not Supported codepoint constant.
510:            static final int OBJNSPRM = 0x1253;
511:
512:            // Conversational Protocol Error
513:            public static final int PRCCNVRM = 0x1245;
514:
515:            // Query not open codepoint constant.
516:            static final int QRYNOPRM = 0x2202;
517:
518:            // Query previously opened codepoint
519:            static final int QRYPOPRM = 0x220F;
520:
521:            // RDB Currently Accessed Codepoint
522:            static final int RDBACCRM = 0x2207;
523:
524:            // RDB Commit Allowed codepoint
525:            static final int RDBCMTOK = 0x2105;
526:
527:            // Security Check.
528:            // Indicates the acceptability of the security information.
529:            static final int SECCHKRM = 0x1219;
530:
531:            // RDB Access Failed Reply Message codepoint
532:            static final int RDBAFLRM = 0x221A;
533:
534:            // Not Authorized To RDB reply message codepoint
535:            static final int RDBATHRM = 0x22CB;
536:
537:            // RDB Not Accessed codepoint constant.
538:            static final int RDBNACRM = 0x2204;
539:
540:            // RDB not found codepoint
541:            static final int RDBNFNRM = 0x2211;
542:
543:            // RDB Update Reply Message codepoint constant.
544:            static final int RDBUPDRM = 0x2218;
545:
546:            // Data Stream Syntax Error
547:            public static final int SYNTAXRM = 0x124C;
548:
549:            // Parameter Value Not Supported codepoint constant.
550:            public static final int VALNSPRM = 0x1252;
551:
552:            // SQL Error Condition codepoint constant.
553:            static final int SQLERRRM = 0x2213;
554:
555:            // Open Query Complete.
556:            public final static int OPNQRYRM = 0x2205;
557:
558:            // End of Query.
559:            public final static int ENDQRYRM = 0x220B;
560:
561:            // Data Descriptor Mismatch.
562:            final static int DTAMCHRM = 0x220E;
563:
564:            // Open Query Failure.
565:            final static int OPNQFLRM = 0x2212;
566:
567:            // RDB Result Set Reply Message.
568:            public final static int RSLSETRM = 0x2219;
569:
570:            // Manager Level Overrides
571:            public static final int MGRLVLOVR = 0x1C03;
572:
573:            //----------------------------fdoca code points-------------------------------
574:
575:            static final int RTNEXTDTA = 0x2148;
576:            static final int RTNEXTROW = 0x01;
577:            static final int RTNEXTALL = 0x02;
578:
579:            // Externalized FD:OCA Data codepoint constant.
580:            public static final int EXTDTA = 0x146C;
581:
582:            // FDOCA data descriptor
583:            static final int FDODSC = 0x0010;
584:
585:            // FDOCA data
586:            static final int FDODTA = 0x147A;
587:
588:            //--------------------------ddm error code points---------------------------------
589:            // Syntax Error Code.  DSS header length less than 6.
590:            static int SYNERRCD_DSS_LESS_THAN_6 = 0x01;
591:
592:            // Syntax Error Code.  DSS header length does not match the number of
593:            // bytes of data found.
594:            static int SYNERRCD_DSS_LENGTH_BYTE_NUMBER_MISMATCH = 0x02;
595:
596:            // Syntax Error Code.  DSS header C-byte not D0.
597:            static int SYNERRCD_CBYTE_NOT_D0 = 0x03;
598:
599:            // Syntax Error Code.  DSS header f-bytes either not recognized or not supported.
600:            static int SYNERRCD_FBYTE_NOT_SUPPORTED = 0x04;
601:
602:            // Syntax Error Code.  Object length less than four.
603:            static int SYNERRCD_OBJ_LEN_LESS_THAN_4 = 0x07;
604:
605:            // Syntax Error Code.  Object length not allowed.
606:            static int SYNERRCD_OBJ_LEN_NOT_ALLOWED = 0x0B;
607:
608:            // Syntax Error Code.  Required object not found.
609:            static int SYNERRCD_REQ_OBJ_NOT_FOUND = 0x0E;
610:
611:            // Syntax Error Code.  Duplicate object present.
612:            static int SYNERRCD_DUP_OBJ_PRESENT = 0x12;
613:
614:            // Syntax Error Code.  Invalid request correlator specified.
615:            static int SYNERRCD_INVALID_CORRELATOR = 0x13;
616:
617:            // Syntax Error Code.  Incorrect large object extended length field.
618:            static int SYNERRCD_INCORRECT_EXTENDED_LEN = 0x0C;
619:
620:            // Syntax Error Code.  DSS continuation less than or equal to two.
621:            static int SYNERRCD_DSS_CONT_LESS_OR_EQUAL_2 = 0x16;
622:
623:            // Syntax Error Code.  DSS chaining bit not b'1', but DSSFMT bit3 set to b'1'.
624:            static int SYNERRCD_CHAIN_OFF_SAME_NEXT_CORRELATOR = 0x18;
625:
626:            // Syntax Error Code.  DSS chaining bit not b'1', but error continuation requested.
627:            static int SYNERRCD_CHAIN_OFF_ERROR_CONTINUE = 0x1A;
628:
629:            // Conversational Protocol Error Code.  OBJDSS sent when not allowed.
630:            static int PRCCNVCD_OBJDSS_SENT_NOT_ALLOWED = 0x03;
631:
632:            // Information Only Severity Code.
633:            static int SVRCOD_INFO = 0;
634:
635:            // Warning Severity Code.
636:            static int SVRCOD_WARNING = 4;
637:
638:            // Error Severity Code.
639:            static int SVRCOD_ERROR = 8;
640:
641:            // Severe Error Severity Code.
642:            static int SVRCOD_SEVERE = 16;
643:
644:            // Access Damage Severity Code.
645:            static int SVRCOD_ACCDMG = 32;
646:
647:            // Permanent Damage Severity Code.
648:            static int SVRCOD_PRMDMG = 64;
649:
650:            // Session Damage Severity Code.
651:            static int SVRCOD_SESDMG = 128;
652:
653:            //--------------------------XA code points---------------------------
654:
655:            // SYNC Point Control Reply
656:            public static final int SYNCCRD = 0x1248;
657:
658:            // XA Return Value
659:            public static final int XARETVAL = 0x1904;
660:
661:            // new unit of work for XA
662:            public static final int SYNCTYPE_NEW_UOW = 0x09;
663:
664:            // End unit of work (Sync type).
665:            public static final int SYNCTYPE_END_UOW = 0x0B;
666:
667:            // Prepare to commit (Sync type).
668:            public static final int SYNCTYPE_PREPARE = 0x01;
669:
670:            // migrate to resync server sync type
671:            public static final int SYNCTYPE_MIGRATE = 0x02;
672:
673:            // commit sync type
674:            public static final int SYNCTYPE_COMMITTED = 0x03;
675:
676:            // request to forget sync type
677:            public static final int SYNCTYPE_REQ_FORGET = 0x06;
678:
679:            //rollback sync type
680:            public static final int SYNCTYPE_ROLLBACK = 0x04;
681:
682:            // migrated unit of work sync type
683:            public static final int SYNCTYPE_MIGRATED = 0x0A;
684:
685:            //recover sync type
686:            public static final int SYNCTYPE_INDOUBT = 0x0C;
687:
688:            // Length Codepoint
689:            public static final int LLCP = 0x0004;
690:
691:            // SYNC Type Codepoint
692:            public static final int SYNCTYPE = 0x1187;
693:
694:            // XId Codepoint
695:            public static final int XID = 0x1801;
696:
697:            // XA Flag Codepoint
698:            public static final int XAFLAGS = 0x1903;
699:
700:            // Resync Types
701:            public static final int RSYNC_FORGET = 0x02;
702:
703:            // UOW States
704:            public static final int RESET_STATE = 0x01;
705:            public static final int UNKNOWN_STATE = 0x3;
706:            public static final int INDOUBT_STATE = 0x04;
707:            public static final int COLD_STATE = 0x05;
708:
709:            // XA Flags
710:            public static final int TMNOFLAGS = 0x00000000;
711:            public static final int TMLOCAL = 0x10000000;
712:
713:            // Prepared and hueristic complete list
714:            static final int PRPHRCLST = 0x1905;
715:
716:            // XID count
717:            static final int XIDCNT = 0x1906;
718:
719:            // hide the default constructor
720:            private CodePoint() {
721:            }
722:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.