1 17 package org.alfresco.filesys.netbios.server; 18 19 import org.alfresco.filesys.netbios.NetBIOSName; 20 21 24 public class NetBIOSNameEvent 25 { 26 29 30 public static final int ADD_SUCCESS = 0; public static final int ADD_FAILED = 1; public static final int ADD_DUPLICATE = 2; public static final int ADD_IOERROR = 3; public static final int QUERY_NAME = 4; public static final int REGISTER_NAME = 5; public static final int REFRESH_NAME = 6; public static final int REFRESH_IOERROR = 7; 39 42 43 private NetBIOSName m_name; 44 45 48 49 private int m_status; 50 51 57 protected NetBIOSNameEvent(NetBIOSName name, int sts) 58 { 59 m_name = name; 60 m_status = sts; 61 } 62 63 68 public final NetBIOSName getNetBIOSName() 69 { 70 return m_name; 71 } 72 73 78 public final int getStatus() 79 { 80 return m_status; 81 } 82 } | Popular Tags |