public class ServerType extends Object
Defines server type flags that may be returned in a ServerInfo object.
Modifier and Type | Field and Description |
---|---|
static int |
AFPServer |
static int |
AlternateXport |
static int |
BackupBrowser |
static int |
DCEServer |
static int |
DFSRoot |
static int |
DialinServer |
static int |
DomainBakCtrl |
static int |
DomainCtrl |
static int |
DomainEnum |
static int |
DomainMaster |
static int |
DomainMember |
static int |
LocalListOnly |
static int |
MasterBrowser |
static int |
MFPNServer |
static int |
NovellServer |
static int |
NTCluster |
static int |
NTNonDCServer |
static int |
NTServer |
static int |
OSFServer |
static int |
PotentialBrowse |
static int |
PrintServer |
static int |
Server |
static int |
SQLServer |
static int |
TerminalServer |
static int |
TimeSource |
static int |
UnixServer |
static int |
VMSServer |
static int |
WfwServer |
static int |
Win95Plus |
static int |
WorkStation |
Constructor and Description |
---|
ServerType() |
Modifier and Type | Method and Description |
---|---|
static boolean |
isAFPServer(int typ)
Check if the AFP server flag is set
|
static boolean |
isBackupBrowser(int typ)
Check if the backup browser flag is set
|
static boolean |
isBackupDomainController(int typ)
Check if the backup domain controller flag is set
|
static boolean |
isBrowserMaster(int typ)
Check if the browse master flag is set
|
static boolean |
isDCEServer(int typ)
Check if the DCE server flag is set
|
static boolean |
isDFSRoot(int typ)
Check if the DFS root flag is set
|
static boolean |
isDialinServer(int typ)
Check if the dialin server flag is set
|
static boolean |
isDomainController(int typ)
Check if the domain controller flag is set
|
static boolean |
isDomainMaster(int typ)
Check if the domain master flag is set
|
static boolean |
isDomainMember(int typ)
Check if the domain member flag is set
|
static boolean |
isMFPNServer(int typ)
Check if the MFPN server flag is set
|
static boolean |
isNovellServer(int typ)
Check if the Novell server flag is set
|
static boolean |
isNTCluster(int typ)
Check if the NT cluster flag is set
|
static boolean |
isNTNonDomainServer(int typ)
Check if the NT non-domain controller server flag is set
|
static boolean |
isNTServer(int typ)
Check if the NT server flag is set
|
static boolean |
isOSFServer(int typ)
Check if the OSF server flag is set
|
static boolean |
isPotentialBrowseMaster(int typ)
Check if the potential browse master flag is set
|
static boolean |
isPrintServer(int typ)
Check if the print server flag is set
|
static boolean |
isServer(int typ)
Check if the server flag is set
|
static boolean |
isSQLServer(int typ)
Check if the SQL server flag is set
|
static boolean |
isTerminalServer(int typ)
Check if the terminal server flag is set
|
static boolean |
isTimeSource(int typ)
Check if the time source flag is set
|
static boolean |
isUnixServer(int typ)
Check if the Unix server flag is set
|
static boolean |
isVMSServer(int typ)
Check if the VMS server flag is set
|
static boolean |
isWFWServer(int typ)
Check if the WFW server flag is set
|
static boolean |
isWin95Plus(int typ)
Check if the Win95 plus flag is set
|
static boolean |
isWorkStation(int typ)
Check if the workstation flag is set
|
static StringList |
TypeAsStrings(int typ)
Convert server type flags to a list of server type strings
|
public static final int WorkStation
public static final int Server
public static final int SQLServer
public static final int DomainCtrl
public static final int DomainBakCtrl
public static final int TimeSource
public static final int AFPServer
public static final int NovellServer
public static final int DomainMember
public static final int PrintServer
public static final int DialinServer
public static final int UnixServer
public static final int NTServer
public static final int WfwServer
public static final int MFPNServer
public static final int NTNonDCServer
public static final int PotentialBrowse
public static final int BackupBrowser
public static final int MasterBrowser
public static final int DomainMaster
public static final int OSFServer
public static final int VMSServer
public static final int Win95Plus
public static final int DFSRoot
public static final int NTCluster
public static final int TerminalServer
public static final int DCEServer
public static final int AlternateXport
public static final int LocalListOnly
public static final int DomainEnum
public static final StringList TypeAsStrings(int typ)
typ
- intpublic static final boolean isWorkStation(int typ)
typ
- intpublic static final boolean isServer(int typ)
typ
- intpublic static final boolean isSQLServer(int typ)
typ
- intpublic static final boolean isDomainController(int typ)
typ
- intpublic static final boolean isBackupDomainController(int typ)
typ
- intpublic static final boolean isTimeSource(int typ)
typ
- intpublic static final boolean isAFPServer(int typ)
typ
- intpublic static final boolean isNovellServer(int typ)
typ
- intpublic static final boolean isDomainMember(int typ)
typ
- intpublic static final boolean isPrintServer(int typ)
typ
- intpublic static final boolean isDialinServer(int typ)
typ
- intpublic static final boolean isUnixServer(int typ)
typ
- intpublic static final boolean isNTServer(int typ)
typ
- intpublic static final boolean isWFWServer(int typ)
typ
- intpublic static final boolean isMFPNServer(int typ)
typ
- intpublic static final boolean isNTNonDomainServer(int typ)
typ
- intpublic static final boolean isPotentialBrowseMaster(int typ)
typ
- intpublic static final boolean isBackupBrowser(int typ)
typ
- intpublic static final boolean isBrowserMaster(int typ)
typ
- intpublic static final boolean isDomainMaster(int typ)
typ
- intpublic static final boolean isOSFServer(int typ)
typ
- intpublic static final boolean isVMSServer(int typ)
typ
- intpublic static final boolean isWin95Plus(int typ)
typ
- intpublic static final boolean isDFSRoot(int typ)
typ
- intpublic static final boolean isNTCluster(int typ)
typ
- intpublic static final boolean isTerminalServer(int typ)
typ
- intpublic static final boolean isDCEServer(int typ)
typ
- intCopyright © 2005–2017 Alfresco Software. All rights reserved.