org.gnu.jcifs
Class CifsServerInfo

java.lang.Object
  |
  +--org.gnu.jcifs.CifsServerInfo

public final class CifsServerInfo
extends java.lang.Object


Field Summary
(package private)  java.lang.String fComment
           
(package private)  java.lang.String fComputerName
           
(package private)  int fMajorVersion
           
(package private)  int fMinorVersion
           
(package private)  int fType
           
static int SV_TYPE_AFP
          Apple File Protocol servers
static int SV_TYPE_ALL
          Enum all server types
static int SV_TYPE_BACKUP_BROWSER
          Backup browser server
static int SV_TYPE_DIALIN_SERVER
          Server running dialin service.
static int SV_TYPE_DOMAIN_BAKCTRL
          Backup domain controller
static int SV_TYPE_DOMAIN_CTRL
          Primary domain controller
static int SV_TYPE_DOMAIN_ENUM
          Enumerate Domains
static int SV_TYPE_DOMAIN_MASTER
          EDomain Master Browser server
static int SV_TYPE_DOMAIN_MEMBER
          Domain Member
static int SV_TYPE_LOCAL_LIST_ONLY
          Enumerate only entries marked "local"
static int SV_TYPE_MASTER_BROWSER
          Master browser server
static int SV_TYPE_NOVELL
          Novell servers
static int SV_TYPE_NT
          NT server
static int SV_TYPE_POTENTIAL_BROWSER
          Server that can run the browser service
static int SV_TYPE_PRINTQ_SERVER
          Server sharing print queue
static int SV_TYPE_SERVER
          Enum servers
static int SV_TYPE_SERVER_NT
          Windows NT non DC server
static int SV_TYPE_SQLSERVER
          Enum any server running with SQL server
static int SV_TYPE_TIME_SOURCE
          Server running the timesource service
static int SV_TYPE_WFW
          Server running Windows for Workgroups
static int SV_TYPE_WORKSTATION
          Enum all workstations
static int SV_TYPE_XENIX_SERVER
          Xenix server
 
Constructor Summary
CifsServerInfo()
           
 
Method Summary
 java.lang.String getComment()
          If the getType() indicates that the entry is for a domain, this specifies the name of the domain master browser; otherwise, it specifies a comment describing the server.
 java.lang.String getComputerName()
          the name of a computer
 int getMajorVersion()
          the major version number of the networking software the workstation is running.
 int getMinorVersion()
          the minor version number of the networking software the workstation is running.
 int getType()
          the type of software the computer is running (see SW_*)
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SV_TYPE_ALL

public static final int SV_TYPE_ALL
Enum all server types

SV_TYPE_WORKSTATION

public static final int SV_TYPE_WORKSTATION
Enum all workstations

SV_TYPE_SERVER

public static final int SV_TYPE_SERVER
Enum servers

SV_TYPE_SQLSERVER

public static final int SV_TYPE_SQLSERVER
Enum any server running with SQL server

SV_TYPE_DOMAIN_CTRL

public static final int SV_TYPE_DOMAIN_CTRL
Primary domain controller

SV_TYPE_DOMAIN_BAKCTRL

public static final int SV_TYPE_DOMAIN_BAKCTRL
Backup domain controller

SV_TYPE_TIME_SOURCE

public static final int SV_TYPE_TIME_SOURCE
Server running the timesource service

SV_TYPE_AFP

public static final int SV_TYPE_AFP
Apple File Protocol servers

SV_TYPE_NOVELL

public static final int SV_TYPE_NOVELL
Novell servers

SV_TYPE_DOMAIN_MEMBER

public static final int SV_TYPE_DOMAIN_MEMBER
Domain Member

SV_TYPE_PRINTQ_SERVER

public static final int SV_TYPE_PRINTQ_SERVER
Server sharing print queue

SV_TYPE_DIALIN_SERVER

public static final int SV_TYPE_DIALIN_SERVER
Server running dialin service.

SV_TYPE_XENIX_SERVER

public static final int SV_TYPE_XENIX_SERVER
Xenix server

SV_TYPE_NT

public static final int SV_TYPE_NT
NT server

SV_TYPE_WFW

public static final int SV_TYPE_WFW
Server running Windows for Workgroups

SV_TYPE_SERVER_NT

public static final int SV_TYPE_SERVER_NT
Windows NT non DC server

SV_TYPE_POTENTIAL_BROWSER

public static final int SV_TYPE_POTENTIAL_BROWSER
Server that can run the browser service

SV_TYPE_BACKUP_BROWSER

public static final int SV_TYPE_BACKUP_BROWSER
Backup browser server

SV_TYPE_MASTER_BROWSER

public static final int SV_TYPE_MASTER_BROWSER
Master browser server

SV_TYPE_DOMAIN_MASTER

public static final int SV_TYPE_DOMAIN_MASTER
EDomain Master Browser server

SV_TYPE_LOCAL_LIST_ONLY

public static final int SV_TYPE_LOCAL_LIST_ONLY
Enumerate only entries marked "local"

SV_TYPE_DOMAIN_ENUM

public static final int SV_TYPE_DOMAIN_ENUM
Enumerate Domains

fComputerName

java.lang.String fComputerName

fMajorVersion

int fMajorVersion

fMinorVersion

int fMinorVersion

fType

int fType

fComment

java.lang.String fComment
Constructor Detail

CifsServerInfo

public CifsServerInfo()
Method Detail

getComputerName

public java.lang.String getComputerName()
the name of a computer

getComment

public java.lang.String getComment()
If the getType() indicates that the entry is for a domain, this specifies the name of the domain master browser; otherwise, it specifies a comment describing the server. The comment can be a null string

getType

public int getType()
the type of software the computer is running (see SW_*)

getMajorVersion

public int getMajorVersion()
the major version number of the networking software the workstation is running.

getMinorVersion

public int getMinorVersion()
the minor version number of the networking software the workstation is running.