KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > alfresco > filesys > smb > Capability


1 /*
2  * Copyright (C) 2005 Alfresco, Inc.
3  *
4  * Licensed under the Mozilla Public License version 1.1
5  * with a permitted attribution clause. You may obtain a
6  * copy of the License at
7  *
8  * http://www.alfresco.org/legal/license.txt
9  *
10  * Unless required by applicable law or agreed to in writing,
11  * software distributed under the License is distributed on an
12  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13  * either express or implied. See the License for the specific
14  * language governing permissions and limitations under the
15  * License.
16  */

17 package org.alfresco.filesys.smb;
18
19 /**
20  * SMB Capabilities Class
21  * <p>
22  * Contains the capability flags for the client/server during a session setup.
23  *
24  * @author GKSpencer
25  */

26 public class Capability
27 {
28     // Capabilities
29

30     public static final int RawMode = 0x00000001;
31     public static final int MpxMode = 0x00000002;
32     public static final int Unicode = 0x00000004;
33     public static final int LargeFiles = 0x00000008;
34     public static final int NTSMBs = 0x00000010;
35     public static final int RemoteAPIs = 0x00000020;
36     public static final int NTStatus = 0x00000040;
37     public static final int Level2Oplocks = 0x00000080;
38     public static final int LockAndRead = 0x00000100;
39     public static final int NTFind = 0x00000200;
40     public static final int DFS = 0x00001000;
41     public static final int InfoPassthru = 0x00002000;
42     public static final int LargeRead = 0x00004000;
43     public static final int LargeWrite = 0x00008000;
44     public static final int UnixExtensions = 0x00800000;
45     public static final int BulkTransfer = 0x20000000;
46     public static final int CompressedData = 0x40000000;
47     public static final int ExtendedSecurity = 0x80000000;
48 }
49
Popular Tags