java.lang.Object
org.codelibs.jcifs.smb1.dcerpc.ndr.NdrObject
org.codelibs.jcifs.smb1.dcerpc.DcerpcMessage
org.codelibs.jcifs.smb1.dcerpc.msrpc.netdfs.NetrDfsEnumEx
- All Implemented Interfaces:
DcerpcConstants
- Direct Known Subclasses:
MsrpcDfsRootEnum
- Enclosing class:
- netdfs
DCE/RPC message for NetrDfsEnumEx operation to enumerate DFS entries
-
Field Summary
FieldsModifier and TypeFieldDescriptionDFS name to enumerateDFS enumeration structure containing resultsintInformation level for enumerationintPreferred maximum length of returned dataintReturn value from the RPC callTotal number of entries availableFields inherited from class org.codelibs.jcifs.smb1.dcerpc.DcerpcMessage
alloc_hint, call_id, flags, length, ptype, resultFields inherited from interface org.codelibs.jcifs.smb1.dcerpc.DcerpcConstants
DCERPC_CONC_MPX, DCERPC_DID_NOT_EXECUTE, DCERPC_FIRST_FRAG, DCERPC_LAST_FRAG, DCERPC_MAYBE, DCERPC_OBJECT_UUID, DCERPC_PENDING_CANCEL, DCERPC_RESERVED_1, DCERPC_UUID_SYNTAX_NDR -
Constructor Summary
ConstructorsConstructorDescriptionNetrDfsEnumEx(String dfs_name, int level, int prefmaxlen, netdfs.DfsEnumStruct info, NdrLong totalentries) Constructs a NetrDfsEnumEx request -
Method Summary
Modifier and TypeMethodDescriptionvoiddecode_out(NdrBuffer _src) Decode the output parameters from this DCERPC message.voidEncode the input parameters for this DCERPC message.intgetOpnum()Get the operation number for this DCERPC message.
-
Field Details
-
retval
public int retvalReturn value from the RPC call -
dfs_name
DFS name to enumerate -
level
public int levelInformation level for enumeration -
prefmaxlen
public int prefmaxlenPreferred maximum length of returned data -
info
DFS enumeration structure containing results -
totalentries
Total number of entries available
-
-
Constructor Details
-
NetrDfsEnumEx
public NetrDfsEnumEx(String dfs_name, int level, int prefmaxlen, netdfs.DfsEnumStruct info, NdrLong totalentries) Constructs a NetrDfsEnumEx request- Parameters:
dfs_name- the DFS name to enumeratelevel- the information levelprefmaxlen- the preferred maximum lengthinfo- the enumeration structuretotalentries- holder for total entries count
-
-
Method Details
-
getOpnum
public int getOpnum()Description copied from class:DcerpcMessageGet the operation number for this DCERPC message.- Specified by:
getOpnumin classDcerpcMessage- Returns:
- the operation number
-
encode_in
Description copied from class:DcerpcMessageEncode the input parameters for this DCERPC message.- Specified by:
encode_inin classDcerpcMessage- Parameters:
_dst- the buffer to encode into- Throws:
NdrException- if encoding fails
-
decode_out
Description copied from class:DcerpcMessageDecode the output parameters from this DCERPC message.- Specified by:
decode_outin classDcerpcMessage- Parameters:
_src- the buffer to decode from- Throws:
NdrException- if decoding fails
-