FileDocCategorySizeDatePackage
MsrpcDfsRootEnum.javaAPI DocJCIFS 1.3.17 API1645Tue Oct 18 15:26:24 BST 2011jcifs.dcerpc.msrpc

MsrpcDfsRootEnum

public class MsrpcDfsRootEnum extends netdfs.NetrDfsEnumEx

Fields Summary
Constructors Summary
public MsrpcDfsRootEnum(String server)

        super(server, 200, 0xFFFF, new netdfs.DfsEnumStruct(), new NdrLong(0));
        info.level = level;
        info.e = new netdfs.DfsEnumArray200();
        ptype = 0;
        flags = DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG;
    
Methods Summary
public FileEntry[]getEntries()

        netdfs.DfsEnumArray200 a200 = (netdfs.DfsEnumArray200)info.e;
        SmbShareInfo[] entries = new SmbShareInfo[a200.count];
        for (int i = 0; i < a200.count; i++) {
            entries[i] = new SmbShareInfo(a200.s[i].dfs_name, 0, null);
        }
        return entries;