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.dcerpc; 18 19 /** 20 * Wkssvc Operation Ids Class 21 */ 22 public class Wkssvc 23 { 24 // Wkssvc opcodes 25 26 public static final int NetWkstaGetInfo = 0x00; 27 28 /** 29 * Convert an opcode to a function name 30 * 31 * @param opCode int 32 * @return String 33 */ 34 public final static String getOpcodeName(int opCode) 35 { 36 String ret = ""; 37 switch (opCode) 38 { 39 case NetWkstaGetInfo: 40 ret = "NetWkstaGetInfo"; 41 break; 42 } 43 return ret; 44 } 45 } 46