KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > derby > client > net > DssConstants


1 /*
2
3    Derby - Class org.apache.derby.client.net.DssConstants
4
5    Licensed to the Apache Software Foundation (ASF) under one or more
6    contributor license agreements. See the NOTICE file distributed with
7    this work for additional information regarding copyright ownership.
8    The ASF licenses this file to You under the Apache License, Version 2.0
9    (the "License"); you may not use this file except in compliance with
10    the License. You may obtain a copy of the License at
11
12       http://www.apache.org/licenses/LICENSE-2.0
13
14    Unless required by applicable law or agreed to in writing, software
15    distributed under the License is distributed on an "AS IS" BASIS,
16    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17    See the License for the specific language governing permissions and
18    limitations under the License.
19
20 */

21
22 package org.apache.derby.client.net;
23
24 class DssConstants {
25     static final int MAX_DSS_LEN = 32767;
26
27     // Registered SNA GDS identifier indicating DDM data (xD0 for DDM data).
28
static final int GDS_ID = 0xD0;
29
30     // GDS chaining bits.
31
static final int GDSCHAIN = 0x40;
32
33     // GDS chaining bits where next DSS has different correlation ID.
34
static final int GDSCHAIN_SAME_ID = 0x10;
35
36     // GDS formatter for an Encrypted OBJDSS.
37
static final int GDSFMT_ENCOBJDSS = 0x04;
38
39     // GDS formatter for an OBJDSS.
40
static final int GDSFMT_OBJDSS = 0x03;
41
42     // GDS formatter for an RPYDSS.
43
static final int GDSFMT_RPYDSS = 0x02;
44
45     // GDS formatter for an RQSDSS.
46
static final int GDSFMT_RQSDSS = 0x01;
47
48
49     // GDS formatter for an RQSDSS without a reply.
50
static final int GDSFMT_RQSDSS_NOREPLY = 0x05;
51
52     static final byte RQST_CHN_DIFFCOR_CONT = (byte) 0x61;
53     static final byte RQST_CHN_DIFFCOR_NOCONT = (byte) 0x41;
54     static final byte RQST_CHN_SAMECOR_CONT = (byte) 0x71;
55     static final byte RQST_CHN_SAMECOR_NOCONT = (byte) 0x51;
56     static final byte RQST_NOCHN_CONT = (byte) 0x21;
57     static final byte RQST_NOCHN_NOCONT = (byte) 0x01;
58
59     static final byte RPY_CHN_DIFFCOR_CONT = (byte) 0x62;
60     static final byte RPY_CHN_DIFFCOR_NOCONT = (byte) 0x42;
61     static final byte RPY_CHN_SAMECOR_CONT = (byte) 0x72;
62     static final byte RPY_CHN_SAMECOR_NOCONT = (byte) 0x52;
63     static final byte RPY_NOCHN_CONT = (byte) 0x22;
64     static final byte RPY_NOCHN_NOCONT = (byte) 0x02;
65
66     // hide the default constructor
67
private DssConstants() {
68     }
69 }
70
Popular Tags